I am a Zenoss novice and would love to be at the level that you folks are.  
Unfortunately, it is a learning process for me to get to that point.  For now, 
I need to ask the advice of the experts.

I recently upgraded from the 2.3 (Stack Installer) to 2.42 (Stack Installler) 
and all appeared to be fine until I tried to add a new device.  I get the "A 
Zenoss Error Has Occured" page with the following error details.  Could someone 
possibly tell me what I need to do to correct the problem?

 Type: KeyError
Value: 3497075

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/addDevice used for /zport/dmd>
    * 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 742, 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 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 690, in do_defineMacro
    * Module TAL.TALInterpreter, line 250, in interpret
    * Module TAL.TALInterpreter, line 424, in do_optTag_tal
    * Module TAL.TALInterpreter, line 406, in no_tag
    * 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/addDevice.pt
      Line 203, Column 16
      Expression: <PythonExpr 
here.getDmdRoot('Manufacturers').getProductNames(cname,'HardwareClass')>
      Names:

      {'container': <ZentinelPortal at /zport>,
       'context': <DataRoot at /zport/dmd>,
       'default': <Products.PageTemplates.TALES.Default instance at 0xf735ceac>,
       'here': <DataRoot at /zport/dmd>,
       'loop': <Products.PageTemplates.TALES.SafeMapping object at 0xb8dbdac>,
       'modules': <Products.PageTemplates.ZRPythonExpr._SecureModuleImporter 
instance at 0xf735f0ec>,
       'nothing': None,
       'options': {'args': ()},
       'repeat': <Products.PageTemplates.TALES.SafeMapping object at 0xb8dbdac>,
       'request': <HTTPRequest, 
URL=http://dctrlafsportal:8080/zport/dmd/addDevice>,
       'root': <Application at >,
       'template': <FSPageTemplate at /zport/addDevice used for /zport/dmd>,
       'traverse_subpath': [],
       'user': ljford}

    * Module Products.PageTemplates.ZRPythonExpr, line 47, in __call__
      __traceback_info__: 
here.getDmdRoot('Manufacturers').getProductNames(cname,'HardwareClass')
    * Module Python expression 
"here.getDmdRoot('Manufacturers').getProductNames(cname,'HardwareClass')", line 
1, in <expression>
    * Module Products.ZenModel.ManufacturerRoot, line 156, in getProductNames
    * Module Products.ZCatalog.ZCatalog, line 690, in searchResults
    * Module ZODB.Connection, line 704, in setstate
    * Module ZODB.Connection, line 758, in _setstate
    * Module ZODB.serialize, line 495, in setGhostState
    * Module ZODB.serialize, line 488, in getState
    * Module ZODB.serialize, line 436, in _persistent_load
    * Module ZODB.Connection, line 207, in get
    * Module ZEO.ClientStorage, line 746, in load
    * Module ZEO.ClientStorage, line 774, in loadEx
    * Module ZEO.cache, line 293, in store
    * Module ZEO.cache, line 980, in add
    * Module ZEO.cache, line 915, in _makeroom

KeyError: 3497075




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

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

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



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

Reply via email to