Attached is is screenshot of the error message. There is no error in the event log.
Steps to reproduce : - Create a Python Script on the file system with Windows style line-endings - Go to http://localhost:8080/manage - Click the drop down list to add a Python Script - Enter "test_eol" in the id field - Click "Browse" to find and select your script on the filesystem - Click "Add" - Error : invalid syntax (Script (Python), line 2) - Click "Save changes" -> the error is gone. System information : - Windows 2000 SP4 (client and server) - Zope 2.9.1 (fresh install with http://www.zope.org/Products/Zope/2.9.1/Zope-2.9.1-win32.exe installer) - Only product installed : ExternalEditor 0.9.1 # Zope version: (Zope 2.9.1, python 2.4.2, win32) # Python version: 2.4.2 (#67, Sep 28 2005, 12:41:11) [MSC v.1310 32 bit (Intel)] # System Platform: win32 # SOFTWARE_HOME: C:\Program Files\Zope-2.9.1\lib\python # INSTANCE_HOME: D:\Zope-Instance # CLIENT_HOME: D:\Zope-Instance\var # Process ID: 1080 (1460) # Running for: 14 min 14 sec # sys.path: D:\Zope-Instance\lib\python D:\Zope-Instance\lib\python C:\Program Files\Zope-2.9.1\lib\python\Zope2\Startup C:\Program Files\Zope-2.9.1\lib\python C:\Program Files\Zope-2.9.1\lib\python C:\Program Files\Zope-2.9.1\bin\python24.zip C:\Program Files\Zope-2.9.1\bin\DLLs C:\Program Files\Zope-2.9.1\bin\lib C:\Program Files\Zope-2.9.1\bin\lib\plat-win C:\Program Files\Zope-2.9.1\bin\lib\lib-tk C:\Program Files\Zope-2.9.1\bin C:\Program Files\Zope-2.9.1\bin\lib\site-packages C:\Program Files\Zope-2.9.1\bin\lib\site-packages\win32 C:\Program Files\Zope-2.9.1\bin\lib\site-packages\win32\lib C:\Program Files\Zope-2.9.1\bin\lib\site-packages\Pythonwin On 3/10/06, Brian Sullivan <[EMAIL PROTECTED]> wrote: > > Something like: > > invalid syntax (Script (Python), line 3) > > (in a pink box when the script was opened for editing via the ZMI) > > Since I saved the script and the problem went away I can't be totally sure. > _______________________________________________ > 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-2.9.1-windows-eol.png
Description: PNG image
_______________________________________________ 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 )