Cannot Import Base has_attr...Again!
Hi; I had this problem on another server I recently built...and it went away all by itself! I'm now rebuilding my home server, and it's cropped up again. Last time, Maciej Wisniowski suggested I go to a zopectl prompt and type in "import Products.CMFPlone", but apparently that doesn't work on Zope 2.7.8/Plone 2.1.4. Here is the traceback. Please advise. TIA, Tony 2007-03-17T14:51:12 ERROR(200) Zope Could not import Products.ATContentTypes 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 ________________________________________________________________________ AOL now offers free email to everyone. Find out more about what's free from AOL at AOL.com.
--On 17. März 2007 15:16:31 -0400 tonylabarbara@aol.com wrote:
Hi; I had this problem on another server I recently built...and it went away all by itself! I'm now rebuilding my home server, and it's cropped up again. Last time, Maciej Wisniowski suggested I go to a zopectl prompt and type in "import Products.CMFPlone", but apparently that doesn't work on Zope 2.7.8/Plone 2.1.4. Here is the traceback. Please advise. TIA, Tony
Consult the plone-users list for Plone-related questions. -aj
I did that last time and no one addressed the issue, so I came here. Would you care to address the issue? Tony -----Original Message----- From: lists@zopyx.com To: tonylabarbara@aol.com; zope@zope.org Sent: Sat, 17 Mar 2007 3:21 PM Subject: Re: [Zope] Cannot Import Base has_attr...Again! --On 17. März 2007 15:16:31 -0400 tonylabarbara@aol.com wrote:
Hi; I had this problem on another server I recently built...and it went away all by itself! I'm now rebuilding my home server, and it's cropped up again. Last time, Maciej Wisniowski suggested I go to a zopectl prompt and type in "import Products.CMFPlone", but apparently that doesn't work on Zope 2.7.8/Plone 2.1.4. Here is the traceback. Please advise. TIA, Tony
Consult the plone-users list for Plone-related questions. -aj ________________________________________________________________________ AOL now offers free email to everyone. Find out more about what's free from AOL at AOL.com.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 18 Mar 2007, at 16:45, tonylabarbara@aol.com wrote:
--On 17. März 2007 15:16:31 -0400 tonylabarbara@aol.com wrote:
I had this problem on another server I recently built...and it went away all by itself! I'm now rebuilding my home server, and it's cropped up again. Last time, Maciej Wisniowski suggested I go to a zopectl prompt and type in "import Products.CMFPlone", but apparently that doesn't work on Zope 2.7.8/Plone 2.1.4. Here is the traceback. Please advise. TIA, Tony
Consult the plone-users list for Plone-related questions.
I did that last time and no one addressed the issue, so I came here. Would you care to address the issue?
The fact that no one helped on the Plone list does not invalidate Andreas' assertion that this is a Plone issue and it belongs on the Plone list. jens -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (Darwin) iD8DBQFF/WJ3RAx5nvEhZLIRAuWpAJ9GeeP3YoAGkbWLugO1xzjyxgomSgCdHZ58 vbdZ1mjfZn9827vjr1h6Z6E= =t3JN -----END PGP SIGNATURE-----
participants (3)
-
Andreas Jung -
Jens Vagelpohl -
tonylabarbara@aol.com