You need to put the script into an External Method. Zope python scripts do not allow access to many python modules for security reasons. On 25 Sep 2003, K. Praveen Kumar wrote:
Dear List, I wanted to convert the HTML file into PDF file using Zope. for this I have downloaded the script developed by Maik Jablonski. I also downloaded the htmldoc from Easy Software Products. But still it is showing the following error.
ERROR: ******************************************************************** import of "popen2" from "os" is unauthorized. You are not allowed to access popen2 in this context *********************************************************************
Please let me know what is the problem. I will be looking for your suggestions.
-- Thanks & Regards Praveen Kumar SoftPro Systems Ltd
_______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )