[Zope] 2.4.0 and pythonmethod
Shane Hathaway
shane@digicool.com
Wed, 25 Jul 2001 00:49:46 -0400
Eivind Bengtsson wrote:
> [zoperunner@yb Zope-2.4.0-linux2-x86]$ ./start &
> [1] 7361
> [zoperunner@yb Zope-2.4.0-linux2-x86]$
> /opt/Zope-2.4.0-linux2-x86/lib/python/Pro
> ducts/PythonMethod/zbytecodehacks/closure.py:121: SyntaxWarning: local name
> 'n'
> in 'make_adder' shadows use of 'n' as global in nested scope 'adder'
> def make_adder(n):
This is warning you that an unused function located in the PythonMethod
product will have problems with Python 2.2. Since it's unused, there's
nothing to worry about. You might be able to just delete the function.
:-)
> ------
> 2001-07-24T10:11:33 PROBLEM(100) Init Ambiguous name for method of
> Products.Pyth
> onMethod.PythonMethod.PythonMethod: "manage" != "manage_main"
The PythonMethod product, like many other products, tries to make the
management screens available to users depending on their permissions.
Unfortunately there was a problem with the way the management screens
were being set up and consequently in some cases only managers can
access the screens. It's a case of overzealous security. There's a way
to fix it but unless you're going to let non-managers create Python
Methods, it's nothing to worry about.
The rest of the messages were normal log messages. You may want to read
up on the options you can pass to z2.py so that the log messages are
sent to a file instead of the console. (Of course, in development mode
it's better that they go to the console.)
Shane