At attempt of import import PythonScript from Products.PythonScripts.standard import html_quote request = container.REQUEST RESPONSE = request.RESPONSE I receive the following mistake Error Type: ImportError Error Value: import of "PythonScript" is unauthorized I have checked in Sequrity all rights for all usercategories, but it has not helped. How it to treat? __________________________________________________________________ Gesendet von Yahoo! Mail - http://mail.yahoo.de Logos und Klingeltöne fürs Handy bei http://sms.yahoo.de
Dmitrij Repp wrote:
At attempt of import
import PythonScript
Error Type: ImportError Error Value: import of "PythonScript" is unauthorized
There is no top-level module called "PythonScript". The Script import machinery says that import is unauthorized rather than telling you it can't find the module in order to prevent information leakage to untrusted code (i.e. probing to see what modules are installed). Cheers, Evan @ 4-am
Dmitrij Repp wrote:
At attempt of import
import PythonScript from Products.PythonScripts.standard import html_quote request = container.REQUEST RESPONSE = request.RESPONSE
I receive the following mistake
Error Type: ImportError Error Value: import of "PythonScript" is unauthorized
I have checked in Sequrity all rights for all usercategories, but it has not helped.
How it to treat?
How about you just get rid of that line? I don't think it actually means anything. --jcc -- "My point and period will be throughly wrought, Or well or ill, as this day's battle's fought."
participants (3)
-
Dmitrij Repp -
Evan Simpson -
J. Cameron Cooper