Zope, Python 2.4 pythonScripts import problem

krzychu at bmpg.pl krzychu at bmpg.pl
Fri Aug 12 09:44:39 EDT 2005


Hi,

I have installed brand new platform - Zope-2-7-6, Python 2.4.1, Plone
2.0.5, OS Debian 1:3.3.6-2.

After import a old Plone site from the following platform
Zope-2-7-4, Python 2.3.3, Plone 2.0.3 to the new one, I get error when
I visit PuthonScript in the ZMI.

"invalid syntax (Script (Python), line 1)"

There 2 are examples of 1 line:
from DateTime import DateTime
and
request = container.REQUEST

There is no syntax error!

When I just save this script in ZMI then error disappers :)

What is the reason???
KK

p.s I have the same problem when I import to the same platform but with
Python 2.4.0




More information about the Python-list mailing list