Ian, Then change below (and a Zenoss restart) fixed the problem. I don't know what the missing component is (I do see some traps that don't have a component).
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ian McCracken Sent: Tuesday, October 09, 2007 12:30 PM To: General discussion of using zenoss system Subject: Re: [zenoss-users] 2.0.92 data model Todd, That's quite strange, if only because that error hasn't been seen elsewhere. Could you try changing the line: > metatypes = Set([x.meta_type for x in brains]) To: metatypes = Set( [ str(x.meta_type) for x in brains ] ) My guess is that there's a meta_type==None in there somewhere, which shouldn't happen. This will flush it out. At the very list it'll fix the problem. --Ian On Oct 9, 2007, at 10:07 AM, Todd Davis wrote: > I'm still fighting the devices in 2.0.92. Anyone have any idea how > to fix > this? When pulling up an individual device, I get: > * Module Products.PageTemplates.Expressions, line 185, in > __call__ > * Module Products.PageTemplates.Expressions, line 180, in _eval > * Module Products.PageTemplates.Expressions, line 85, in render > * Module Products.ZenModel.Device, line 1539, in > getDeviceComponentEventSummary > * Module Products.ZenEvents.EventManagerBase, line 629, in > getDeviceComponentEventSummary > * Module sets, line 429, in __init__ > * Module sets, line 374, in _update > > TypeError: unhashable type > > The line that is causing the problem (in EventMangerBase.py) is: > metatypes = Set([x.meta_type for x in brains]) > > meta_type is added in the migration script (version 2.1.0). I've > tried > re-running this step of zenmigrate and it succeeds (although I > don't know > how to verify it). Every device throws the same error -- making > Zenoss > barely usable right now. > > > > > _______________________________________________ > zenoss-users mailing list > [email protected] > http://lists.zenoss.org/mailman/listinfo/zenoss-users _______________________________________________ zenoss-users mailing list [email protected] http://lists.zenoss.org/mailman/listinfo/zenoss-users _______________________________________________ zenoss-users mailing list [email protected] http://lists.zenoss.org/mailman/listinfo/zenoss-users
