Opened 17 years ago

Closed 17 years ago

#5512 closed (fixed)

DB docs should mention the ImmutableSet issue for MySQLdb

Reported by: peter@… Owned by: Matt Boersma
Component: Documentation Version: dev
Severity: Keywords: MySQLdb
Cc: Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

New to Django I found that I needed an updated version of MySQLdb. As I am on Windows (for learning
Django) messing with MySQLdb is a bit fraught because the author does not actually support
Windows. I found that python manage.py syncdb failed with the error ImportError: cannot import name ImmutableSet

The fix for this is at http://code.djangoproject.com/wiki/InstallationPitfalls (remove sets.py from MySQLdb folder) but
it took me a long time to find it. I wondered about PYTHONPATH (which I normally never use), about my Python 2.4.4 not
being upt to date enough for the MySQLdb. So I would suggest that a link to the issue is included in the
paragraph MySQLdb on the page http://www.djangoproject.com/documentation/databases/.

Attachments (1)

5512.diff (907 bytes ) - added by Matt Boersma 17 years ago.
Documents the "ImmutableSet not found" gotcha for MySQLdb

Download all attachments as: .zip

Change History (3)

by Matt Boersma, 17 years ago

Attachment: 5512.diff added

Documents the "ImmutableSet not found" gotcha for MySQLdb

comment:1 by Matt Boersma, 17 years ago

Has patch: set
Owner: changed from nobody to Matt Boersma
Status: newassigned
Summary: Reference the ImmutableSet issue for MySQLdbDB docs should mention the ImmutableSet issue for MySQLdb
Triage Stage: UnreviewedReady for checkin

comment:2 by Malcolm Tredinnick, 17 years ago

Resolution: fixed
Status: assignedclosed

(In [6561]) Fixed #5512 -- Added a note about a common MySQLdb upgrade problem. Thanks,
Matt Boersma.

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