On Sep 30, 2008, at 3:12 AM, Indika Rupasinghe wrote:
My Google map gives an error while loading the dashboard after resorting zenos-core 2.2.0 to 2.2.4.

I m getting following error and all other features working fine after the restore..
Following is the error i m getting....

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

Type: KeyError
Value: '172.16.130.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 0xb770eacc>,

 'here': <Location at /zport/dmd/Locations>,
'loop': <Products.PageTemplates.TALES.SafeMapping object at 0xa57f30c>, 'modules': <Products.PageTemplates.ZRPythonExpr._SecureModuleImporter instance at 0xb7713b2c>,

 'nothing': None,
 'options': {'args': ()},
'repeat': <Products.PageTemplates.TALES.SafeMapping object at 0xa57f30c>, 'request': <HTTPRequest, URL=http://192.168.0.187:8080/zport/dmd/Locations/simpleLocationGeoMap >,

 'root': <Application at >,
'template': <FSPageTemplate at /zport/simpleLocationGeoMap used for /zport/dmd/Locations>,
 'traverse_subpath': [],
 'user': indika}
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.16.130.0')
Module OFS.ObjectManager, line 713, in __getitem__
KeyError: '172.16.130.0'

Check out the following article. It should help you fix this problem.

http://www.zenoss.com/Members/cluther/fix-a-broken-layer3_catalog/

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

Reply via email to