Dean Hale wrote:

I'm assuming i need to add some extra details to the file is this correct and if so have you any ideas what they would be

from Products.PythonScripts.Utility import allow_module


I dunno if it'll help, but try enabling verbose security in your zope.conf.

However, you may just need to fiddle.

Try adding some allow_* statements for urlopen as well as anything else you import from urllin and see how you go.

That said, it may be easier (and execute faster) if you just duck out and use an external method.

Also, be aware that doing what you're doing, the performance of your website now depends on the performance of another website, and the network between your webserver and the other webserver. This may not be what you want. You should certainly look at introducing a socket timeout for those connections....


Simplistix - Content Management, Zope & Python Consulting

Zope maillist  -
**   No cross posts or HTML encoding!  **
(Related lists - )

Reply via email to