[Zope] Pbs with ExternalEditor win32

Adam Manock abmanock@earthlink.net
Mon, 17 Jun 2002 13:30:55 -0400


Quick Fix:

In zopeedit.py change lines 94-95 from:

if win32:
                 config_path = path.expanduser('~\\ZopeEdit.ini')

to:

if win32:
                 config_path = 'C:\\ZopeEdit.ini'

This file will be created the next time you click on a ZMI pencil icon.

You can then edit it, set the default and special case editors etc

Adam

At 06:31 PM 6/17/2002 +0200, H.de.Wit@SFK.NL wrote:

> >As a newbie I am having problems getting External Editor to work on
> >Windows(98).
>
>I tried the new 0.3 version and.. it doesn't work, windows nt 4
>
>Fatal Error: No such file or directory 'c:\users\default\ZopeEdit.ini
>
>i couldn't find a zopeedit.ini in the distributed files.
>the class external editor in the helper application asks for it (line 93):
>
>             # Read the configuration file
>             if win32:
>                 config_path = path.expanduser('~\\ZopeEdit.ini')
>             else:
>                 config_path = path.expanduser('~/.zope-external-edit')
>
>
>
>Met vriendelijke groeten,
>
>Hans de Wit
>Stichting Farmaceutische Kengetallen
>Postbus 30460
>2500 GL  DEN HAAG
>Tel. 070-3737448
>Fax 070-3737445
>
>
> 
>
>                       Marie 
> Robichon 
>
>                       <robichon@esrf.f         To:      H.de.Wit@SFK.NL 
>
>                       r>                       cc: 
>
>                                                Subject: Re: [Zope] Pbs 
> with ExternalEditor win32
>                       17-06-02 
> 16:40 
>
> 
>
> 
>
>
>
>
>
>At 16:33 17/06/02 +0200, you wrote:
>
> > >As a newbie I am having problems getting External Editor to work on
> >Windows
> > >(98).
> >
> >There is a new version (0.3) that should support windows.
> >http://www.zope.org/Members/Caseman/ExternalEditor/0.3-release-news
> >
> >The old one didn't, and there i stopped.
> >Did you try it with 0.3
>
>
>Yes this is the one I am using.....
>
>Marie
>
>
>
>
>
>
>
>
>_______________________________________________
>Zope maillist  -  Zope@zope.org
>http://lists.zope.org/mailman/listinfo/zope
>**   No cross posts or HTML encoding!  **
>(Related lists -
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )