Changes between Initial Version and Version 4 of Ticket #4743


Ignore:
Timestamp:
Jul 2, 2007, 8:55:09 PM (17 years ago)
Author:
Malcolm Tredinnick
Comment:

Chris: you have to be careful interpreting the output here. This is the Fedora 7 bug (not a Django bug). You can tell because the output from that print statement does not include any spaces after the commas. So Python isn't formatting the tuple for output. It's returning a string and display that literally. The string in the Fedora 7 rpm does not include spaces (apparently they don't believe in backwards compatibility or good typography practices).

What you really want to ask for when querying people about this is type(version_info) or repr(version_info). Tuple, good; string, bad.

I'm going to close this as invalid. It's not our bug and hopefully Fedora will fix it soon.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #4743

    • Property Component UncategorizedDatabase wrapper
    • Property Owner changed from Jacob to Adrian Holovaty
    • Property Triage Stage UnreviewedAccepted
    • Property Summary python manage.py syncdbMySQLdb version check is flakey
    • Property Resolutioninvalid
    • Property Status newclosed
  • Ticket #4743 – Description

    initial v4  
    11when I try to execute the following command gives me an error:
    2 
     2{{{
    33python manage.py syncdb
    44
     
    1717    raise ImportError, "MySQLdb-1.2.1p2 or newer is required; you have %s" % Database.__version__
    1818ImportError: MySQLdb-1.2.1p2 or newer is required; you have 1.2.2
    19 
     19}}}
    2020
    2121**** Note the last line
Back to Top