Traceback (most recent call last):
File "documents/processing_deamon.py", line 149, in
pendings = list(Task.objects.filter(state='queued').order_by('id'))
File "/home/project402/proj402/venv/lib/python2.6/site-packages/Django-1.3.1-py2.6.egg/django/db/models/query.py", line 84, in len
self._result_cache.extend(self._iter)
File "/home/project402/proj402/venv/lib/python2.6/site-packages/Django-1.3.1-py2.6.egg/django/db/models/query.py", line 273, in iterator
for row in compiler.results_iter():
File "/home/project402/proj402/venv/lib/python2.6/site-packages/Django-1.3.1-py2.6.egg/django/db/models/sql/compiler.py", line 680, in results_iter
for rows in self.execute_sql(MULTI):
File "/home/project402/proj402/venv/lib/python2.6/site-packages/Django-1.3.1-py2.6.egg/django/db/models/sql/compiler.py", line 735, in execute_sql
cursor.execute(sql, params)
File "/home/project402/proj402/venv/lib/python2.6/site-packages/Django-1.3.1-py2.6.egg/django/db/backends/util.py", line 34, in execute
return self.cursor.execute(sql, params)
File "/home/project402/proj402/venv/lib/python2.6/site-packages/Django-1.3.1-py2.6.egg/django/db/backends/postgresql_psycopg2/base.py", line 44, in execute
return self.cursor.execute(query, args)
django.db.utils.DatabaseError: server closed the connection unexpectedly
This probably means the server terminated abnormally
before or while processing the request.
Traceback (most recent call last): File "documents/processing_deamon.py", line 149, in
pendings = list(Task.objects.filter(state='queued').order_by('id'))
File "/home/project402/proj402/venv/lib/python2.6/site-packages/Django-1.3.1-py2.6.egg/django/db/models/query.py", line 84, in len
self._result_cache.extend(self._iter)
File "/home/project402/proj402/venv/lib/python2.6/site-packages/Django-1.3.1-py2.6.egg/django/db/models/query.py", line 273, in iterator
for row in compiler.results_iter():
File "/home/project402/proj402/venv/lib/python2.6/site-packages/Django-1.3.1-py2.6.egg/django/db/models/sql/compiler.py", line 680, in results_iter
for rows in self.execute_sql(MULTI):
File "/home/project402/proj402/venv/lib/python2.6/site-packages/Django-1.3.1-py2.6.egg/django/db/models/sql/compiler.py", line 735, in execute_sql
cursor.execute(sql, params)
File "/home/project402/proj402/venv/lib/python2.6/site-packages/Django-1.3.1-py2.6.egg/django/db/backends/util.py", line 34, in execute
return self.cursor.execute(sql, params)
File "/home/project402/proj402/venv/lib/python2.6/site-packages/Django-1.3.1-py2.6.egg/django/db/backends/postgresql_psycopg2/base.py", line 44, in execute
return self.cursor.execute(query, args)
django.db.utils.DatabaseError: server closed the connection unexpectedly
This probably means the server terminated abnormally
before or while processing the request.