[Zope] xml-rpc question

Dieter Maurer dieter@handshake.de
Tue, 29 Oct 2002 20:52:24 +0100


Ben Avery writes:
 > I'm using Zope (2.6.0, Pyth 2.1.3, Solaris 2.7) as an XML-RPC server, 
 > and need to use the XML-RPC boolean datatype.
 > 
 > I have a test python script...
 > ...
 > from xmlrpclib import True, False
 > ...
 > I get a Zope error (bottom of stacktrace returned):
 > ImportError: import of "True" from "xmlrpclib" is unauthorized. You are 
 > not allowed to access True in this context
You must allow the import of modules and name for Python Scripts.
Read the "README" tab in "Control_Panel --> Product Management --> PythonScripts
to learn how to do this.


Dieter