Skip to content

Instantly share code, notes, and snippets.

@norrs
Created November 9, 2012 11:19
Show Gist options
  • Save norrs/4045209 to your computer and use it in GitHub Desktop.
Save norrs/4045209 to your computer and use it in GitHub Desktop.
Environment:
Request Method: GET
Request URL: http://norrsnav/
Django Version: 1.2.3
Python Version: 2.6.6
Installed Applications:
['nav.django']
Installed Middleware:
('django.middleware.common.CommonMiddleware',)
Traceback:
File "/deploy/nav-mirror/.env/lib/python2.6/site-packages/django/core/handlers/base.py" in get_response
100. response = callback(request, *callback_args, **callback_kwargs)
File "/deploy/nav-mirror/.env/lib/python2.6/site-packages/nav/web/webfront/views.py" in index
76. 'current_messages': current_messages(),
File "/deploy/nav-mirror/.env/lib/python2.6/site-packages/nav/web/webfront/utils.py" in current_messages
41. replaced_by__isnull=True
File "/deploy/nav-mirror/.env/lib/python2.6/site-packages/django/db/models/manager.py" in filter
141. return self.get_query_set().filter(*args, **kwargs)
File "/deploy/nav-mirror/.env/lib/python2.6/site-packages/django/db/models/query.py" in filter
550. return self._filter_or_exclude(False, *args, **kwargs)
File "/deploy/nav-mirror/.env/lib/python2.6/site-packages/django/db/models/query.py" in _filter_or_exclude
568. clone.query.add_q(Q(*args, **kwargs))
File "/deploy/nav-mirror/.env/lib/python2.6/site-packages/django/db/models/sql/query.py" in add_q
1128. can_reuse=used_aliases)
File "/deploy/nav-mirror/.env/lib/python2.6/site-packages/django/db/models/sql/query.py" in add_filter
1071. connector)
File "/deploy/nav-mirror/.env/lib/python2.6/site-packages/django/db/models/sql/where.py" in add
66. value = obj.prepare(lookup_type, value)
File "/deploy/nav-mirror/.env/lib/python2.6/site-packages/django/db/models/sql/where.py" in prepare
299. return self.field.get_prep_lookup(lookup_type, value)
File "/deploy/nav-mirror/.env/lib/python2.6/site-packages/django/db/models/fields/__init__.py" in get_prep_lookup
644. return super(DateField, self).get_prep_lookup(lookup_type, value)
File "/deploy/nav-mirror/.env/lib/python2.6/site-packages/django/db/models/fields/__init__.py" in get_prep_lookup
292. return self.get_prep_value(value)
File "/deploy/nav-mirror/.env/lib/python2.6/site-packages/django/db/models/fields/__init__.py" in get_prep_value
713. return self.to_python(value)
File "/deploy/nav-mirror/.env/lib/python2.6/site-packages/django/db/models/fields/__init__.py" in to_python
698. return datetime.datetime(*time.strptime(value, '%Y-%m-%d %H:%M:%S')[:6],
Exception Type: ImportError at /
Exception Value: Failed to import _strptime because the import lockis held by another thread.
ImportError at /
Failed to import _strptime because the import lockis held by another thread.
Request Method: GET
Request URL: http://norrsnav/
Django Version: 1.2.3
Exception Type: ImportError
Exception Value:
Failed to import _strptime because the import lockis held by another thread.
Exception Location: /deploy/nav-mirror/.env/lib/python2.6/site-packages/django/db/models/fields/__init__.py in to_python, line 698
Python Executable: /usr/bin/python
Python Version: 2.6.6
Python Path: ['/deploy/nav-mirror/.env/lib/python2.6/site-packages/distribute-0.6.10-py2.6.egg', '/deploy/nav-mirror/.env/lib/python2.6/site-packages/pip-0.7.2-py2.6.egg', '/deploy/nav-mirror/.env/lib/python2.6/site-packages', '/usr/lib/python2.6', '/usr/lib/python2.6/plat-linux2', '/usr/lib/python2.6/lib-tk', '/usr/lib/python2.6/lib-old', '/usr/lib/python2.6/lib-dynload', '/usr/local/lib/python2.6/dist-packages', '/usr/lib/python2.6/dist-packages', '/usr/lib/pymodules/python2.6']
Server time: Fri, 9 Nov 2012 12:17:26 +0100
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment