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
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
-
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
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
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
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
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
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
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
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
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
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
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
13 matches
Mail list logo