[Zope-PTK] PTK install failure
Tres Seaver
tseaver@palladion.com
Mon, 28 Feb 2000 00:22:46 -0600
Bruce Perens wrote:
>
> Using Zope 2.1.4 on the Debian 2.2 pre-release, I can't get DemoPortal.zexp
> imported. In fact, I don't think I've ever succeeded in importing a Z class.
> The stack trace is below. Would one of you like to look at my system?
Just a quick check -- you are importing into the Control Panel | Products
folder, right? ZClass-based products are still products, and can only live
there. ZClass _instances_, on the other hand, can be imported almost anywhere
_except_ there.
>
> Thanks
>
> Bruce
>
> <!--
> Error type: KeyError
> Error value: finish
> -->
> <p><a href="http://www.zope.org/Credits"><img src="http://root.perens.com/p_/ZopeButton" width="115" height="50" border="0" alt="Powered by Zope"></a></p>
> </BODY></HTML>
> <!--
> Traceback (innermost last):
> File /usr/lib/zope/lib/python/ZPublisher/Publish.py, line 232, in publish_module
> File /usr/lib/zope/lib/python/ZPublisher/Publish.py, line 197, in publish
> File /usr/lib/zope/lib/python/Zope/__init__.py, line 202, in zpublisher_exception_hook
> (Object: ElementWithAttributes)
> File /usr/lib/zope/lib/python/ZPublisher/Publish.py, line 183, in publish
> File /usr/lib/zope/lib/python/ZPublisher/mapply.py, line 160, in mapply
> (Object: manage_importObject)
> File /usr/lib/zope/lib/python/ZPublisher/Publish.py, line 110, in call_object
> (Object: manage_importObject)
> File /usr/lib/zope/lib/python/OFS/ObjectManager.py, line 482, in manage_importObject
> (Object: ElementWithAttributes)
> File /usr/lib/zope/lib/python/OFS/ObjectManager.py, line 232, in _setObject
> (Object: ElementWithAttributes)
> File /usr/lib/zope/lib/python/OFS/ObjectManager.py, line 248, in manage_afterAdd
> (Object: ElementWithAttributes)
> File /usr/lib/zope/lib/python/ZClasses/ZClass.py, line 413, in manage_afterAdd
> (Object: Portal)
> File /usr/lib/zope/lib/python/OFS/ObjectManager.py, line 245, in manage_afterAdd
> (Object: ElementWithAttributes)
> File /usr/lib/zope/lib/python/OFS/ObjectManager.py, line 293, in objectValues
> (Object: ElementWithAttributes)
> File /usr/lib/zope/lib/python/ZClasses/Method.py, line 204, in _getOb
> (Object: ElementWithAttributes)
> File /usr/lib/zope/lib/python/ZClasses/ZClass.py, line 498, in getClassAttr
> (Object: Portal)
> KeyError: (see above)
I could be wrong above -- this is not the error I see when trying to import a
"product" export file into a normal folder.
Tres.
--
=========================================================
Tres Seaver tseaver@palladion.com 713-523-6582
Palladion Software http://www.palladion.com