Opened 19 years ago
Last modified 17 years ago
#197 closed defect
Adding a flatfile causes a traceback in sqlite3.py — at Version 1
Reported by: | mmarshall | Owned by: | Jacob |
---|---|---|---|
Component: | contrib.admin | Version: | |
Severity: | normal | Keywords: | |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description (last modified by )
Here is the taceback:
There's been an error: Traceback (most recent call last): File "/usr/lib/python2.4/site-packages/django/core/handlers/base.py", line 63, in get_response return callback(request, **param_dict) File "/usr/lib/python2.4/site-packages/django/views/admin/main.py", line 765, in add_stage new_object = manipulator.save(new_data) File "/usr/lib/python2.4/site-packages/django/core/meta.py", line 87, in _curried return args[0](*(args[1:]+moreargs), **dict(kwargs.items() + morekwargs.items())) File "/usr/lib/python2.4/site-packages/django/core/meta.py", line 1464, in manipulator_save was_changed = getattr(new_object, 'set_%s' % f.name)(new_data.getlist(f.name)) File "/usr/lib/python2.4/site-packages/django/core/meta.py", line 87, in _curried return args[0](*(args[1:]+moreargs), **dict(kwargs.items() + morekwargs.items())) File "/usr/lib/python2.4/site-packages/django/core/meta.py", line 922, in method_set_many_to_many cursor.executemany(sql, [(this_id, i) for i in ids_to_add]) File "/usr/lib/python2.4/site-packages/django/core/db/base.py", line 20, in executemany result = self.cursor.executemany(sql, param_list) File "/usr/lib/python2.4/site-packages/django/core/db/backends/sqlite3.py", line 59, in executemany query = self.convert_query(query, len(params)) File "/usr/lib/python2.4/site-packages/django/core/db/backends/sqlite3.py", line 64, in convert_query return query % tuple("?" * num_params) TypeError: not enough arguments for format string
Note:
See TracTickets
for help on using tickets.