Opened 20 years ago
Closed 20 years ago
#352 closed defect (invalid)
django-admin MySQLdb error
| Reported by: | Boffbowsh | Owned by: | Adrian Holovaty |
|---|---|---|---|
| Component: | Tools | 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
django@freebeer$ django-admin.py inspectdb simplystuck
Traceback (most recent call last):
File "/usr/local/bin/django-admin.py", line 116, in ?
main()
File "/usr/local/bin/django-admin.py", line 77, in main
for line in ACTION_MAPPING[action](param):
File "/usr/local/lib/python2.4/site-packages/django/core/management.py", line 444, in inspectdb
cursor = db.db.cursor()
File "/usr/local/lib/python2.4/site-packages/django/core/db/backends/mysql.py", line 33, in cursor
passwd=DATABASE_PASSWORD, host=DATABASE_HOST, conv=django_conversions)
File "/usr/local/lib/python2.4/site-packages/MySQLdb/__init__.py", line 66, in Connect
return Connection(*args, **kwargs)
File "/usr/local/lib/python2.4/site-packages/MySQLdb/connections.py", line 151, in __init__
self.converter[types.StringType] = string_literal
TypeError: object does not support item assignment
Attachments (1)
Change History (4)
by , 20 years ago
| Attachment: | datadict.pdf added |
|---|
comment:1 by , 20 years ago
Just seen this too:
django@freebeer$ django-admin.py init Error: The database couldn't be initialized. Here's the full exception: object does not support item assignment
Any way I can get more info on the problem?
comment:2 by , 20 years ago
| Summary: | inspectdb gives MySQLdb error → django-admin MySQLdb error |
|---|
comment:3 by , 20 years ago
| Resolution: | → invalid |
|---|---|
| Status: | new → closed |
Just tested my MySQLdb installation, it seems b0rked. Please ignore
Note:
See TracTickets
for help on using tickets.
Data Dictionary being inspected