[Zope-dev] Can't add Zclass

Mark Gibson mark@dimensional.com
Fri, 22 Sep 2000 00:45:46 -0600 (MDT)


I'm running:

   Zope version: Zope 2.2.1 (source release, python 1.5.2, linux2) 
   Python version: 1.5.2 

Suddenly, I can't create a Zclass within any of my products.  I go to
Control_Panel/Products.  Create a product test.  Move into test.

I try to Add a ZClass and get the following:

-----------

Error Type: Could not load oid 
Error Value: None

<!--
Traceback (innermost last):
  File /usr/lib/python1.5/site-packages/ZPublisher/Publish.py, line 222, in publish_module
  File /usr/lib/python1.5/site-packages/ZPublisher/Publish.py, line 187, in publish
  File /usr/share/zope/lib/python/Zope/__init__.py, line 221, in zpublisher_exception_hook
    (Object: Traversable)
  File /usr/lib/python1.5/site-packages/ZPublisher/Publish.py, line 171, in publish
  File /usr/lib/python1.5/site-packages/ZPublisher/mapply.py, line 160, in mapply
    (Object: manage_addZClass)
  File /usr/lib/python1.5/site-packages/ZPublisher/Publish.py, line 112, in call_object
    (Object: manage_addZClass)
  File /usr/share/zope/lib/python/ZClasses/ZClass.py, line 154, in manage_addZClass
    (Object: Traversable)
  File /usr/share/zope/lib/python/OFS/ObjectManager.py, line 264, in _setObject
    (Object: Traversable)
  File /usr/share/zope/lib/python/ZClasses/ZClass.py, line 421, in manage_afterAdd
    (Object: fff)
  File /usr/share/zope/lib/python/ZClasses/ZClass.py, line 374, in _register
    (Object: fff)
  File /usr/share/zope/lib/python/ZODB/Connection.py, line 447, in setstate
  File /usr/share/zope/lib/python/ZODB/Connection.py, line 213, in _persistent_load
    (Info: \010Contentsq\021U\004helpq\022(U\004OFSPq\023U\032ObjectManager_Contents.stxq\024tq\025U\006actionq\026U\013manage_mainq\027u}q\030(h\020U\015Import/Exportq\031h\022(h\023U\037ObjectManager_Import-Export.stxq\032tq\033h\026U\027manage_importExportFormq\034utq\035U\022__ac_permissions__q\036((U\016Add zmarkTestsq\037)(U\007Managerq tq!tq"tq#U\006_p_oidq$U\010\000\000\000\000\000\000\025zq%U\011meta_typeq&U\011zmarkTestq\'U\012__module__q(U\031*Imn0C9EPqOhwmjIol0gNgQ==q)U\016propertysheetsq*U\010\000\000\000\000\000\000\025\177q+Qutq,t.N.'))
Could not load oid >

------------

I seem to be able to add any other type of object.  I was able to add ZClasses
to my hearts content yesterday.  I can't think of anything I've down between 
then and now that could cause this to happen.

Any ideas?

Thanks,
Mark