99% Chimpanzee - 1% Human

Wed, 08 Feb 2006

ZopeEditManager 0.9.7

I'm pleased to announce the release of ZopeEditManager 0.9.7.

ZopeEditManager is a native Cocoa application that provides ExternalEditor functionality for Mac OS X users. Written using the PyObjC bindings, it extends the original work done by Casey Duncan, and makes it possible for Mac users to get the most out of this incredibly useful package.

This release fixes a few long-standing bugs:

  • When ZopeEditManager is quit, it will now try to cleanup the locks on all its documents, so they aren't left locked on the server.
  • A crash could occur when clicking the column headers in the main display.

You can download it in binary or source form.

[10:26] | [software] | [#] | [G] | [Comments: 26]
Hi,

just a brief question, how do I configure ZopeEditManager such as that Word (Office 2004 for Manintosh) is invoced for .doc files? I have tried "application/msword - Word - .doc" in the Helper Application tab, but it did not work. Using ZopeEditManager 0.97 on Zope 2.8 and Plone 2.1 RC1.

Olaf
Posted by Olaf Mueller-Michaels at Tue Aug 2 09:33:36 2005

I get the following error message:

File "/Applications/ZopeEditManager.app/Contents/Resources/_boot_.py", line 31, in ?
  _run('ZopeEditManagerAppDelegate.py')
  File "/Applications/ZopeEditManager.app/Contents/Resources/_boot_.py", line 28, in _run
  execfile(path, globals(), globals())
  File "/Applications/ZopeEditManager.app/Contents/Resources/ZopeEditManagerAppDelegate.py", line 223, in ?
  AppHelper.runEventLoop(argv=[])
  File "PyObjCTools/AppHelper.pyc", line 246, in runEventLoop
  File "PyObjCTools/AppHelper.pyc", line 134, in unexpectedErrorAlertPanel
  File "/Applications/ZopeEditManager.app/Contents/Resources/ZopeEditManagerAppDelegate.py", line 62, in application_openFile_
  zopeDoc = ZopeDocument(filename)
  File "ZopeDocument.pyc", line 41, in _init_
  File "ZopeDocument.pyc", line 124, in getMetadataAndContents
ValueError: unpack list of wrong size
2005-08-02 11:42:01.971 ZopeEditManager[13923] ZopeEditManager Error
2005-08-02 11:42:01.972 ZopeEditManager[13923] An unexpected error has occurred during execution of the main script

ValueError: unpack list of wrong size
Posted by Olaf Mueller-Michaels at Tue Aug 2 09:49:20 2005

I tested the external edit function with a Windows client. It is also not working with Plone 2.1 RC1.

On Plone 2.05, however, the latest Windows External Editor client works flawlessly with MS Word documents. With ZopeEditManager 0.97 I still had no success, though. This time, the document showed up in the program, citing "Word" as external editor, but Word does not start, thus no editing possible.

Any ideas?
Posted by Olaf Mueller-Michaels at Tue Aug 2 16:27:27 2005

Olaf: That should be all you need. I have mine set up similarly, and have encountered no problems editing Word documents. I don't use Plone, though, so I'm not sure what issues might arise there.
Posted by Zachery Bir at Tue Aug 2 16:53:39 2005

I get the following error message:

File "/Applications/ZopeEditManager.app/Contents/Resources/_boot_.py", line 31, in ?
  _run('ZopeEditManagerAppDelegate.py')
  File "/Applications/ZopeEditManager.app/Contents/Resources/_boot_.py", line 28, in _run
  execfile(path, globals(), globals())
  File "/Applications/ZopeEditManager.app/Contents/Resources/ZopeEditManagerAppDelegate.py", line 223, in ?
  AppHelper.runEventLoop(argv=[])
  File "PyObjCTools/AppHelper.pyc", line 246, in runEventLoop
  File "PyObjCTools/AppHelper.pyc", line 134, in unexpectedErrorAlertPanel
  File "/Applications/ZopeEditManager.app/Contents/Resources/ZopeEditManagerAppDelegate.py", line 62, in application_openFile_
  zopeDoc = ZopeDocument(filename)
  File "ZopeDocument.pyc", line 41, in _init_
  File "ZopeDocument.pyc", line 124, in getMetadataAndContents
ValueError: unpack list of wrong size
2005-08-02 11:42:01.971 ZopeEditManager[13923] ZopeEditManager Error
2005-08-02 11:42:01.972 ZopeEditManager[13923] An unexpected error has occurred during execution of the main script

ValueError: unpack list of wrong size
Posted by Olaf Mueller-Michaels at Tue Aug 2 16:57:19 2005

Zachery: Thanks for the prompt response. I tried to use the edit function from directly within the ZMI. The result is the same. ZEM is starting up, showing the document and the "Word" entry, but does not start Word. How can I edit the configuration file, which the program actually uses? I cannot find any config file, neither in my home directory nor in the applications folder. Btw, using Firefox 1.06.

Olaf
Posted by Olaf Mueller-Michaels at Tue Aug 2 17:04:04 2005

Olaf: the preference file lives where other Mac OS X app preferences (ought to) live: ~/Library/Preferences/com.urbanape.zopeeditmanager.plist

First, though, I would check the output in Console.app and see if it gives any info as to why it's not launching Word.
Posted by Zachery Bir at Tue Aug 2 17:13:35 2005

Zachery: Thanks for the prompt response. I tried to use the edit function from directly within the ZMI. The result is the same. ZEM is starting up, showing the document and the "Word" entry, but does not start Word. How can I edit the configuration file, which the program actually uses? I cannot find any config file, neither in my home directory nor in the applications folder. Btw, using Firefox 1.06.

Olaf
Posted by Olaf Mueller-Michaels at Tue Aug 2 17:18:17 2005

Zachery: Thanks for the prompt response. I tried to use the edit function from directly within the ZMI. The result is the same. ZEM is starting up, showing the document and the "Word" entry, but does not start Word. How can I edit the configuration file, which the program actually uses? I cannot find any config file, neither in my home directory nor in the applications folder. Btw, using Firefox 1.06.

Olaf
Posted by Olaf Mueller-Michaels at Tue Aug 2 20:37:09 2005

ZEM does not find the path to MS Word and Acrobat Reader. See the example for Acrobat Reader:

2005-08-02 23:09:43.955 ZopeEditManager[14282] Opening Application
2005-08-02 23:09:45.690 ZopeEditManager[14282] LSOpenFromURLSpec() returned -10827 for application Acroread path /tmp/tmp.AH73wG-www.mueller-michaels.net,9764,DMS,Dokumente,bz_Miniboersengaenge.pdf.

I made a symlink from Acrobat Reader 6.0 to Acroread.app. Acrobat Reader 6.0 sits in the subfolder Acrobat Reader 6.0 of the Applications folder. Same for Word (symlinked from the MS Office folder). The symlinks work, if I double click on them.

.pdf works fine with Apple's built in Preview app. Also, .txt files work with SubEthaEdit.

I am clueless. Maybe, it is because I use Tiger in German? But the system folders are called the same as in the English version. Is there a way to enter the path to an application in the config file?

Olaf
Posted by Olaf Mueller-Michaels at Tue Aug 2 21:22:49 2005

ZEM does not find the path to MS Word and Acrobat Reader. See the example for Acrobat Reader:

2005-08-02 23:09:43.955 ZopeEditManager[14282] Opening Application
2005-08-02 23:09:45.690 ZopeEditManager[14282] LSOpenFromURLSpec() returned -10827 for application Acroread path /tmp/tmp.AH73wG-www.mueller-michaels.net,9764,DMS,Dokumente,bz_Miniboersengaenge.pdf.

I made a symlink from Acrobat Reader 6.0 to Acroread.app. Acrobat Reader 6.0 sits in the subfolder Acrobat Reader 6.0 of the Applications folder. Same for Word (symlinked from the MS Office folder). The symlinks work, if I double click on them.

.pdf works fine with Apple's built in Preview app. Also, .txt files work with SubEthaEdit.

I am clueless. Maybe, it is because I use Tiger in German? But the system folders are called the same as in the English version. Is there a way to enter the path to an application in the config file?

Olaf
Posted by Olaf Mueller-Michaels at Wed Aug 3 07:32:36 2005

Btw. sorry for the multiple postings. When I hit refresg in Firefox, my previous post gets posted again. Just realized that :-)
Posted by Olaf Mueller-Michaels at Wed Aug 3 07:35:38 2005

hi
thanks a lot for this
great app. I ve a question about using it in safari. could it be managed through one of these apps: http://www.rubicode.com/Downloads/RCDefaultApp-1.3.X.dmg or http://www.clauss-net.de/misfox/misfox.html ?
I ve tried to configure it but I couldn't manage it.
Thanks for your help!
Isaac
Posted by isaac martin at Wed Aug 17 20:28:16 2005

Any possibility of getting ZopeEditManager to work with Zope 3?

Thanks!
Posted by Brad Allen at Mon Nov 28 12:47:28 2005

Hi!

I was able to use it to edit Word Doc + other type of file by using TextMate. But there is a problem for editing word document. below is what I did:

1. My browser is Firefox 1.5. I click on that pencil for editing on my plone site.
2. Choose ZopeEditManager to load that file and it did launch Word.
3. Modify the doc, save it and quit
4. download the file and double check the modification. It did works!
5. Click on that pencil by using ZopeEditManager to edit it again.
6. All my previous editing did not show up this time. So, what is goiing on here??

Gen
Posted by Gen at Wed Dec 14 18:39:49 2005

Hi, thanks a lot for ZopeEditManager.

Could you keep publishing the products upgrades on zope.org?
The last release listed on http://www.zope.org/Members/urbanape/ZopeEditManager/view
is 0.9.4 (2004-05-18). It is so old that it doesn't work with Tiger.

Thanks again
Posted by davconvent at Sat Dec 31 00:27:51 2005

Hi. We're using the ZEM with our Plone site. Fantastic! However, since Safari doesn't know about .zem files we really want an Internet Plugin to close that gap in functionality. Hrm?
Posted by Chicago Fair Trade at Tue Jan 3 01:05:32 2006

Thank's for this information...
Posted by roman at Mon Apr 17 13:44:31 2006

I have been having some difficulty getting firefox or safari to stop displaying some files in the browser. I am using this application with Plone. When I try to edit CSS files seem to work well but files like the footer which is content_type:text/html the browser does not want to pass it to the app even though the file type is .zem . Any suggestions?
Posted by Kamran Kazempour at Thu Nov 2 23:29:05 2006

I'm having a similar problem to this word issue we are trying to use adobe .ai files and have the same issue.  Is there any solutions?
Posted by Mike at Fri Nov 10 15:55:45 2006

The same for me. When content_type is text/html firefox ignores the .zem.

I also tried this url:
http://plone.org/documentation/how-to/getting-externaleditor-zopeeditmanager-working-in-firefox-on-mac-os-x
Posted by GeE at Tue Nov 21 10:10:29 2006

I have the exact same problem. The .zem file is shown in my browser instead of being downloaded.. :(
Anyone?
Posted by Pim at Mon Jun 25 18:48:29 2007

If Firefox isn't behaving for you, it requires a little digging to get it to work.
1) Type about:config in the address bar
2) Set browser.download.hide_plugins_without_extensions to false
3) Open the preferences pane, Content tab, click the Manage button under File types and you should now see a very long list.
4) Find x-zope-edit in the list and ensure that it is opening with Zope Edit Manager
5) Close that window, close the prefs pane and reset the config variable that you changed in step 2.

Once you get this working, close Firefox and it will update its mimeTypes.rdf file. On a fresh install of Camino, I simply copied Firefox's mimeTypes.rdf to ~/Library/Application Support/Camino and when I started Camino it too was working with the ZEM. If you already have Camino installed you might already have a mimeTypes.rdf file, so be careful not to overwrite it.

Enjoy...
Posted by Philip Semanchuk at Wed Aug 1 15:06:43 2007

See http://plone.org/products/zope-externaleditor-client/ and http://ringinginunison.blogspot.com/2007/09/zopeeditmanager-safari-automation.html

It would be really nice to have one or both applications playing nicely with Plone and Safari.
Posted by Graham Perrin at Tue Oct 30 04:25:57 2007

Re http://dev.plone.org/plone/ticket/7291#comment:10 if I'm not mistaken, a minor change to Plone will allow ZopeEditManager to work with (at least) Camino.

(Prior to this, Camino tended to work better with the Zope Management Interface (ZMI), which adds .zem to file the file name, than with the standard Plone interface.)

I suspect that we are also tantalisingly close to Safari compatibility with ZopeEditManager.
Posted by Graham Perrin at Wed Nov 21 10:37:42 2007

http://plone.org/products/zopeeditmanager/ is a little out of date ;-)
Posted by Graham Perrin at Wed Nov 21 10:39:05 2007


Name:


E-mail:


URL:


Comment:


Enter an odd integer below:


< February 2006 >
SuMoTuWeThFrSa
    1 2 3 4
5 6 7 8 91011
12131415161718
19202122232425
262728    
Latest Software
Flickr
www.flickr.com
This is a Flickr badge showing public photos from urbanape. Make your own badge here.
Categories
all: (159)
  home: (36)
  play: (87)
  software: (32)
  work: (4)
Archives
On Tap
On the Nightstand
Douglas Hofstadter's Gödel, Escher, Bach: an Eternal Golden Braid
Syndication