graphite-dev team mailing list archive
-
graphite-dev team
-
Mailing list archive
-
Message #02285
Re: [Question #178172]: OperationalError: unable to open database file
Question #178172 on Graphite changed:
https://answers.launchpad.net/graphite/+question/178172
cbrinley posted a new comment:
As a start i'd recommend either running the django syncdb or perhaps the
sqlite file has the wrong ownership / permissions. Could potentially be
another cause but that is an initial suggestion.
On Mar 18, 2012 8:57 PM, "sanjaya dahal" <
question178172@xxxxxxxxxxxxxxxxxxxxx> wrote:
> Question #178172 on Graphite changed:
> https://answers.launchpad.net/graphite/+question/178172
>
> sanjaya dahal posted a new comment:
> hi can any body explain what this error is
> Traceback:
> File "/usr/lib/pymodules/python2.7/django/core/handlers/base.py" in
> get_response
> 178. response = middleware_method(request, response)
> File "/usr/lib/pymodules/python2.7/django/contrib/sessions/middleware.py"
> in process_response
> 36. request.session.save()
> File "/usr/lib/pymodules/python2.7/django/contrib/sessions/backends/db.py"
> in save
> 56. session_key = self.session_key,
> File
> "/usr/lib/pymodules/python2.7/django/contrib/sessions/backends/base.py" in
> _get_session_key
> 175. self._session_key = self._get_new_session_key()
> File
> "/usr/lib/pymodules/python2.7/django/contrib/sessions/backends/base.py" in
> _get_new_session_key
> 167. if not self.exists(session_key):
> File "/usr/lib/pymodules/python2.7/django/contrib/sessions/backends/db.py"
> in exists
> 29. Session.objects.get(session_key=session_key)
> File "/usr/lib/pymodules/python2.7/django/db/models/manager.py" in get
> 132. return self.get_query_set().get(*args, **kwargs)
> File "/usr/lib/pymodules/python2.7/django/db/models/query.py" in get
> 344. num = len(clone)
> File "/usr/lib/pymodules/python2.7/django/db/models/query.py" in __len__
> 82. self._result_cache = list(self.iterator())
> File "/usr/lib/pymodules/python2.7/django/db/models/query.py" in iterator
> 273. for row in compiler.results_iter():
> File "/usr/lib/pymodules/python2.7/django/db/models/sql/compiler.py" in
> results_iter
> 680. for rows in self.execute_sql(MULTI):
> File "/usr/lib/pymodules/python2.7/django/db/models/sql/compiler.py" in
> execute_sql
> 734. cursor = self.connection.cursor()
> File "/usr/lib/pymodules/python2.7/django/db/backends/__init__.py" in
> cursor
> 250. cursor = self.make_debug_cursor(self._cursor())
> File "/usr/lib/pymodules/python2.7/django/db/backends/sqlite3/base.py" in
> _cursor
> 207. self.connection = Database.connect(**kwargs)
>
> Exception Type: OperationalError at /auth/login/
> Exception Value: unable to open database file
>
> --
> You received this question notification because you are a member of
> graphite-dev, which is an answer contact for Graphite.
>
> _______________________________________________
> Mailing list: https://launchpad.net/~graphite-dev
> Post to : graphite-dev@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~graphite-dev
> More help : https://help.launchpad.net/ListHelp
>
--
You received this question notification because you are a member of
graphite-dev, which is an answer contact for Graphite.