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

TIA for any help,

On May 11, 2006, at  5/11/2006 5:56 PMMDT, Tres Seaver wrote:

Hash: SHA1

Andrew Hedges wrote:
Here's my traceback:

2006-05-11 16:08:46 ERROR Zope Couldn't install MVP
Traceback (most recent call last):
  File "/usr/local/zope/lib/python/OFS/", line 762, in
    global_dict, global_dict, silly)
  File "/usr/local/zopedev/Products/MVP/", line 18, in ?
    import MVP
  File "/usr/local/zopedev/Products/MVP/", line 23, in ?
    import ExtZSQLFactory
ImportError: No module named ExtZSQLFactory

And yet, there ExtZSQL sits, with proper permissions, in the Products
directory of my Zope instance.  Any ideas?

You need to get help from the author of the 'MVP' product (about which I
know nothing).  The import there is expecting either to find a module
'ExtZSQLFactory' directly on the PYTHONPATH or else in the product itself.

Zope maillist  -
**   No cross posts or HTML encoding!  **
(Related lists - )

Reply via email to