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... --

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 l

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

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 - http:/

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-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

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

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 "F

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 con

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 be

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

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

[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 successfu