Thank you Dieter, just one thing I forgot to mention...
But while compiling the python modules I get this:
...../Products/PythonScripts/zbytecodehacks/USExec.py:425>>: SyntaxWarning: local name 'error_msg' in '_WriteGuardWrapper' shadows >>use of 'error_msg' as global in nested scope 'model_handler' def _WriteGuardWrapper():
...../Products/PythonScripts/zbytecodehacks/closure.py:12>>1: SyntaxWarning: local name 'n' in 'make_adder' shadows use of 'n' as >>global in nested scope 'adder' def make_adder(n):
These are warnings only. Ignore them...
...following this, the script exits: !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! There were errors dUring Python module compilation. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! *** Error code 1 Stop in /usr/ports/www/zope. So, no new zope install... But how can this be? I just downloaded the latest zope-2.5.1_2 and the ports installer 'found' my python 2.1.3, installed yesterday. What's wrong? Ken
Ken writes:
...
...../Products/PythonScripts/zbytecodehacks/USExec.py:425>>: SyntaxWarning: local name 'error_msg' in '_WriteGuardWrapper' shadows >>use of 'error_msg' as ... !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! There were errors dUring Python module compilation. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! *** Error code 1 Stop in /usr/ports/www/zope.
So, no new zope install... But how can this be? I just downloaded the latest zope-2.5.1_2 and the ports installer 'found' my python 2.1.3, installed yesterday.
What's wrong? I do not know. The listed problems are all warnings and should not abort the process.
Maybe, you can locate the Python start and change it to ignore warnings. The command line has an option for this (probably, it can also be achieved by an environment variabe). Dieter
Ken wrote:
...following this, the script exits:
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! There were errors dUring Python module compilation. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! *** Error code 1 Stop in /usr/ports/www/zope.
Do you have an INSTANCE_HOME setup and have extension Products like CMF installed? I've seen this erro when the python script part of the Zope builder tries to build things like filesystem Script (Python)'s by mistake. Using INSTANCE_HOME solves this problem... cheers, Chris
participants (3)
-
Chris Withers -
Dieter Maurer -
Ken