Hi Michael, Are you sure you created the Extensions directory in the right place? Usually it's created already if you install from a binary distribution. It'd need to be in the same place as the "z2.py" file. Michael Sanborn wrote:
Hi,
I'm working my way through the Zope Book (using Zope 2.4.1 on Win2000), and have run into a problem in the "Using External Methods" section (p. 155). It describes an Extensions directory in the top-level Zope directory, which wasn't there in my installation. So I added it, added the Example.py file as directed, and followed the instructions to create an External method (id=hello, Module Name=Example, Function Name=hello). This gave me the message:
The specified module, Example, couldn't be found.
I tried it again with a blank __init__.py file in the directory. I also tried restarting Zope. Nothing. What am I doing wrong?
Thanks,
Michael
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
-- Chris McDonough Zope Corporation http://www.zope.org http://www.zope.com "Killing hundreds of birds with thousands of stones"