Removing the test scripts will allow the installation to complete. It appears to have no adverse affect on the installation or subsequent running of zope. This is a short term solution until the tests are fixed. I did this yesterday and it worked fine. -Chris On Wednesday 16 January 2002 04:01 am, Roland C. Reumerman wrote:
Yes, it does bomb out. And no, I don't get any traceback. Is there a way to disable these unit tests during an install run?
From: Eron Lloyd <lloyd@lancaster.lib.pa.us>
To: "Roland C. Reumerman" <zope_ddi@hotmail.com> CC: zope@zope.org Subject: Re: [Zope] Re: [Zope-Annce] Zope 2.5.0 beta 4 released Date: Tue, 15 Jan 2002 14:18:49 -0500
Those SyntaxError exceptions relate to unittests in the standard Python libraries. Unfortunately they print out to stdout (and make the unknowing user think there is a problem) and aren't surpressed by Zope's installer. It seems Zope runs the unit tests on install and these seem to be verbose for some reason (I haven't looked into it to deeply yet).
So basically, these error messages don't return anything helpful. Does the installation continue past the compilation or does it bomb out? Do you get a traceback?
Eron
On Tuesday 15 January 2002 01:08 pm, you wrote:
Nice to see yet another beta release of Zope 2.5!
However, I don't get this release "installed" on Linux. When I try to
run
./install with the extracted tgz file, I get the following error
message:
-------------------------------------------------------------------------- -
--- Compiling python modules File "/home/roland/Zope-2.5.0b4-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)
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !
!!! There were errors during Python module compilation.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !
!!!
Any clue what goes wrong? Roland
_________________________________________________________________ MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx
_______________________________________________ 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