[Zope] ZClass in a ZClass error
Bruce C. Dillahunty
bdillahu@mindspring.com
Thu, 08 Jul 1999 22:30:32 -0400
I'm a new Zoper (Zopee???), so this may (probably is) just a mistake in use,
but I can't seem to add a ZClass inside of (on the methods page) another
ZClass. When I do, I get:
exceptions.AttributeError
With:
Traceback (innermost last):
File /mnt/oracle/bdillahu_work/Zope/lib/python/ZPublisher/Publish.py, line 256, in publish_module
File /mnt/oracle/bdillahu_work/Zope/lib/python/ZPublisher/Publish.py, line 161, in publish
File /mnt/oracle/bdillahu_work/Zope/lib/python/ZPublisher/mapply.py, line 154, in mapply
(Object: manage_addZClass)
File /mnt/oracle/bdillahu_work/Zope/lib/python/ZPublisher/Publish.py, line 98, in call_object
(Object: manage_addZClass)
File /mnt/oracle/bdillahu_work/Zope/lib/python/ZClasses/ZClassOwner.py, line 97, in manage_addZClass
(Object: methods)
File /mnt/oracle/bdillahu_work/Zope/lib/python/ZClasses/ZClass.py, line 141, in manage_addZClass
(Object: methods)
File /mnt/oracle/bdillahu_work/Zope/lib/python/OFS/ObjectManager.py, line 222, in _setObject
(Object: methods)
File /mnt/oracle/bdillahu_work/Zope/lib/python/ZClasses/ZClass.py, line 364, in manage_afterAdd
(Object: MSNote)
File /mnt/oracle/bdillahu_work/Zope/lib/python/ZClasses/ZClass.py, line 340, in _register
(Object: MSNote)
AttributeError: 'None' object has no attribute 'root'
Any ideas?
I'm on SuSE Linux 6.1, fairly plain, running the latest CVS version (as of
yesterday), but this has been happening from 2.0.0a1 and up.
Running "python z2.py -d 127.0.0.1" as a command line.
Thanks,
Bruce
--
Bruce C. Dillahunty
Peachbush Enterprises
bdillahu@mindspring.com