[Setup] ImportError: cannot import name utils

Alexander Vallens AVallens at archenergy.com
Mon Nov 19 20:24:28 UTC 2007


Steve, 

Since I have not yet received a response, I will assume this is a bug in the installer and file a bug report. 

Thanks for your help! 
Alexander 


>>> "Alexander Vallens" <AVallens at archenergy.com> 11/15/07 4:52 PM >>>
# rpm -qa plone
plone-3.0.3-1.1
# rpm -qa zope
zope-2.10.4-2.3
# find /var/opt/zope/default ! -user zope
# rczope start
...

ZMI reports:  PloneAEC (This object from the CMFPlone product is broken!)

Clicking the link brings up a page with:
This object is broken because the CMFPlone product that created it is no longer installed or is installed incorrectly. Please contact the product maintainer for assistance.

Note that the data associated with this product has not been lost, and will be accessible again if the product is reinstalled.


Same errors as before in the log file.

Attempting to run Plone 2.5.2 on Zope 2.10.4 causes no drill-down capability on our Plone site; all workflows report "Resource not found". Rollback to Zope 2.9.6 and Plone 2.5.2 is only way to get a working system.

Thanks again!
Alexander


Steve McMahon wrote:
> Two things to check:
>
> 1) Plone 3.x requires Zope 2.10.x;
>
> 2) Make sure that all the Product files are readable by the user running
> Zope.
>
> Alexander Vallens wrote:
>> I have attempted an upgrade to Plone 3.0.3, albeit unsuccessfully. The zope
>> upgrade went well (in fact, in rollback we're running Plone 2.5.2 on zope
>> 2.9.6), but when attempting to run Plone 3.0.3, the ZMI reports that Plone
>> is broken. A check of the event log reveal many errors, most of which are
>> based on the following:
>> ERROR Application Could not import XXX
>> <snip>
>> File "/var/opt/zope/default/Products/CMFPlone/browser/ploneview.py", line
>> 12, in ?
>>    from Products.CMFPlone import utils
>> ImportError: cannot import name utils
>>
>> where XXX includes:
>> Products.ATContentTypes
>> Products.CMFPlacefulWorkflow
>> Products.CMFPlone
>> Products.PloneLanguageTool
>> Products.PlonePAS
>>
>> I checked and ~/Products/CMFPlone/utils.py & ~/Products/CMFPlone/utils.pyc
>> both exist. I'm not sure what the issue may be. Has anyone seen this issue,
>> or does anyone know what may be the problem? I will be more than happy to
>> provide more of the stacktrace or other log messages as needed.
>>
>> Thanks in advance!
>> Alexander
>
>
> --
> ______________________________________________________
>
> Steve McMahon
> Reid-McMahon, LLC
> steve at reidmcmahon.com
> steve at dcn.org


_______________________________________________
Setup mailing list
Setup at lists.plone.org
http://lists.plone.org/mailman/listinfo/setup

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.plone.org/pipermail/setup/attachments/20071119/e1a1fda2/attachment.html


More information about the Setup mailing list