[Zope-dev] Can't import
David Cain
dacain@library.syr.edu
Wed, 22 Jan 2003 14:53:55 -0500
I have a simple python script that tries to do the following:
from AccessControl import ClassSecurityInfo
And produces the following error:
Error Type: ImportError
Error Value: import of "ClassSecurityInfo" from "AccessControl"
is unauthorized. You are not allowed to access ClassSecurityInfo in this
context
I think all other from...import statements cause the same.
Can anyone tell me what this is caused by, and how to work around it?
(Zope 2.6.0 (binary release, python 2.1, linux2-x86), python 2.1.3,
linux2)
David Cain
Senior Web Developer, Information Systems Department
Syracuse University Library
Syracuse, New York 13244-2010
(315) 443-5923
mailto:dacain@library.syr.edu
mailto:dacain@syr.edu