No. This isnt it. Look at my message. I step into the debugger right before the line from Products.PythonScripts.PythonScript import PythonScript and (pdb) import Products works, but (pdb) import Products.PythonScripts doesnt work. Mathew ----- Original Message ----- From: "Andreas Jung" <andreas@andreas-jung.com> To: "mathew" <mathew@yeates.tv>; <zope@zope.org> Sent: Monday, April 21, 2003 4:43 AM Subject: Re: [Zope] error calling Zope.app()
Adjust your PYTHONPATH to <zopeinst>/lib/python and try again.
-aj
--On Sonntag, 20. April 2003 13:56 Uhr -0700 mathew <mathew@yeates.tv> wrote:
When I call Zope.app() I get a traceback saying
from Products.PythonScripts.PythonScript import PythonScript ImportError: Mo module named PythonScripts.PythonScript
what does this mean? Under Products I have the dir PythonScripts and it has the module PythonScript. In the debugger... I can call import Products right before the fatal line. But I cant import any Product itself. Mathew
_______________________________________________ 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 )