[Zope] Zope External Editor Problem
Hello. I am having a problem with Zope External Editor 0.8 - the helper app running on W2K. This problem occurred on upgrade from the previous version. When I lauch the external editor, by clicking the pencil, MS Word lauches (and if I save, badly mangles the HTML. In ZopeEdit.ini my editor setting has not changed: # Uncomment and specify an editor value to override the editor # specified by the operating system editor = C:\Program Files\TextPad 4\TextPad.exe I used to be able to change this path to Dreamweaver as well, but when I do that, only MS Word launches. What could account for this? Is there a solution to get Zope External Editor working as it did prior to the upgrade? Harlow Pinson Indepth Learning Email: [EMAIL PROTECTED] Web: http://www.indepthl.com Voice: 505-994-2135 FAX: 208-475-7678 ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Zope External Editor Problem
Where is the ZopeEdit.ini file you're editing? According to the 0.8 code it should pick up the editor defined in the config file up and use it exclusively in preference to any extension- or content/type- related executables. The code first looks in: os.path.expanduser('~\\ZopeEdit.ini') (which on my system resolves to c:\Documents and Settings\chrism \ZopeEdit.ini), and then looks in: os.path.join(sys.path[0] or '', 'ZopeEdit.ini') (the package directory, presumably). - C On Tue, 2005-06-21 at 12:37 -0600, [EMAIL PROTECTED] wrote: Hello. I am having a problem with Zope External Editor 0.8 - the helper app running on W2K. This problem occurred on upgrade from the previous version. When I lauch the external editor, by clicking the pencil, MS Word lauches (and if I save, badly mangles the HTML. In ZopeEdit.ini my editor setting has not changed: # Uncomment and specify an editor value to override the editor # specified by the operating system editor = C:\Program Files\TextPad 4\TextPad.exe I used to be able to change this path to Dreamweaver as well, but when I do that, only MS Word launches. What could account for this? Is there a solution to get Zope External Editor working as it did prior to the upgrade? Harlow Pinson Indepth Learning Email: [EMAIL PROTECTED] Web: http://www.indepthl.com Voice: 505-994-2135 FAX: 208-475-7678 ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev ) ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Zope External Editor Problem
Hi Chris. The ini that I was editing is located at: c:\program files\zopeexternaleditor Which is where the previous versions had been looking. I looked in: C:\Documents and Settings\me and yes there is another ZopeEdit.ini Editing that resolves the problem I wonder if this should be in the readme for upgraders? I.e there can might be more than one .ini file. Thanks a bunch! Harlow Pinson Indepth Learning Email: [EMAIL PROTECTED] Web: http://www.indepthl.com Voice: 505-994-2135 FAX: 208-475-7678 ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Zope External Editor Problem
Yeah, apparently 0.8 (and 0.9) writes some defaults into the homedir file if it doesn't find it there instead of copying over what exists. Maybe it should not do this. On Tue, 2005-06-21 at 13:06 -0600, [EMAIL PROTECTED] wrote: Hi Chris. The ini that I was editing is located at: c:\program files\zopeexternaleditor Which is where the previous versions had been looking. I looked in: C:\Documents and Settings\me and yes there is another ZopeEdit.ini Editing that resolves the problem I wonder if this should be in the readme for upgraders? I.e there can might be more than one .ini file. Thanks a bunch! Harlow Pinson Indepth Learning Email: [EMAIL PROTECTED] Web: http://www.indepthl.com Voice: 505-994-2135 FAX: 208-475-7678 ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )