Re: [Zope] Upgrading to Zope 2.9.1

2006-03-10 Thread Chris Withers
Brian Sullivan 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. I sometimes see this when there a syntax error elsewhere in the file

Re: [Zope] Upgrading to Zope 2.9.1

2006-03-10 Thread Chris Withers
Dieter Maurer wrote: It does now -- at least for FSPythonScripts when you are on a *nix platform and your files contain DOS lineends. Does this only affect (FS)PythonScripts or all disk based python code? Chris -- Simplistix - Content Management, Zope Python Consulting -

Re: [Zope] Upgrading to Zope 2.9.1

2006-03-10 Thread Brian Sullivan
On 3/10/06, Patrick Decat [EMAIL PROTECTED] wrote: 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

Re: [Zope] Upgrading to Zope 2.9.1

2006-03-10 Thread Dieter Maurer
Brian Sullivan wrote at 2006-3-9 14:23 -0500: On 3/9/06, Dieter Maurer [EMAIL PROTECTED] wrote: ... It does now -- at least for FSPythonScripts when you are on a *nix platform and your files contain DOS lineends. You then will get (starting with Python 2.4) SyntaxErrors at line ends. Of

Re: [Zope] Upgrading to Zope 2.9.1

2006-03-10 Thread Dieter Maurer
Chris Withers wrote at 2006-3-10 08:17 +: Dieter Maurer wrote: It does now -- at least for FSPythonScripts when you are on a *nix platform and your files contain DOS lineends. Does this only affect (FS)PythonScripts or all disk based python code? I do not know. Try it out... -- Dieter

Re: [Zope] Upgrading to Zope 2.9.1

2006-03-09 Thread Chris Withers
Patrick Decat wrote: I had the same problem : Windows CR/LF line endings are not supported anymore for PythonScripts. According to Dieter Maurer, it has to do with Python 2.4 rather than Zope 2.9. Really? I find that pretty suprising. Python has never cared about line endings before and I'd

Re: [Zope] Upgrading to Zope 2.9.1

2006-03-09 Thread Dieter Maurer
Chris Withers wrote at 2006-3-9 08:10 +: ... Really? I find that pretty suprising. Python has never cared about line endings before and I'd be pretty mortified if it started now :-( Dieter? It does now -- at least for FSPythonScripts when you are on a *nix platform and your files contain

Re: [Zope] Upgrading to Zope 2.9.1

2006-03-09 Thread Brian Sullivan
On 3/9/06, Dieter Maurer [EMAIL PROTECTED] wrote: Chris Withers wrote at 2006-3-9 08:10 +: ... Really? I find that pretty suprising. Python has never cared about line endings before and I'd be pretty mortified if it started now :-( Dieter? It does now -- at least for FSPythonScripts

Re: [Zope] Upgrading to Zope 2.9.1

2006-03-09 Thread Brian Sullivan
On 3/9/06, Einar Næss Jensen [EMAIL PROTECTED] wrote: On 3/9/06, Brian Sullivan [EMAIL PROTECTED] wrote: On 3/9/06, Dieter Maurer [EMAIL PROTECTED] wrote: Chris Withers wrote at 2006-3-9 08:10 +: ... Really? I find that pretty suprising. Python has never cared about line

Re: [Zope] Upgrading to Zope 2.9.1

2006-03-09 Thread Patrick Decat
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

[Zope] Upgrading to Zope 2.9.1

2006-03-08 Thread Brian Sullivan
I am in the process of testing an upgrade from a Zope 2.8.4 system to a Zope 2.9.1 system. The process I used: 1) Install 2.9.1 on a Win2003 system (it happens to be the same one that the 2.8.4 system is running but I changed the config so the ports don't conflict). The installation is

Re: [Zope] Upgrading to Zope 2.9.1

2006-03-08 Thread Patrick Decat
Hi, On 3/8/06, Brian Sullivan [EMAIL PROTECTED] wrote: I am in the process of testing an upgrade from a Zope 2.8.4 system to a Zope 2.9.1 system. The process I used: 1) Install 2.9.1 on a Win2003 system (it happens to be the same one that the 2.8.4 system is running but I changed the

Re: [Zope] Upgrading to Zope 2.9.1

2006-03-08 Thread Brian Sullivan
On 3/8/06, Patrick Decat [EMAIL PROTECTED] wrote: Hi, On 3/8/06, Brian Sullivan [EMAIL PROTECTED] wrote: I am in the process of testing an upgrade from a Zope 2.8.4 system to a Zope 2.9.1 system. The process I used: 1) Install 2.9.1 on a Win2003 system (it happens to be the same