[Zope] Re: ImportError: cannot import name base_hasattr
tonylabarbara at aol.com
tonylabarbara at aol.com
Sat Mar 3 19:03:13 EST 2007
>Maciej Wisniowski wrote:
>Take a look at pathes in your traceback:
>
>/usr/local/www/zope/278/lib/python
>/usr/local/zope/278/lib/python
>
>/usr/local/zope/instance1/Products
>
>Why there are two different(!) lib/python/ folders?
I see the problem! And I know what caused it. So I rebuilt Zope from source and tried again. Unfortunately, I got the same_darn_error, just without the "www" dir:
Traceback (most recent call last):
File "/usr/local/zope/278/lib/python/OFS/Application.py", line 673, in import_product
product=__import__(pname, global_dict, global_dict, silly)
File "/usr/local/zope/instance1/Products/ATContentTypes/__init__.py", line 54, in ?
import Products.ATContentTypes.content
File "/usr/local/zope/instance1/Products/ATContentTypes/content/__init__.py", line 34, in ?
import Products.ATContentTypes.content.topic
File "/usr/local/zope/instance1/Products/ATContentTypes/content/topic.py", line 33, in ?
from Products.CMFPlone.CatalogTool import CatalogTool
File "/usr/local/zope/instance1/Products/CMFPlone/CatalogTool.py", line 27, in ?
from Products.CMFPlone.utils import base_hasattr
ImportError: cannot import name base_hasattr
Traceback (most recent call last):
File "/usr/local/zope/278/lib/python/Zope/Startup/run.py", line 50, in ?
run()
File "/usr/local/zope/278/lib/python/Zope/Startup/run.py", line 19, in run
start_zope(opts.configroot)
File "/usr/local/zope/278/lib/python/Zope/Startup/__init__.py", line 52, in start_zope
starter.startZope()
File "/usr/local/zope/278/lib/python/Zope/Startup/__init__.py", line 231, in startZope
Zope.startup()
File "/usr/local/zope/278/lib/python/Zope/__init__.py", line 47, in startup
_startup()
File "/usr/local/zope/278/lib/python/Zope/App/startup.py", line 45, in startup
OFS.Application.import_products()
File "/usr/local/zope/278/lib/python/OFS/Application.py", line 650, in import_products
import_product(product_dir, product_name, raise_exc=debug_mode)
File "/usr/local/zope/278/lib/python/OFS/Application.py", line 673, in import_product
product=__import__(pname, global_dict, global_dict, silly)
File "/usr/local/zope/instance1/Products/ATContentTypes/__init__.py", line 54, in ?
import Products.ATContentTypes.content
File "/usr/local/zope/instance1/Products/ATContentTypes/content/__init__.py", line 34, in ?
import Products.ATContentTypes.content.topic
File "/usr/local/zope/instance1/Products/ATContentTypes/content/topic.py", line 33, in ?
from Products.CMFPlone.CatalogTool import CatalogTool
File "/usr/local/zope/instance1/Products/CMFPlone/CatalogTool.py", line 27, in ?
from Products.CMFPlone.utils import base_hasattr
ImportError: cannot import name base_hasattr
TIA,
Tony
________________________________________________________________________
AOL now offers free email to everyone. Find out more about what's free from AOL at AOL.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.zope.org/pipermail/zope/attachments/20070303/20c3649d/attachment.htm
More information about the Zope
mailing list