after upgradging to Zenoss 2.1.71 r7354 I am getting the following error when 
looking at hardware profiles for my windows machines..

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

 Type: KeyError
Value: 'powersupplies'

Traceback (innermost last):

    * Module ZPublisher.Publish, line 114, in publish
    * Module ZPublisher.mapply, line 88, in mapply
    * Module ZPublisher.Publish, line 40, in call_object
    * Module Shared.DC.Scripts.Bindings, line 311, in __call__
    * Module Shared.DC.Scripts.Bindings, line 348, in _bindAndExec
    * Module Products.CMFCore.FSPageTemplate, line 195, in _exec
    * Module Products.CMFCore.FSPageTemplate, line 134, in pt_render
    * Module Products.PageTemplates.PageTemplate, line 104, in pt_render
      <FSPageTemplate at /zport/deviceHardwareDetail used for 
/zport/dmd/Devices/Server/Windows/devices/osgood>
    * Module TAL.TALInterpreter, line 206, in __call__
    * Module TAL.TALInterpreter, line 250, in interpret
    * Module TAL.TALInterpreter, line 711, in do_useMacro
    * Module TAL.TALInterpreter, line 250, in interpret
    * Module TAL.TALInterpreter, line 426, in do_optTag_tal
    * Module TAL.TALInterpreter, line 411, in do_optTag
    * Module TAL.TALInterpreter, line 406, in no_tag
    * Module TAL.TALInterpreter, line 250, in interpret
    * Module TAL.TALInterpreter, line 711, in do_useMacro
    * Module TAL.TALInterpreter, line 250, in interpret
    * Module TAL.TALInterpreter, line 426, in do_optTag_tal
    * Module TAL.TALInterpreter, line 411, in do_optTag
    * Module TAL.TALInterpreter, line 406, in no_tag
    * Module TAL.TALInterpreter, line 250, in interpret
    * Module TAL.TALInterpreter, line 734, in do_defineSlot
    * Module TAL.TALInterpreter, line 250, in interpret
    * Module TAL.TALInterpreter, line 426, in do_optTag_tal
    * Module TAL.TALInterpreter, line 411, in do_optTag
    * Module TAL.TALInterpreter, line 406, in no_tag
    * Module TAL.TALInterpreter, line 250, in interpret
    * Module TAL.TALInterpreter, line 734, in do_defineSlot
    * Module TAL.TALInterpreter, line 250, in interpret
    * Module TAL.TALInterpreter, line 426, in do_optTag_tal
    * Module TAL.TALInterpreter, line 411, in do_optTag
    * Module TAL.TALInterpreter, line 406, in no_tag
    * Module TAL.TALInterpreter, line 250, in interpret
    * Module TAL.TALInterpreter, line 690, in do_defineMacro
    * Module TAL.TALInterpreter, line 250, in interpret
    * Module TAL.TALInterpreter, line 477, in do_setLocal_tal
    * Module Products.PageTemplates.TALES, line 221, in evaluate
      URL: file:ZenModel/skins/zenmodel/deviceHardwareDetail.pt
      Line 116, Column 0
      Expression: standard:'here/hw/powersupplies/objectValuesAll'
      Names:

      {'container': <ZentinelPortal at /zport>,
       'context': <Device at /zport/dmd/Devices/Server/Windows/devices/osgood>,
       'default': <Products.PageTemplates.TALES.Default instance at 0xb7469f8c>,
       'here': <Device at /zport/dmd/Devices/Server/Windows/devices/osgood>,
       'loop': <Products.PageTemplates.TALES.SafeMapping object at 0xa1de52c>,
       'modules': <Products.PageTemplates.ZRPythonExpr._SecureModuleImporter 
instance at 0xb746c1cc>,
       'nothing': None,
       'options': {'args': ()},
       'repeat': <Products.PageTemplates.TALES.SafeMapping object at 0xa1de52c>,
       'request': <HTTPRequest, 
URL=http://zen.barroncollier.com:8080/zport/dmd/Devices/Server/Windows/devices/osgood/deviceHardwareDetail>,
       'root': <Application at >,
       'template': <FSPageTemplate at /zport/deviceHardwareDetail used for 
/zport/dmd/Devices/Server/Windows/devices/osgood>,
       'traverse_subpath': [],
       'user': admin}

    * Module Products.PageTemplates.Expressions, line 185, in __call__
    * Module Products.PageTemplates.Expressions, line 173, in _eval
    * Module Products.PageTemplates.Expressions, line 127, in _eval
      __traceback_info__: here
    * Module Products.PageTemplates.Expressions, line 320, in restrictedTraverse
      __traceback_info__: {'path': ['hw', 'powersupplies', 'objectValuesAll'], 
'TraversalRequestNameStack': ['objectValuesAll']}
    * Module OFS.ObjectManager, line 713, in __getitem__
---------------------------------------




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

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

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



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

Reply via email to