← Back to team overview

graphite-dev team mailing list archive

[Question #151233]: 'AdminSite' object has no attribute 'root'

 

New question #151233 on Graphite:
https://answers.launchpad.net/graphite/+question/151233

Hey All,

Everything seemed to install ok but now I'm faced with an error that goes nowhere:


Traceback (most recent call last):
  File "/usr/local/lib/python2.7/site-packages/django/core/servers/basehttp.py", line 283, in run
    self.result = application(self.environ, self.start_response)
  File "/usr/local/lib/python2.7/site-packages/django/contrib/staticfiles/handlers.py", line 68, in __call__
    return self.application(environ, start_response)
  File "/usr/local/lib/python2.7/site-packages/django/core/handlers/wsgi.py", line 273, in __call__
    response = self.get_response(request)
  File "/usr/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 169, in get_response
    response = self.handle_uncaught_exception(request, resolver, sys.exc_info())
  File "/usr/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 214, in handle_uncaught_exception
    if resolver.urlconf_module is None:
  File "/usr/local/lib/python2.7/site-packages/django/core/urlresolvers.py", line 274, in _get_urlconf_module
    self._urlconf_module = import_module(self.urlconf_name)
  File "/usr/local/lib/python2.7/site-packages/django/utils/importlib.py", line 35, in import_module
    __import__(name)
  File "/opt/graphite/webapp/graphite/urls.py", line 22, in <module>
    ('^admin/(.*)', admin.site.root),
AttributeError: 'AdminSite' object has no attribute 'root'

No idea which module is misconfigured.  Any help would be appreciated.

-- 
You received this question notification because you are a member of
graphite-dev, which is an answer contact for Graphite.