[Zope] problem with python method as ftp client

Dieter Maurer dieter@handshake.de
Thu, 17 Jan 2002 23:41:22 +0100


rayprice2001 writes:
 > ... Python Script ...
 > ...
 > Error:
 > <!--
 > Traceback (innermost last):
 > ...
 >   File Script (Python), line 8, in GetCourse
 >   File /usr/local/Zope/lib/python/AccessControl/ZopeGuards.py, line
 > 213, in guarded_import
 > ImportError: (see above)
You trie to import a module/name into Python Script that does not
have the corresponding security declarations.

Your options:

  *  provide the security declarations allowing the import
     (read the README tab of the PythonScripts product!)

  *  use an ExternalMethod rather than a Python Script

  *  use an XXXPythonScript (search zope.org!)


Dieter