[Zope] Error on install
Allen May
allen.may@mcsinet.com
Thu, 17 Jan 2002 11:28:06 -0500
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
------_=_NextPart_001_01C19F73.F199ABC0
Content-Type: text/plain;
charset="iso-8859-1"
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!
------_=_NextPart_001_01C19F73.F199ABC0
Content-Type: text/html;
charset="iso-8859-1"
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2654.45">
<TITLE>Error on install</TITLE>
</HEAD>
<BODY>
<P><FONT SIZE=2>I am installing Zope and I get the bellow errors.</FONT>
<BR><FONT SIZE=2>Could someone explain why I'm getting this?</FONT>
</P>
<P><FONT SIZE=2>Thanks</FONT>
</P>
<P><FONT SIZE=2>Allen May</FONT>
<BR><FONT SIZE=2>MCSi Web Admin</FONT>
<BR><FONT SIZE=2>800.842.1702 x7628</FONT>
</P>
<BR>
<BR>
<P><FONT SIZE=2>Compiling python modules</FONT>
<BR><FONT SIZE=2> File "/usr/zope/Zope-2.4.3-linux2-x86/lib/python2.1/test/nocaret.py", line 2</FONT>
<BR><FONT SIZE=2> [x for x in x] = x</FONT>
<BR><FONT SIZE=2>SyntaxError: can't assign to list comprehension</FONT>
<BR><FONT SIZE=2>SyntaxError: from __future__ imports must occur at the beginning of the file (test_future3.py, line 3)</FONT>
<BR><FONT SIZE=2>SyntaxError: from __future__ imports must occur at the beginning of the file (test_future4.py, line 3)</FONT>
<BR><FONT SIZE=2>SyntaxError: from __future__ imports must occur at the beginning of the file (test_future5.py, line 4)</FONT>
<BR><FONT SIZE=2>SyntaxError: from __future__ imports must occur at the beginning of the file (test_future6.py, line 3)</FONT>
<BR><FONT SIZE=2>SyntaxError: from __future__ imports must occur at the beginning of the file (test_future7.py, line 3)</FONT>
<BR><FONT SIZE=2>------------------------------------------------------------------------------</FONT>
<BR><FONT SIZE=2>------------------------------------------------------------------------------</FONT>
<BR><FONT SIZE=2>creating default inituser file</FONT>
<BR><FONT SIZE=2>Note:</FONT>
<BR><FONT SIZE=2> The initial user name and password are 'admin'</FONT>
<BR><FONT SIZE=2> and 'xxxxxx'.</FONT>
</P>
<P><FONT SIZE=2> You can change the name and password through the web</FONT>
<BR><FONT SIZE=2> interface or using the 'zpasswd.py' script.</FONT>
</P>
<P><FONT SIZE=2>chmod 0600 /usr/zope/Zope-2.4.3-linux2-x86/inituser</FONT>
<BR><FONT SIZE=2>chmod 0711 /usr/zope/Zope-2.4.3-linux2-x86/var</FONT>
<BR><FONT SIZE=2>------------------------------------------------------------------------------</FONT>
<BR><FONT SIZE=2>setting dir permissions</FONT>
<BR><FONT SIZE=2>------------------------------------------------------------------------------</FONT>
<BR><FONT SIZE=2>creating default database</FONT>
<BR><FONT SIZE=2>chmod 0600 /usr/zope/Zope-2.4.3-linux2-x86/var/Data.fs</FONT>
<BR><FONT SIZE=2>------------------------------------------------------------------------------</FONT>
<BR><FONT SIZE=2>Writing the pcgi resource file (ie cgi script), /usr/zope/Zope-2.4.3-linux2-x86/Zope.cgi</FONT>
<BR><FONT SIZE=2>chmod 0755 /usr/zope/Zope-2.4.3-linux2-x86/Zope.cgi</FONT>
<BR><FONT SIZE=2>------------------------------------------------------------------------------</FONT>
<BR><FONT SIZE=2>Creating start script, start</FONT>
<BR><FONT SIZE=2>chmod 0711 /usr/zope/Zope-2.4.3-linux2-x86/start</FONT>
<BR><FONT SIZE=2>------------------------------------------------------------------------------</FONT>
<BR><FONT SIZE=2>Creating stop script, stop</FONT>
<BR><FONT SIZE=2>chmod 0711 /usr/zope/Zope-2.4.3-linux2-x86/stop</FONT>
<BR><FONT SIZE=2>------------------------------------------------------------------------------</FONT>
</P>
<P><FONT SIZE=2>Done!</FONT>
</P>
</BODY>
</HTML>
------_=_NextPart_001_01C19F73.F199ABC0--