#3835 closed (fixed)
[boulder-oracle]: manage.py fails with TypeError
| Reported by: | Owned by: | Adrian Holovaty | |
|---|---|---|---|
| Component: | Core (Management commands) | Version: | other branch |
| Severity: | 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
Hello, I am on oracle-boulder-sprint branch r4815
trying to use ./manage.py syncdb or ./manage.py inspectdb on an empty oracle database fails now with the following exception:
Traceback (most recent call last):
File "./manage.py", line 11, in ?
execute_manager(settings)
File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/django/core/management.py", line 1702, in execute_manager
execute_from_command_line(action_mapping, argv)
File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/django/core/management.py", line 1602, in execute_from_command_line
for line in action_mapping[action]():
File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/django/core/management.py", line 869, in inspectdb
for table_name in introspection_module.get_table_list(cursor):
File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/django/db/backends/oracle/introspection.py", line 9, in get_table_list
return [row[0].upper() for row in cursor]
TypeError: iteration over non-sequence
I could in an earlier revision use manage.py without getting this exception, so this must be new.
(the server is "Oracle 9i Enterprise Edition Release 9.2.0.7.0 - 64bit Production" and I can connect fine to the database with sqlplus)
Change History (2)
comment:1 by , 19 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
comment:2 by , 19 years ago
Note:
See TracTickets
for help on using tickets.
(In [4840]) boulder-oracle-sprint: Fixed #3835 by making CursorDebugWrapper
iterable, as it should have been.