Victor Sterpu(e)k dio:
> I hope I am posting on the right mailing list.
> I need to use a pyton script, but I receive the following error*.
> 
> *Error Type: Unauthorized
> Error Value: The container has no security assertions. Access to 
> 'socket' of (module 'socket' from
> '/opt/Plone-2.5.3/Python-2.4.4/lib/python2.4/socket.pyc') denied.
> 

You can't import socket module from python scripts... you should write
an external method. Python scripts are executed in a so called
"restricted python", where you can only import a small set of standard
library modules.


Mikel

-- 
Mikel Larreategi
[EMAIL PROTECTED]

CodeSyntax
Azitaingo Industrialdea 3 K
E-20600 Eibar
Tel: (+34) 943 82 17 80
_______________________________________________
COREblog-en mailing list
[email protected]
http://postaria.com/mailman/listinfo/coreblog-en
Unsubscription writing to [EMAIL PROTECTED]

Reply via email to