Django

Code

Ticket #5512 (closed: fixed)

Opened 1 year ago

Last modified 1 year ago

DB docs should mention the ImmutableSet issue for MySQLdb

Reported by: peter@monicol.org.uk Assigned to: mboersma
Milestone: Component: Documentation
Version: SVN Keywords: MySQLdb
Cc: Triage Stage: Ready for checkin
Has patch: 1 Needs documentation: 0
Needs tests: 0 Patch needs improvement: 0

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

5512.diff (0.9 kB) - added by mboersma on 09/27/07 14:28:26.
Documents the "ImmutableSet? not found" gotcha for MySQLdb

Change History

09/27/07 14:28:26 changed by mboersma

  • attachment 5512.diff added.

Documents the "ImmutableSet? not found" gotcha for MySQLdb

09/27/07 14:29:33 changed by mboersma

  • status changed from new to assigned.
  • needs_better_patch changed.
  • needs_tests changed.
  • summary changed from Reference the ImmutableSet issue for MySQLdb to DB docs should mention the ImmutableSet issue for MySQLdb.
  • owner changed from nobody to mboersma.
  • needs_docs changed.
  • has_patch set to 1.
  • stage changed from Unreviewed to Ready for checkin.

10/20/07 05:47:57 changed by mtredinnick

  • status changed from assigned to closed.
  • resolution set to fixed.

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


Add/Change #5512 (DB docs should mention the ImmutableSet issue for MySQLdb)




Change Properties
Action