Thanks, Chris I solved the problem with a less draconian rm lib/python2.1/test/nocaret.py lib/python2.1/test/test_future3.py lib/python2.1/test/test_future4.py lib/python2.1/test/test_future5.py lib/python2.1/test/test_future6.py lib/python2.1/test/test_future7.py or, with reading enhancements (and mail compatibility) rm lib/python2.1/test/nocaret.py lib/python2.1/test/test_future3.py lib/python2.1/test/test_future4.py lib/python2.1/test/test_future5.py lib/python2.1/test/test_future6.py lib/python2.1/test/test_future7.py which are the files install complained of. I suspect I didn't really need to remove the first one. If someone cares to test, I won't object... ----- Original Message ----- From: "Chris Kratz" <chris.kratz@vistashare.com> To: "Clint Brubakken" <cabrubak@inetic.com>; <zope@zope.org> Sent: Tuesday, January 15, 2002 7:54 PM Subject: Re: [Zope] install problem in 2.50b4 on RedHat 7.2
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
_______________________________________________ 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 )