Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 175821
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Seemant Kulleen (RETIRED) <seemant@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Jean-Claude Repetto <jcrml@mxm.eu>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
django-0.96.ebuild.patch Proposed patch for the ebuild patch Jean-Claude Repetto 2007-04-24 10:07 0000 403 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 175821 depends on: Show dependency tree
Bug 175821 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-04-24 10:00 0000
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 "manage.py", line 11, in ?
    execute_manager(settings)
  File "/usr/lib64/python2.4/site-packages/django/core/management.py", line
1672, in execute_manager
    execute_from_command_line(action_mapping, argv)
  File "/usr/lib64/python2.4/site-packages/django/core/management.py", line
1571, in execute_from_command_line
    action_mapping[action](int(options.verbosity), options.interactive)
  File "/usr/lib64/python2.4/site-packages/django/core/management.py", line
486, in syncdb
    from django.db import connection, transaction, models, get_creation_module
  File "/usr/lib64/python2.4/site-packages/django/db/__init__.py", line 11, in
?
    backend = __import__('django.db.backends.%s.base' %
settings.DATABASE_ENGINE, {}, {}, [''])
  File "/usr/lib64/python2.4/site-packages/django/db/backends/mysql/base.py",
line 20, in ?
    raise ImportError, "MySQLdb-1.2.1p2 or newer is required; you have %s" %
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

------- Comment #1 From Jean-Claude Repetto 2007-04-24 10:07:27 0000 -------
Created an attachment (id=117125) [details]
Proposed patch for the ebuild

------- Comment #2 From Seemant Kulleen (RETIRED) 2007-04-24 16:22:37 0000 -------
thanks J-C, fixed in portage.

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug