Source: mysql-connector-python Version: 1.2.2-1 Severity: important User: python-dja...@packages.debian.org Usertags: django17
$ python ./manage.py runserver System check identified no issues (1 silenced). Unhandled exception in thread started by <function wrapper at 0x2c41140> Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/django/utils/autoreload.py", line 222, in wrapper fn(*args, **kwargs) File "/usr/lib/python2.7/dist-packages/django/core/management/commands/runserver.py", line 106, in inner_run self.check_migrations() File "/usr/lib/python2.7/dist-packages/django/core/management/commands/runserver.py", line 158, in check_migrations executor = MigrationExecutor(connections[DEFAULT_DB_ALIAS]) File "/usr/lib/python2.7/dist-packages/django/db/migrations/executor.py", line 17, in __init__ self.loader = MigrationLoader(self.connection) File "/usr/lib/python2.7/dist-packages/django/db/migrations/loader.py", line 48, in __init__ self.build_graph() File "/usr/lib/python2.7/dist-packages/django/db/migrations/loader.py", line 179, in build_graph self.applied_migrations = recorder.applied_migrations() File "/usr/lib/python2.7/dist-packages/django/db/migrations/recorder.py", line 59, in applied_migrations self.ensure_schema() File "/usr/lib/python2.7/dist-packages/django/db/migrations/recorder.py", line 52, in ensure_schema with self.connection.schema_editor() as editor: File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 559, in schema_editor raise NotImplementedError('subclasses of BaseDatabaseWrapper may require a schema_editor() method') NotImplementedError: subclasses of BaseDatabaseWrapper may require a schema_editor() method This has been reported upstream here: http://bugs.mysql.com/bug.php?id=72542 This prevents "manage.py runserver" from running, under Python2 as well as Python3. -- Brian May <br...@microcomaustralia.com.au>