Hi
I was following instructions as per "Web Framework Tookit" instructions to create a bubble chart into one of my app. When I follow the instructions, I'm getting error as below when I open "Web Framework Tookit"
Traceback (most recent call last):
File "/opt/splunk/lib/python2.7/site-packages/cherrypy/wsgiserver/__init__.py", line 1237, in communicate
req.respond()
File "/opt/splunk/lib/python2.7/site-packages/cherrypy/wsgiserver/__init__.py", line 554, in respond
self._respond()
File "/opt/splunk/lib/python2.7/site-packages/cherrypy/wsgiserver/__init__.py", line 566, in _respond
response = self.wsgi_app(self.environ, self.start_response)
File "/opt/splunk/lib/python2.7/site-packages/cherrypy/_cptree.py", line 239, in __call__
return app(environ, start_response)
File "/opt/splunk/lib/python2.7/site-packages/django/core/handlers/wsgi.py", line 255, in __call__
response = self.get_response(request)
File "/opt/splunk/lib/python2.7/site-packages/django/core/handlers/base.py", line 178, in get_response
response = self.handle_uncaught_exception(request, resolver, sys.exc_info())
File "/opt/splunk/etc/apps/framework/server/splunkdj/management/commands/runwsgiserver.py", line 189, in handle_uncaught_exception
return super(LoggingWSGIHandler, self).handle_uncaught_exception(request, resolver, exc_info, *args, **kwargs)
File "/opt/splunk/lib/python2.7/site-packages/django/core/handlers/base.py", line 220, in handle_uncaught_exception
if resolver.urlconf_module is None:
File "/opt/splunk/lib/python2.7/site-packages/django/core/urlresolvers.py", line 342, in urlconf_module
self._urlconf_module = import_module(self.urlconf_name)
File "/opt/splunk/lib/python2.7/site-packages/django/utils/importlib.py", line 35, in import_module
__import__(name)
File "/opt/splunk/etc/apps/framework/server/urls.py", line 68, in <module>
app_module = importlib.import_module(app)
File "/opt/splunk/lib/python2.7/site-packages/django/utils/importlib.py", line 35, in import_module
__import__(name)
ImportError: No module named mySampleApp
The instructions were to:
When the toolkit is installed:
reference components in the toolkit
When the Web Framework Toolkit is
installed on the same Splunk instance
as your app, you can reference the
toolkit components from your app by
loading the component libraries
directly from the toolkit. Just
require the component library using a
relative path such as
"splunk_wftoolkit/components/component_name/component_name".
And, be sure to verify that the latest
version of the toolkit is deployed on
the server.
Any ideas how to fix the error?
Also how to access the newly generated views in mySampleApp?
... View more