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

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

from
subject
Re: [Python-projects] pylint and zope trouble
date
2005/01/18 18:11
On Tuesday 18 January à 18:07, Axel Müller wrote:
> 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...

you mean that then you don't have the pylint's error message ? really
weird...

-- 
Sylvain Thénault                               LOGILAB, Paris (France).

http://www.logilab.com   http://www.logilab.fr  http://www.logilab.org

_______________________________________________
Python-Projects mailing list
Python-Projects@lists.logilab.org
http://lists.logilab.org/mailman/listinfo/python-projects


is a reply to
has reply