Created
August 13, 2014 12:14
-
-
Save in3xes/0acab01850a776dff90c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Django Version: 1.6.5 | |
| Exception Type: OperationalError | |
| Exception Value: | |
| unable to open database file | |
| Exception Location: /usr/local/lib/python2.7/dist-packages/django/db/backends/sqlite3/base.py in get_new_connection, line 346 | |
| Python Executable: /usr/bin/python | |
| Django Version: 1.6.5 | |
| Python Version: 2.7.6 | |
| Installed Applications: | |
| ('django.contrib.admin', | |
| 'django.contrib.auth', | |
| 'django.contrib.contenttypes', | |
| 'django.contrib.sessions', | |
| 'django.contrib.messages', | |
| 'django.contrib.staticfiles') | |
| Installed Middleware: | |
| ('django.contrib.sessions.middleware.SessionMiddleware', | |
| 'django.middleware.common.CommonMiddleware', | |
| 'django.middleware.csrf.CsrfViewMiddleware', | |
| 'django.contrib.auth.middleware.AuthenticationMiddleware', | |
| 'django.contrib.messages.middleware.MessageMiddleware', | |
| 'django.middleware.clickjacking.XFrameOptionsMiddleware') | |
| Traceback: | |
| File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py" in get_response | |
| 112. response = wrapped_callback(request, *callback_args, **callback_kwargs) | |
| File "/usr/local/lib/python2.7/dist-packages/django/contrib/admin/sites.py" in wrapper | |
| 215. return self.admin_view(view, cacheable)(*args, **kwargs) | |
| File "/usr/local/lib/python2.7/dist-packages/django/utils/decorators.py" in _wrapped_view | |
| 99. response = view_func(request, *args, **kwargs) | |
| File "/usr/local/lib/python2.7/dist-packages/django/views/decorators/cache.py" in _wrapped_view_func | |
| 52. response = view_func(request, *args, **kwargs) | |
| File "/usr/local/lib/python2.7/dist-packages/django/contrib/admin/sites.py" in inner | |
| 197. return self.login(request) | |
| File "/usr/local/lib/python2.7/dist-packages/django/views/decorators/cache.py" in _wrapped_view_func | |
| 52. response = view_func(request, *args, **kwargs) | |
| File "/usr/local/lib/python2.7/dist-packages/django/contrib/admin/sites.py" in login | |
| 330. return login(request, **defaults) | |
| File "/usr/local/lib/python2.7/dist-packages/django/views/decorators/debug.py" in sensitive_post_parameters_wrapper | |
| 75. return view(request, *args, **kwargs) | |
| File "/usr/local/lib/python2.7/dist-packages/django/utils/decorators.py" in _wrapped_view | |
| 99. response = view_func(request, *args, **kwargs) | |
| File "/usr/local/lib/python2.7/dist-packages/django/views/decorators/cache.py" in _wrapped_view_func | |
| 52. response = view_func(request, *args, **kwargs) | |
| File "/usr/local/lib/python2.7/dist-packages/django/contrib/auth/views.py" in login | |
| 36. if form.is_valid(): | |
| File "/usr/local/lib/python2.7/dist-packages/django/forms/forms.py" in is_valid | |
| 129. return self.is_bound and not bool(self.errors) | |
| File "/usr/local/lib/python2.7/dist-packages/django/forms/forms.py" in errors | |
| 121. self.full_clean() | |
| File "/usr/local/lib/python2.7/dist-packages/django/forms/forms.py" in full_clean | |
| 274. self._clean_form() | |
| File "/usr/local/lib/python2.7/dist-packages/django/forms/forms.py" in _clean_form | |
| 300. self.cleaned_data = self.clean() | |
| File "/usr/local/lib/python2.7/dist-packages/django/contrib/admin/forms.py" in clean | |
| 28. self.user_cache = authenticate(username=username, password=password) | |
| File "/usr/local/lib/python2.7/dist-packages/django/contrib/auth/__init__.py" in authenticate | |
| 49. user = backend.authenticate(**credentials) | |
| File "/usr/local/lib/python2.7/dist-packages/django/contrib/auth/backends.py" in authenticate | |
| 16. user = UserModel._default_manager.get_by_natural_key(username) | |
| File "/usr/local/lib/python2.7/dist-packages/django/contrib/auth/models.py" in get_by_natural_key | |
| 167. return self.get(**{self.model.USERNAME_FIELD: username}) | |
| File "/usr/local/lib/python2.7/dist-packages/django/db/models/manager.py" in get | |
| 151. return self.get_queryset().get(*args, **kwargs) | |
| File "/usr/local/lib/python2.7/dist-packages/django/db/models/query.py" in get | |
| 304. num = len(clone) | |
| File "/usr/local/lib/python2.7/dist-packages/django/db/models/query.py" in __len__ | |
| 77. self._fetch_all() | |
| File "/usr/local/lib/python2.7/dist-packages/django/db/models/query.py" in _fetch_all | |
| 857. self._result_cache = list(self.iterator()) | |
| File "/usr/local/lib/python2.7/dist-packages/django/db/models/query.py" in iterator | |
| 220. for row in compiler.results_iter(): | |
| File "/usr/local/lib/python2.7/dist-packages/django/db/models/sql/compiler.py" in results_iter | |
| 713. for rows in self.execute_sql(MULTI): | |
| File "/usr/local/lib/python2.7/dist-packages/django/db/models/sql/compiler.py" in execute_sql | |
| 785. cursor = self.connection.cursor() | |
| File "/usr/local/lib/python2.7/dist-packages/django/db/backends/__init__.py" in cursor | |
| 160. cursor = self.make_debug_cursor(self._cursor()) | |
| File "/usr/local/lib/python2.7/dist-packages/django/db/backends/__init__.py" in _cursor | |
| 132. self.ensure_connection() | |
| File "/usr/local/lib/python2.7/dist-packages/django/db/backends/__init__.py" in ensure_connection | |
| 127. self.connect() | |
| File "/usr/local/lib/python2.7/dist-packages/django/db/utils.py" in __exit__ | |
| 99. six.reraise(dj_exc_type, dj_exc_value, traceback) | |
| File "/usr/local/lib/python2.7/dist-packages/django/db/backends/__init__.py" in ensure_connection | |
| 127. self.connect() | |
| File "/usr/local/lib/python2.7/dist-packages/django/db/backends/__init__.py" in connect | |
| 115. self.connection = self.get_new_connection(conn_params) | |
| File "/usr/local/lib/python2.7/dist-packages/django/db/backends/sqlite3/base.py" in get_new_connection | |
| 346. conn = Database.connect(**conn_params) | |
| Exception Type: OperationalError at /admin/ | |
| Exception Value: unable to open database file |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment