My amMap query returns proper results and the xml output is generated. But I get 500 error when calling ammap_view.
2011-03-22 14:36:32,872 DEBUG [4d891660a02aaaac973e10] _cplogging:55 - [22/Mar/2011:14:36:32] HTTP Traceback (most recent call last):
File "/splunk/chspsprd204/4.1.6-89596-Linux-x86_64/splunk/lib/python2.6/site-packages/cherrypy/_cprequest.py", line 606, in respond
cherrypy.response.body = self.handler()
File "/splunk/chspsprd204/4.1.6-89596-Linux-x86_64/splunk/lib/python2.6/site-packages/cherrypy/_cpdispatch.py", line 25, in __call__
return self.callable(*self.args, **self.kwargs)
File "/splunk/chspsprd204/4.1.6-89596-Linux-x86_64/splunk/lib/python2.6/site-packages/splunk/appserver/mrsparkle/lib/routes.py", line 307, in default
return route.target(self, **kw)
File "<string>", line 1, in <lambda>
File "/splunk/chspsprd204/4.1.6-89596-Linux-x86_64/splunk/lib/python2.6/site-packages/splunk/appserver/mrsparkle/lib/decorators.py", line 38, in rundecs
return fn(*a, **kw)
File "<string>", line 1, in <lambda>
File "/splunk/chspsprd204/4.1.6-89596-Linux-x86_64/splunk/lib/python2.6/site-packages/splunk/appserver/mrsparkle/lib/decorators.py", line 93, in check
return fn(self, *a, **kw)
File "<string>", line 1, in <lambda>
File "/splunk/chspsprd204/4.1.6-89596-Linux-x86_64/splunk/lib/python2.6/site-packages/splunk/appserver/mrsparkle/lib/decorators.py", line 141, in validate_ip
return fn(self, *a, **kw)
File "<string>", line 1, in <lambda>
File "/splunk/chspsprd204/4.1.6-89596-Linux-x86_64/splunk/lib/python2.6/site-packages/splunk/appserver/mrsparkle/lib/decorators.py", line 275, in preform_sso_check
return fn(self, *a, **kw)
File "<string>", line 1, in <lambda>
File "/splunk/chspsprd204/4.1.6-89596-Linux-x86_64/splunk/lib/python2.6/site-packages/splunk/appserver/mrsparkle/lib/decorators.py", line 312, in check_login
return fn(self, *a, **kw)
File "<string>", line 1, in <lambda>
File "/splunk/chspsprd204/4.1.6-89596-Linux-x86_64/splunk/lib/python2.6/site-packages/splunk/appserver/mrsparkle/lib/decorators.py", line 333, in handle_exceptions
return fn(self, *a, **kw)
File "/splunk/chspsprd204/4.1.6-89596-Linux-x86_64/splunk/lib/python2.6/site-packages/splunk/appserver/mrsparkle/controllers/view.py", line 1219, in render
templateArgs = self.buildViewTemplate(app, view_id, action, q, sid, s, earliest, latest, remote_server_list, now=now)
File "/splunk/chspsprd204/4.1.6-89596-Linux-x86_64/splunk/lib/python2.6/site-packages/splunk/appserver/mrsparkle/controllers/view.py", line 954, in buildViewTemplate
if local_apps[app].has_key('static'):
File "/splunk/chspsprd204/4.1.6-89596-Linux-x86_64/splunk/lib/python2.6/site-packages/splunk/appserver/mrsparkle/lib/apps.py", line 156, in __getitem__
return self.apps.__getitem__(unicode(index, 'utf-8'))
KeyError: u'amMap'