RE:[Zope] Error messages in installation of Zope 2.4.0
think I may have posted this originally to the wrong group, my apologies for any duplicates. When I install Zope 2.4.0 on RedHat 7.1 I get the following error messages. Otherwise Zope seems to run fine. Any ideas? Hi, I read your email on NIP. Had the same problem because I was compiling with python1.5, so I installed python2.1.1 and no longer had these errors. Hopefully this works for you. Ryan Regards, Dave. ------------------------------------------------------------------------------ Compiling python modules File "/usr/local/Zope-2.4.0-linux2-x86/lib/python2.1/test/nocaret.py", line 2 [x for x in x] = x SyntaxError: can't assign to list comprehension SyntaxError: from __future__ imports must occur at the beginning of the file (test_future3.py, line 3) SyntaxError: from __future__ imports must occur at the beginning of the file (test_future4.py, line 3) SyntaxError: from __future__ imports must occur at the beginning of the file (test_future5.py, line 4) SyntaxError: from __future__ imports must occur at the beginning of the file (test_future6.py, line 3) SyntaxError: from __future__ imports must occur at the beginning of the file (test_future7.py, line 3) ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ creating default inituser file Note: The initial user name and password are 'admin' and 'fULENZCf'. You can change the name and password through the web interface or using the 'zpasswd.py' script. chmod 0600 /usr/local/Zope-2.4.0-linux2-x86/inituser chmod 0711 /usr/local/Zope-2.4.0-linux2-x86/var ------------------------------------------------------------------------------ Writing the pcgi resource file (ie cgi script), /usr/local/Zope-2.4.0-linux2-x86/Zope.cgi chmod 0755 /usr/local/Zope-2.4.0-linux2-x86/Zope.cgi ------------------------------------------------------------------------------ Done! _______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
I too am having the same problems, but Zope seems to run OK nevertheless! On Thursday 26 July 2001 10:59, ryanw@p-wave.com wrote:
think I may have posted this originally to the wrong group, my apologies
for any duplicates.
When I install Zope 2.4.0 on RedHat 7.1 I get the following error messages. Otherwise Zope seems to run fine. Any ideas?
Hi, I read your email on NIP. Had the same problem because I was compiling with python1.5, so I installed python2.1.1 and no longer had these errors. Hopefully this works for you. Ryan
Regards, Dave.
--------------------------------------------------------------------------- ---
Compiling python modules File "/usr/local/Zope-2.4.0-linux2-x86/lib/python2.1/test/nocaret.py", line 2 [x for x in x] = x SyntaxError: can't assign to list comprehension SyntaxError: from __future__ imports must occur at the beginning of the file (test_future3.py, line 3) SyntaxError: from __future__ imports must occur at the beginning of the file (test_future4.py, line 3) SyntaxError: from __future__ imports must occur at the beginning of the file (test_future5.py, line 4) SyntaxError: from __future__ imports must occur at the beginning of the file (test_future6.py, line 3) SyntaxError: from __future__ imports must occur at the beginning of the file (test_future7.py, line 3) --------------------------------------------------------------------------- ---
--------------------------------------------------------------------------- ---
creating default inituser file Note: The initial user name and password are 'admin' and 'fULENZCf'.
You can change the name and password through the web interface or using the 'zpasswd.py' script.
chmod 0600 /usr/local/Zope-2.4.0-linux2-x86/inituser chmod 0711 /usr/local/Zope-2.4.0-linux2-x86/var --------------------------------------------------------------------------- ---
Writing the pcgi resource file (ie cgi script), /usr/local/Zope-2.4.0-linux2-x86/Zope.cgi chmod 0755 /usr/local/Zope-2.4.0-linux2-x86/Zope.cgi --------------------------------------------------------------------------- ---
Done!
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
OK, building the 2.4.0 Zope distribution from source with Python 2.1.1 works fine. The only reason that I am posting this is that I think that the BINARY 2.4.0 distribution still has some minor bugs which produce irritating error messages. On Thursday 26 July 2001 11:09, David Lambert wrote:
I too am having the same problems, but Zope seems to run OK nevertheless!
On Thursday 26 July 2001 10:59, ryanw@p-wave.com wrote:
think I may have posted this originally to the wrong group, my apologies
for any duplicates.
When I install Zope 2.4.0 on RedHat 7.1 I get the following error messages. Otherwise Zope seems to run fine. Any ideas?
Hi, I read your email on NIP. Had the same problem because I was compiling with python1.5, so I installed python2.1.1 and no longer had these errors. Hopefully this works for you. Ryan
Regards, Dave.
------------------------------------------------------------------------- -- ---
Compiling python modules File "/usr/local/Zope-2.4.0-linux2-x86/lib/python2.1/test/nocaret.py", line 2 [x for x in x] = x SyntaxError: can't assign to list comprehension SyntaxError: from __future__ imports must occur at the beginning of the file (test_future3.py, line 3) SyntaxError: from __future__ imports must occur at the beginning of the file (test_future4.py, line 3) SyntaxError: from __future__ imports must occur at the beginning of the file (test_future5.py, line 4) SyntaxError: from __future__ imports must occur at the beginning of the file (test_future6.py, line 3) SyntaxError: from __future__ imports must occur at the beginning of the file (test_future7.py, line 3) ------------------------------------------------------------------------- -- ---
------------------------------------------------------------------------- -- ---
creating default inituser file Note: The initial user name and password are 'admin' and 'fULENZCf'.
You can change the name and password through the web interface or using the 'zpasswd.py' script.
chmod 0600 /usr/local/Zope-2.4.0-linux2-x86/inituser chmod 0711 /usr/local/Zope-2.4.0-linux2-x86/var ------------------------------------------------------------------------- -- ---
Writing the pcgi resource file (ie cgi script), /usr/local/Zope-2.4.0-linux2-x86/Zope.cgi chmod 0755 /usr/local/Zope-2.4.0-linux2-x86/Zope.cgi ------------------------------------------------------------------------- -- ---
Done!
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
OK, building the 2.4.0 Zope distribution from source with Python 2.1.1 works fine. The only reason that I am posting this is that I think that the BINARY 2.4.0 distribution still has some minor bugs which produce irritating error messages.
FYI - the error message (included below) occurs when, at install time, we compile all the .py files in the binary distribution. This happens to include all of the standard Python libary and test modules for a binary dist. The 'nocaret.py' that is part of the tests in the Python libary doesn't seem to want to compile for some reason. I _really_ don't want to modify the included Python distribution files - perhaps we could modify the install script to silently consume that so it doesn't scare people.
When I install Zope 2.4.0 on RedHat 7.1 I get the following error messages. Otherwise Zope seems to run fine. Any ideas?
Compiling python modules File
"/usr/local/Zope-2.4.0-linux2-x86/lib/python2.1/test/nocaret.py",
line 2 [x for x in x] = x SyntaxError: can't assign to list comprehension SyntaxError: from __future__ imports must occur at the beginning of the file (test_future3.py, line 3) SyntaxError: from __future__ imports must occur at the beginning of the file (test_future4.py, line 3) SyntaxError: from __future__ imports must occur at the beginning of the file (test_future5.py, line 4) SyntaxError: from __future__ imports must occur at the beginning of the file (test_future6.py, line 3) SyntaxError: from __future__ imports must occur at the beginning of the file (test_future7.py, line 3)
Brian Lloyd brian@digicool.com Software Engineer 540.371.6909 Digital Creations www.digicool.com
Brian Lloyd wrote:
I _really_ don't want to modify the included Python distribution files - perhaps we could modify the install script to silently consume that so it doesn't scare people.
Please dont :-S Silent consumation of error messages has resulted in excess loss of hair in the past ;-) cheers, Chris
participants (4)
-
Brian Lloyd -
Chris Withers -
David Lambert -
ryanw@p-wave.com