I think there's a stale reference in the zenPackPersistence catalog. Try 
running zendmd as the zenoss user and pasting in the following code.


Code:

def fixCatalog(catalog):
    print "  * %s" % catalog.id
    removeCount = 0
    problems = True
    while problems:
        problems = False
        brains = catalog()
        for o in brains:
            try:
                bah = o.getObject()
            except:
                print "    - removing %s." % o.getPath()
                catalog.uncatalog_object(o.getPath())
                removeCount += 1
                problems = True
        commit()
    if removeCount > 0: print

fixCatalog(dmd.zenPackPersistence)
commit()




Hit enter a couple of times after pasting it in to make sure that the commit 
takes. You can then type CTRL-D to exit the zendmd shell. Once this is complete 
you can try to remove the ZenPack again.




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

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

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



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

Reply via email to