← Back to team overview

graphite-dev team mailing list archive

[Question #209755]: Graphite webUI wont load...gives Django error

 

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

Hello, 

I am a graphite newbie and am encountering this error after my initial installation.  Tried searching for this problem throughout the web, but couldn't find anything related to Graphite installs.  Any help is greatly, greatly appreciated.   Thanks in advance for everyone's time and help.

Here is what my browser returns when going to http://myserveradress.com   (note: for some reason http://myserveraddress.com:8080 doesnt load at all).



Graphite encountered an unexpected error while handling your request.

Please contact your site administrator if the problem persists.


Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/django/core/handlers/base.py", line 101, in get_response
    request.path_info)
  File "/usr/lib/python2.7/dist-packages/django/core/urlresolvers.py", line 250, in resolve
    for pattern in self.url_patterns:
  File "/usr/lib/python2.7/dist-packages/django/core/urlresolvers.py", line 279, in _get_url_patterns
    patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
  File "/usr/lib/python2.7/dist-packages/django/core/urlresolvers.py", line 274, in _get_urlconf_module
    self._urlconf_module = import_module(self.urlconf_name)
  File "/usr/lib/python2.7/dist-packages/django/utils/importlib.py", line 35, in import_module
    __import__(name)
  File "/opt/graphite/webapp/graphite/urls.py", line 20, in <module>
    admin.autodiscover()
  File "/usr/lib/python2.7/dist-packages/django/contrib/admin/__init__.py", line 26, in autodiscover
    import_module('%s.admin' % app)
  File "/usr/lib/python2.7/dist-packages/django/utils/importlib.py", line 35, in import_module
    __import__(name)
  File "/opt/graphite/webapp/graphite/events/admin.py", line 4, in <module>
    admin.site.register(Event)
  File "/usr/lib/python2.7/dist-packages/django/contrib/admin/sites.py", line 85, in register
    raise AlreadyRegistered('The model %s is already registered' % model.__name__)
AlreadyRegistered: The model Event is already registered


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