Opened 11 years ago

Closed 11 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: UI/UX:


django@freebeer$ inspectdb simplystuck
Traceback (most recent call last):
  File "/usr/local/bin/", line 116, in ?
  File "/usr/local/bin/", line 77, in main
    for line in ACTION_MAPPING[action](param):
  File "/usr/local/lib/python2.4/site-packages/django/core/", line 444, in inspectdb
    cursor = db.db.cursor()
  File "/usr/local/lib/python2.4/site-packages/django/core/db/backends/", line 33, in cursor
    passwd=DATABASE_PASSWORD, host=DATABASE_HOST, conv=django_conversions)
  File "/usr/local/lib/python2.4/site-packages/MySQLdb/", line 66, in Connect
    return Connection(*args, **kwargs)
  File "/usr/local/lib/python2.4/site-packages/MySQLdb/", line 151, in __init__
    self.converter[types.StringType] = string_literal
TypeError: object does not support item assignment

Attachments (1)

datadict.pdf (82.8 KB) - added by Boffbowsh 11 years ago.
Data Dictionary being inspected

Download all attachments as: .zip

Change History (4)

Changed 11 years ago by Boffbowsh

Attachment: datadict.pdf added

Data Dictionary being inspected

comment:1 Changed 11 years ago by Boffbowsh

Just seen this too:

django@freebeer$ 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 Changed 11 years ago by anonymous

Summary: inspectdb gives MySQLdb errordjango-admin MySQLdb error

comment:3 Changed 11 years ago by Boffbowsh

Resolution: invalid
Status: newclosed

Just tested my MySQLdb installation, it seems b0rked. Please ignore

Note: See TracTickets for help on using tickets.
Back to Top