Created
June 4, 2014 21:22
-
-
Save smickles/032b2f61f4bcd8ae8d00 to your computer and use it in GitHub Desktop.
This file contains 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
(evething)[smickles@localhost evething]$ python import.py | |
=> Region: 0 (0.02s) | |
=> Constellation: | |
Traceback (most recent call last): | |
File "import.py", line 792, in <module> | |
importer.import_all() | |
File "import.py", line 108, in import_all | |
time_func('Constellation', self.import_constellation) | |
File "import.py", line 95, in time_func | |
added = f() | |
File "import.py", line 163, in import_constellation | |
data_map = Constellation.objects.in_bulk(bulk_data.keys()) | |
File "/home/smickles/evething/lib/python2.7/site-packages/django/db/models/manager.py", line 178, in in_bulk | |
return self.get_queryset().in_bulk(*args, **kwargs) | |
File "/home/smickles/evething/lib/python2.7/site-packages/django/db/models/query.py", line 445, in in_bulk | |
return dict([(obj._get_pk_val(), obj) for obj in qs]) | |
File "/home/smickles/evething/lib/python2.7/site-packages/django/db/models/query.py", line 96, in __iter__ | |
self._fetch_all() | |
File "/home/smickles/evething/lib/python2.7/site-packages/django/db/models/query.py", line 857, in _fetch_all | |
self._result_cache = list(self.iterator()) | |
File "/home/smickles/evething/lib/python2.7/site-packages/django/db/models/query.py", line 220, in iterator | |
for row in compiler.results_iter(): | |
File "/home/smickles/evething/lib/python2.7/site-packages/django/db/models/sql/compiler.py", line 713, in results_iter | |
for rows in self.execute_sql(MULTI): | |
File "/home/smickles/evething/lib/python2.7/site-packages/django/db/models/sql/compiler.py", line 786, in execute_sql | |
cursor.execute(sql, params) | |
File "/home/smickles/evething/lib/python2.7/site-packages/django/db/backends/util.py", line 69, in execute | |
return super(CursorDebugWrapper, self).execute(sql, params) | |
File "/home/smickles/evething/lib/python2.7/site-packages/django/db/backends/util.py", line 53, in execute | |
return self.cursor.execute(sql, params) | |
File "/home/smickles/evething/lib/python2.7/site-packages/django/db/utils.py", line 99, in __exit__ | |
six.reraise(dj_exc_type, dj_exc_value, traceback) | |
File "/home/smickles/evething/lib/python2.7/site-packages/django/db/backends/util.py", line 53, in execute | |
return self.cursor.execute(sql, params) | |
File "/home/smickles/evething/lib/python2.7/site-packages/django/db/backends/sqlite3/base.py", line 451, in execute | |
return Database.Cursor.execute(self, query, params) | |
django.db.utils.OperationalError: too many SQL variables |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment