I am installing Zope and I get the bellow errors. Could someone explain why I'm getting this? Thanks Allen May MCSi Web Admin 800.842.1702 x7628 Compiling python modules File "/usr/zope/Zope-2.4.3-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 'xxxxxx'. You can change the name and password through the web interface or using the 'zpasswd.py' script. chmod 0600 /usr/zope/Zope-2.4.3-linux2-x86/inituser chmod 0711 /usr/zope/Zope-2.4.3-linux2-x86/var ---------------------------------------------------------------------------- -- setting dir permissions ---------------------------------------------------------------------------- -- creating default database chmod 0600 /usr/zope/Zope-2.4.3-linux2-x86/var/Data.fs ---------------------------------------------------------------------------- -- Writing the pcgi resource file (ie cgi script), /usr/zope/Zope-2.4.3-linux2-x86/Zope.cgi chmod 0755 /usr/zope/Zope-2.4.3-linux2-x86/Zope.cgi ---------------------------------------------------------------------------- -- Creating start script, start chmod 0711 /usr/zope/Zope-2.4.3-linux2-x86/start ---------------------------------------------------------------------------- -- Creating stop script, stop chmod 0711 /usr/zope/Zope-2.4.3-linux2-x86/stop ---------------------------------------------------------------------------- -- Done!
Ah hah! Yet another one...if no one objects, I'd like to try and patch compilezpy.py to ignore the test directory during install. I'll submit this to the Collector when done. Eron On Thursday 17 January 2002 11:28 am, you wrote:
I am installing Zope and I get the bellow errors. Could someone explain why I'm getting this?
Thanks
Allen May MCSi Web Admin 800.842.1702 x7628
Compiling python modules File "/usr/zope/Zope-2.4.3-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) --------------------------------------------------------------------------- -
Ah hah! Yet another one...if no one objects, I'd like to try and patch compilezpy.py to ignore the test directory during install. I'll submit this to the Collector when done.
Eron
On Thursday 17 January 2002 11:28 am, you wrote:
I am installing Zope and I get the bellow errors. Could someone explain why I'm getting this?
Thanks
Allen May MCSi Web Admin 800.842.1702 x7628
Compiling python modules File "/usr/zope/Zope-2.4.3-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)
--------------------------------------------------------------------------
Sure, go ahead! ----- Original Message ----- From: "Eron Lloyd" <lloyd@lancaster.lib.pa.us> To: <zope@zope.org> Sent: Thursday, January 17, 2002 12:00 PM Subject: Re: [Zope] Error on install -
-
_______________________________________________ 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 )
Error on installPlease ignore these errors, they are not harmful to installation. ----- Original Message ----- From: Allen May To: zope@zope.org Sent: Thursday, January 17, 2002 11:28 AM Subject: [Zope] Error on install I am installing Zope and I get the bellow errors. Could someone explain why I'm getting this? Thanks Allen May MCSi Web Admin 800.842.1702 x7628 Compiling python modules File "/usr/zope/Zope-2.4.3-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 'xxxxxx'. You can change the name and password through the web interface or using the 'zpasswd.py' script. chmod 0600 /usr/zope/Zope-2.4.3-linux2-x86/inituser chmod 0711 /usr/zope/Zope-2.4.3-linux2-x86/var ---------------------------------------------------------------------------- -- setting dir permissions ---------------------------------------------------------------------------- -- creating default database chmod 0600 /usr/zope/Zope-2.4.3-linux2-x86/var/Data.fs ---------------------------------------------------------------------------- -- Writing the pcgi resource file (ie cgi script), /usr/zope/Zope-2.4.3-linux2-x86/Zope.cgi chmod 0755 /usr/zope/Zope-2.4.3-linux2-x86/Zope.cgi ---------------------------------------------------------------------------- -- Creating start script, start chmod 0711 /usr/zope/Zope-2.4.3-linux2-x86/start ---------------------------------------------------------------------------- -- Creating stop script, stop chmod 0711 /usr/zope/Zope-2.4.3-linux2-x86/stop ---------------------------------------------------------------------------- -- Done!
participants (3)
-
Allen May -
Chris McDonough -
Eron Lloyd