[zenoss-zenpacks] AttributeError: 'ZenPack' object has no attribute '__of__'

davetoo dlc at netapp.com
Wed Dec 5 21:28:34 EST 2007


Got my 675-object zenpack exported and loaded onto a test system.  Can't remove it, though:

Traceback (most recent call last):
  File "/opt/zenoss/Products/ZenUtils/zenpack.py", line 287, in ?
    zp.run()
  File "/opt/zenoss/Products/ZenUtils/zenpack.py", line 58, in run
    self.remove(self.options.removePackName)
  File "/opt/zenoss/Products/ZenUtils/zenpack.py", line 143, in remove
    for pack in self.dmd.packs():
  File "/opt/zenoss/Products/ZenRelations/ToManyContRelationship.py", line 65, in __call__
    return [ob.__of__(self) for ob in self._objects.values()]
AttributeError: 'ZenPack' object has no attribute '__of__'

This happened on my 2.1.1 install, although the above is from the latest 2.1.x branch.




-------------------- m2f --------------------

Read this topic online here:
http://community.zenoss.com/forums/viewtopic.php?p=14047#14047

-------------------- m2f --------------------





More information about the zenoss-zenpacks mailing list