I'm trying to modify one of my templates when I get the all to familiar dmd 
error page - Type: KeyError 
Value: 'editHttpMonitorDataSource' 
I'm assuming that I have a problem with the zenpack ZenPacks.zenoss.HttpMonitor 
which is confirmed when I try to remove and re-add it with  
zenpack --remove ZenPacks.zenoss.HttpMonitor
Traceback (most recent call last):
  File "/usr/local/zenoss/zenoss/Products/ZenUtils/zenpack.py", line 392, in ?
    zp.run()
  File "/usr/local/zenoss/zenoss/Products/ZenUtils/zenpack.py", line 163, in run
    self.options.removePackName)
  File "/usr/local/zenoss/zenoss/Products/ZenUtils/ZenPackCmd.py", line 791, in 
RemoveZenPack
    zp.remove(dmd, leaveObjects)
  File "/usr/local/zenoss/zenoss/Products/ZenModel/ZenPack.py", line 226, in 
remove
    self.removeCatalogedObjects(app)
  File "/usr/local/zenoss/zenoss/Products/ZenModel/ZenPack.py", line 294, in 
removeCatalogedObjects
    objects = self.getCatalogedObjects()
  File "/usr/local/zenoss/zenoss/Products/ZenModel/ZenPack.py", line 307, in 
getCatalogedObjects
    return GetCatalogedObjects(self.dmd, self.id) or []
  File "/usr/local/zenoss/zenoss/Products/ZenModel/ZenPackPersistence.py", line 
51, in GetCatalogedObjects
    result = [c.getObject() for c in brains]
  File 
"/usr/local/zenoss/zenoss/lib/python/Products/ZCatalog/CatalogBrains.py", line 
77, in getObject
    parent = parent.unrestrictedTraverse(path[:-1])
  File "/usr/local/zenoss/zenoss/lib/python/OFS/Traversable.py", line 221, in 
unrestrictedTraverse
    next=obj[name]
  File "/usr/local/zenoss/zenoss/lib/python/OFS/ObjectManager.py", line 713, in 
__getitem__
    raise KeyError, key
KeyError: 'HTTPpagechecker'

At this point I'm not sure how to proceed. I went through the usual rigamoral 
of stopping zenoss removing the zeo1.zec file and even went so far as to remove 
the .pyc files in the ZenPacks.zenoss.HttpMonitor-2.0.0-py2.4.egg directory, I 
have tried reinstalling over the existing pack and get:
 zenpack --install ~/ZenPacks.zenoss.HttpMonitor-2.0.0-py2.4.egg
INFO:zen.ZenPackCMD:Previous ZenPack exists with same name 
ZenPacks.zenoss.HttpMonitor
INFO:zen.ZenPackCMD:installing zenpack ZenPacks.zenoss.HttpMonitor; launching 
process
INFO:zen.ZPLoader:Loading 
/usr/local/zenoss/zenoss/ZenPacks/ZenPacks.zenoss.HttpMonitor-2.0.0-py2.4.egg/ZenPacks/zenoss/HttpMonitor/objects/objects.xml
INFO:zen.AddToPack:End loading objects
INFO:zen.AddToPack:Processing links
INFO:zen.AddToPack:Loaded 0 objects into database
INFO:zen.HookReportLoader:loading reports 
from:/usr/local/zenoss/zenoss/ZenPacks/ZenPacks.zenoss.HttpMonitor-2.0.0-py2.4.egg/ZenPacks/zenoss/HttpMonitor/reports


There seems to be no change in behavior (even with another restart) any 
thoughts on how to correct this?




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

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

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



_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users

Reply via email to