[Zope] install problem in 2.50b4 on RedHat 7.2

Chris Kratz chris.kratz@vistashare.com
Tue, 15 Jan 2002 17:54:16 -0500


Hello Clint,

I ran into the same problem today.  I found that if I cleared all the test 
scripts, the install script ran to completion.  There are probably less 
draconian methods for fixing the problem, but it got my test zope up and 
running without problems.  In a shell, something like

rm -f 
/usr/cabrubak_software/tgzs/zope/Zope-2.5.0b4-linux2-x86/lib/python2.1/test/*

should work.

***But, be forwarned, this will clear all scripts from this directory.

Alternatively, you could track down each one that causes a problem and remove 
it.  I gave up on that approach after the third one had a problem.

good luck,

-Chris

On Tuesday 15 January 2002 04:00 pm, Clint Brubakken wrote:
> I'm getting the :
> Compiling python modules
>    File
> "/usr/cabrubak_software/tgzs/zope/Zope-2.5.0b4-linux2-x86/lib/python2.1/tes
>t/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)
>
>
>
> which I've seen on the list to ignore, but it stops with a message:
>
> !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
>!!! There were errors during Python module compilation.
> !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
>!!!
>
> and doesn't create the start, zope.cgi, or inituser files
>
>
> _______________________________________________
> 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 )

-- 
Chris Kratz
Systems Analyst/Programmer
VistaShare LLC
www.vistashare.com