-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Andrew Hedges wrote:
Thanks, Tres, for replying. In fact, I am the author of the MVP product (prolly shoulda mentioned that...). It seems Zope's not finding my Products path for purposes of importing modules. It is, however, finding it for purposes of registering products. This is my first product, so I'm still getting the lay of the land. Should I be able to import modules from my Products directory? Does the fact I can't mean my install is configured incorrectly? I tried declaring an explicit path to my Products directory. Here's (what I think are) the relevant bits from my zope.conf:
%define INSTANCE /usr/local/zopedev %define ZOPE /usr/local/zopedev products /usr/local/zopedev/Products
You need to import the module as 'Products.ExtSQLFactory': the 'Products' package is itself on your PYTHONPATH (or stitched into it via some majyk), but the sub-packages of it are not. Tres. - -- =================================================================== Tres Seaver +1 202-558-7113 tseaver@palladion.com Palladion Software "Excellence by Design" http://palladion.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFEY+z8+gerLs4ltQ4RAgl/AJ9sMAXBondo9DNi9MhZsnDKPVM0EgCgjsT2 lsvxTWI4sQq83Myqb6r4jsU= =w3wg -----END PGP SIGNATURE-----