When I enter my registered google maps api key, I get an error
in the Dashboard -> Locations screen as follows:

===========================================
Type: OperationalError 
Value: (2002, "Can't connect to local MySQL server through socket 
'/var/lib/mysql/mysql.sock' (2)") 

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 31, Column 4
Expression: string:"\n var geocodecache;\n var nodedata = 
${here/getChildGeomapData};\n var linkdata = ${here/getChildLinks};\n var 
secondarynodedata = ${here/getSecondaryNodes};\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 0xb7750b6c>,
 'here': <Location at /zport/dmd/Locations>,
 'loop': <Products.PageTemplates.TALES.SafeMapping object at 0x9ffe4ec>,
 'modules': <Products.PageTemplates.ZRPythonExpr._SecureModuleImporter instance 
at 0xb7752bcc>,
 'nothing': None,
 'options': {'args': ()},
 'repeat': <Products.PageTemplates.TALES.SafeMapping object at 0x9ffe4ec>,
 'request': <HTTPRequest, 
URL=http://10.90.1.6: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 145, in getChildGeomapData Module 
Products.ZenModel.Location, line 120, in getGeomapData Module 
Products.ZenModel.EventView, line 89, in getEventSummary Module 
Products.ZenEvents.EventManagerBase, line 568, in getEventSummaryME Module 
Products.ZenEvents.MySqlEventManager, line 84, in getEventSummary Module 
Products.ZenEvents.DbAccessBase, line 31, in connect Module 
Products.ZenEvents.DbConnectionPool, line 70, in get Module 
Products.ZenEvents.DbConnectionPool, line 103, in _createConnection Module 
MySQLdb, line 66, in Connect Module MySQLdb.connections, line 134, in __init__ 
OperationalError: (2002, "Can't connect to local MySQL server through socket 
'/var/lib/mysql/mysql.
 sock' (2)")
===========================================

Any suggestions?

------------------------
 pmartin150




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

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

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



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

Reply via email to