<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>175821</bug_id>
          
          <creation_ts>2007-04-24 10:00 0000</creation_ts>
          <short_desc>django 0.96 + MySQL needs mysql-python-1.2.1_p2 or newer</short_desc>
          <delta_ts>2007-04-24 16:22:37 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Applications</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>jcrml@mxm.eu</reporter>
          <assigned_to>seemant@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>jcrml@mxm.eu</who>
            <bug_when>2007-04-24 10:00:51 0000</bug_when>
            <thetext>I have emerged django 0.96. The stable version (1.2.0) of mysql-python has been installed.

But when I type the command :

python manage.py syncdb

there is an error :
Traceback (most recent call last):
  File &quot;manage.py&quot;, line 11, in ?
    execute_manager(settings)
  File &quot;/usr/lib64/python2.4/site-packages/django/core/management.py&quot;, line 1672, in execute_manager
    execute_from_command_line(action_mapping, argv)
  File &quot;/usr/lib64/python2.4/site-packages/django/core/management.py&quot;, line 1571, in execute_from_command_line
    action_mapping[action](int(options.verbosity), options.interactive)
  File &quot;/usr/lib64/python2.4/site-packages/django/core/management.py&quot;, line 486, in syncdb
    from django.db import connection, transaction, models, get_creation_module
  File &quot;/usr/lib64/python2.4/site-packages/django/db/__init__.py&quot;, line 11, in ?
    backend = __import__(&apos;django.db.backends.%s.base&apos; % settings.DATABASE_ENGINE, {}, {}, [&apos;&apos;])
  File &quot;/usr/lib64/python2.4/site-packages/django/db/backends/mysql/base.py&quot;, line 20, in ?
    raise ImportError, &quot;MySQLdb-1.2.1p2 or newer is required; you have %s&quot; % Database.__version__
ImportError: MySQLdb-1.2.1p2 or newer is required; you have 1.2.0



Reproducible: Always

Steps to Reproduce:
1. Install django 0.96 on a Gentoo machine (stable)
2. Create a MySQL database.
3. Edit the settings.py configuration file
4. Launch the command : python manage.py syncdb</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jcrml@mxm.eu</who>
            <bug_when>2007-04-24 10:07:27 0000</bug_when>
            <thetext>Created an attachment (id=117125)
Proposed patch for the ebuild

</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>seemant@gentoo.org</who>
            <bug_when>2007-04-24 16:22:37 0000</bug_when>
            <thetext>thanks J-C, fixed in portage.</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>117125</attachid>
            <date>2007-04-24 10:07 0000</date>
            <desc>Proposed patch for the ebuild</desc>
            <filename>django-0.96.ebuild.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">LS0tIGRqYW5nby0wLjk2LmVidWlsZAkyMDA3LTAzLTI2IDAwOjA1OjQyLjAwMDAwMDAwMCArMDIw
MAorKysgZGphbmdvLTAuOTYtcjEuZWJ1aWxkCTIwMDctMDQtMjQgMTE6NDI6NDMuMDAwMDAwMDAw
ICswMjAwCkBAIC0yNCw3ICsyNCw3IEBACiAJCSggPj1kZXYtcHl0aG9uL3B5c3FsaXRlLTIuMC4z
IDxkZXYtbGFuZy9weXRob24tMi41ICkKIAkJPj1kZXYtbGFuZy9weXRob24tMi41ICkgKQogCXBv
c3RncmVzPyAoIGRldi1weXRob24vcHN5Y29wZyApCi0JbXlzcWw/ICggZGV2LXB5dGhvbi9teXNx
bC1weXRob24gKSIKKwlteXNxbD8gKCA+PWRldi1weXRob24vbXlzcWwtcHl0aG9uLTEuMi4xX3Ay
ICkiCiBERVBFTkQ9IiR7UkRFUEVORH0KIAk+PWRldi1weXRob24vc2V0dXB0b29scy0wLjZfcmMz
IgogCg==
</data>        

          </attachment>
    </bug>

</bugzilla>