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> 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).
\>> !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!! There were errors during Python module compilation.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!
Any clue what goes wrong?
As the message says, there were syntax errors in unit tests discovered during module compilation. The installer pre-compiles all *.py files (test or not) for speed. The tests are not actually being run. Cheers, Evan @ Zope