This is still a problem for all of us that have location in different zipcodes. 
I have 4 locations, spread across the country. Right now, I have not assigned 
any devices to the locations. I CAN visit each locations map individually but 
not using the portlet map on the dashboard. I am using safari2 and firefox 3 
both have the same issue. Clearing the geocode cache does nothing for me. Below 
it the error. The device it is complaining about doesn't exist in any of my 
sites.

 Type: KeyError
Value: '172.30.1.0'

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/simpleLocationGeoMap used for 
/zport/dmd/Locations>
    * Module TAL.TALInterpreter, line 206, in __call__
    * Module TAL.TALInterpreter, line 250, in interpret
    * Module TAL.TALInterpreter, line 677, in do_condition
    * 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 501, in do_insertText_tal
    * Module Products.PageTemplates.TALES, line 227, in evaluateText
    * Module Products.PageTemplates.TALES, line 221, in evaluate
      URL: file:ZenWidgets/skins/zenui/simpleLocationGeoMap.pt
      Line 32, Column 4
      Expression: string:"\n var geocodecache;\n var nodedata = 
${here/getChildGeomapData};\n var linkdata = ${here/getChildLinks};\n var 
cachestring = '${here/dmd/getGeoCache}';\n if (cachestring) geocodecache = 
evalJSON(cachestring);\n "
      Names:

      {'container': <ZentinelPortal at /zport>,
       'context': <Location at /zport/dmd/Locations>,
       'default': <Products.PageTemplates.TALES.Default instance at 
0x2b99079a5680>,
       'here': <Location at /zport/dmd/Locations>,
       'loop': <Products.PageTemplates.TALES.SafeMapping object at 0x18d12950>,
       'modules': <Products.PageTemplates.ZRPythonExpr._SecureModuleImporter 
instance at 0x2b99079a5a70>,
       'nothing': None,
       'options': {'args': ()},
       'repeat': <Products.PageTemplates.TALES.SafeMapping object at 
0x18d12950>,
       'request': <HTTPRequest, 
URL=http://zenoss.blah.com:8080/zport/dmd/Locations/simpleLocationGeoMap>,
       'root': <Application at >,
       'template': <FSPageTemplate at /zport/simpleLocationGeoMap used for 
/zport/dmd/Locations>,
       'traverse_subpath': [],
       'user': admin}

    * Module Products.PageTemplates.Expressions, line 224, in __call__
    * 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.Location, line 110, in getChildLinks
    * Module Products.ZenModel.LinkManager, line 171, in getChildLinks
    * Module OFS.Traversable, line 221, in unrestrictedTraverse
      __traceback_info__: (['172.30.1.16'], '172.30.1.0')
    * Module OFS.ObjectManager, line 713, in __getitem__

KeyError: '172.30.1.0'




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

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

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



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

Reply via email to