← Back to team overview

graphite-dev team mailing list archive

[Question #187148]: DatabaseError: no such table: auth_user

 

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

I am receiving the following trace on a fresh install of all 0.9.9.  Any ideas?

Ubuntu 10.10
Python 2.6.6
py2cairo 1.10.0
python-django 1.2.3
django-tagging 0.3.1
python-twisted 10.1.0
Apache mod_wsgi

Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.6/django/core/handlers/base.py", line 91, in get_response
    request.path_info)
  File "/usr/lib/pymodules/python2.6/django/core/urlresolvers.py", line 217, in resolve
    sub_match = pattern.resolve(new_path)
  File "/usr/lib/pymodules/python2.6/django/core/urlresolvers.py", line 123, in resolve
    return self.callback, args, kwargs
  File "/usr/lib/pymodules/python2.6/django/core/urlresolvers.py", line 129, in _get_callback
    self._callback = get_callable(self._callback_str)
  File "/usr/lib/pymodules/python2.6/django/utils/functional.py", line 124, in wrapper
    result = func(*args)
  File "/usr/lib/pymodules/python2.6/django/core/urlresolvers.py", line 56, in get_callable
    lookup_view = getattr(import_module(mod_name), func_name)
  File "/usr/lib/pymodules/python2.6/django/utils/importlib.py", line 35, in import_module
    __import__(name)
  File "/opt/graphite/webapp/graphite/browser/views.py", line 20, in <module>
    from graphite.util import getProfile, getProfileByUsername, defaultUser, json
  File "/opt/graphite/webapp/graphite/util.py", line 55, in <module>
    defaultUser = User.objects.get(username='default')
  File "/usr/lib/pymodules/python2.6/django/db/models/manager.py", line 132, in get
    return self.get_query_set().get(*args, **kwargs)
  File "/usr/lib/pymodules/python2.6/django/db/models/query.py", line 336, in get
    num = len(clone)
  File "/usr/lib/pymodules/python2.6/django/db/models/query.py", line 81, in __len__
    self._result_cache = list(self.iterator())
  File "/usr/lib/pymodules/python2.6/django/db/models/query.py", line 269, in iterator
    for row in compiler.results_iter():
  File "/usr/lib/pymodules/python2.6/django/db/models/sql/compiler.py", line 672, in results_iter
    for rows in self.execute_sql(MULTI):
  File "/usr/lib/pymodules/python2.6/django/db/models/sql/compiler.py", line 727, in execute_sql
    cursor.execute(sql, params)
  File "/usr/lib/pymodules/python2.6/django/db/backends/sqlite3/base.py", line 200, in execute
    return Database.Cursor.execute(self, query, params)
DatabaseError: no such table: auth_user

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


Follow ups