] > Re: [Python-projects] pylint and zope trouble (Logilab.org)

Email Re: [Python-projects] pylint and zope trouble

to
Sylvain Thenault <syt at logilab dot fr>
subject
Re: [Python-projects] pylint and zope trouble
date
2005/01/18 18:07
Am Dienstag, 18. Januar 2005 17:43 schrieb Sylvain Thénault:

> > > > F: 31: Unable to import
> > > > 'Products.ZCatalog.CatalogAwareness.CatalogAware' (No module
> > > > 'Products.ZCatalog')
> > >
> > > do you think this one should have succeed ? Is the Products directory
> > > in your PYTHONPATH and has a __init__.py file ? Or maybe it's related
> > > to the problem below...
> >
> > I think it's related to the problem below, because my PYTHONPATH is:
> >
> > /opt/python-2.3.3/lib/python2.3:/data5/work/intramt/Zope-2.7.2-main/lib/p
> >ython:/data5/work/intramt/mycmsdevel01
> >
> > there are two "Products" folders:
> > Zope mainfolder:  /data5/work/intramt/Zope-2.7.2-main/lib/python/Products
> > Zopeinstance:  /data5/work/intramt/mycmsdevel01/Products
>
> right, but I guess that the ZCatalog is in the first Products directory,
> isn't it ? If it's the case, then this will probably be fixed in the
> next release. If not, then the problem is clearly the coexistence of two
> Products directory.
it's in the first. If I copy it to the second, the import is ok. But the 
Products folder in the zopeinstance is a complete subversion checkout...


thanks,
axel


is a reply to
has reply