Created attachment 886924 [details] 'NoneType' object has no attribute 'converter' Description of problem: MySQL connector for Django provided by mysql-connector-python is not compatible with django-1.6.2, which will be soon available in Fedora 20. Version-Release number of selected component (if applicable): mysql-connector-python-1.1.5-1.fc20.noarch python-django-1.6.2-2.fc20.noarch mariadb-server-5.5.36-1.fc20.x86_64 Steps to Reproduce: 1. create default project: $ django-admin startproject test1; cd test1 2. create database: $ echo create database test1 | mysql 3. setup django to use mysql.connector.django as database backend: $ grep -A 4 -B 2 mysql.connector.django test1/settings.py DATABASES = { 'default': { 'ENGINE': 'mysql.connector.django', 'NAME': 'test1', 'USER': 'root', } } 4. sync db: $ python manage.py syncdb 5. run server: $ python manage.py runserver 6. visit admin site at: http://127.0.0.1:8000/admin/ Actual results: Exception Type: AttributeError at /admin/ Exception Value: 'NoneType' object has no attribute 'converter' (attached traceback) Expected results: Login page
So obvioulsy, if this upgrade of django breaks such thing, it should not be push to stable release F20.
I just push mysql-connector-python-1.1.6-1.fc20.noarch to testing. Please test it According to changelog it fixes a bug with Django backend (but according to previous entries in changelog, it should work with 1.6).
It works fine with these versions: mysql-connector-python-1.1.6-1.fc20.noarch python-django-1.6.2-2.fc20.noarch mariadb-server-5.5.36-1.fc20.x86_64
I am changing the severity, because I realized, that most of the applications probably use Django's default mysql backend, which uses MySQL-python. Therefore this should not affect them. I use django backend from mysql-connector-python, because MySQL-python is not available for python3. This reminds me to note that it also works with python3 variants: mysql-connector-python3-1.1.6-1.fc20.noarch python3-django-1.6.2-2.fc20.noarch Thank You for very fast update.
mysql-connector-python-1.1.6-1.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/mysql-connector-python-1.1.6-1.fc20
Package mysql-connector-python-1.1.6-1.fc20: * should fix your issue, * was pushed to the Fedora 20 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing mysql-connector-python-1.1.6-1.fc20' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2014-5312/mysql-connector-python-1.1.6-1.fc20 then log in and leave karma (feedback).
mysql-connector-python-1.1.6-1.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report.