Skip to content

Instantly share code, notes, and snippets.

@OliverUv
Created July 3, 2012 13:21
Show Gist options
  • Save OliverUv/3039666 to your computer and use it in GitHub Desktop.
Save OliverUv/3039666 to your computer and use it in GitHub Desktop.
>>> vncbrowser.models.TextlabelLocation.objects.all()
Traceback (most recent call last):
File "<console>", line 1, in <module>
File "/home/oliver/CATMAID/django/env/local/lib/python2.7/site-packages/django/db/models/query.py", line 69, in __repr__
data = list(self[:REPR_OUTPUT_SIZE + 1])
File "/home/oliver/CATMAID/django/env/local/lib/python2.7/site-packages/django/db/models/query.py", line 84, in __len__
self._result_cache.extend(self._iter)
File "/home/oliver/CATMAID/django/env/local/lib/python2.7/site-packages/django/db/models/query.py", line 273, in iterator
for row in compiler.results_iter():
File "/home/oliver/CATMAID/django/env/local/lib/python2.7/site-packages/django/db/models/sql/compiler.py", line 680, in results_iter
for rows in self.execute_sql(MULTI):
File "/home/oliver/CATMAID/django/env/local/lib/python2.7/site-packages/django/db/models/sql/compiler.py", line 735, in execute_sql
cursor.execute(sql, params)
File "/home/oliver/CATMAID/django/env/local/lib/python2.7/site-packages/django/db/backends/util.py", line 34, in execute
return self.cursor.execute(sql, params)
File "/home/oliver/CATMAID/django/env/local/lib/python2.7/site-packages/django/db/backends/postgresql_psycopg2/base.py", line 44, in execute
return self.cursor.execute(query, args)
DatabaseError: column textlabel_location.id does not exist
LINE 1: SELECT "textlabel_location"."id", "textlabel_location"."text...
^
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment