<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Thank you.<br>
I made it with the external method.<br>
<br>
<br>
Mikel Larreategi wrote:
<blockquote cite="mid4663B35A.4020705@codesyntax.com" type="cite">
<pre wrap="">Victor Sterpu(e)k dio:
</pre>
<blockquote type="cite">
<pre wrap="">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.
</pre>
</blockquote>
<pre wrap=""><!---->
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
</pre>
</blockquote>
<br>
</body>
</html>