Dear Dennis Allison, Thanks for your reply. I kept that script in the External Method and exported into the folder where I am using that script, but still getting the same error. Is there any other problem? Thanks & Regards Praveen On Thu, 2003-09-25 at 22:06, Dennis Allison wrote:
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 )
-- Thanks & Regards Praveen Kumar SoftPro Systems Ltd
-----------------------SOFTPRO DISCLAIMER------------------------------ Information contained in this E-MAIL and any attachments are confidential being proprietary to SOFTPRO SYSTEMS is 'privileged' and 'confidential'. If you are not an intended or authorised recipient of this E-MAIL or have received it in error, You are notified that any use, copying or dissemination of the information contained in this E-MAIL in any manner whatsoever is strictly prohibited. Please delete it immediately and notify the sender by E-MAIL. In such a case reading, reproducing, printing or further dissemination of this E-MAIL is strictly prohibited and may be unlawful. SOFTPRO SYSYTEMS does not REPRESENT or WARRANT that an attachment hereto is free from computer viruses or other defects. The opinions expressed in this E-MAIL and any ATTACHEMENTS may be those of the author and are not necessarily those of SOFTPRO SYSTEMS. ------------------------------------------------------------------------