Source: python-django-extensions Version: 1.5.7-1 Severity: grave Tags: upstream
-- System Information: Debian Release: stretch/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 4.1.0-2-amd64 (SMP w/4 CPU cores) Locale: LANG=en_IN, LC_CTYPE=en_IN (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) In version 1.5.7-1 there is a problem with migrations which is fixed in version >=1.5.9, also https://tracker.debian.org/pkg/python-django-extensions has picked up the availability of newer version ie., 1.5.9 of python-django-extensions This bug relates to django 1.8 and affects lava-server package. The following error occurs during lava-server installation due to the migration problem: <snip> stylesen@harshu:~/work/lava-server.git$ sudo dpkg -i /tmp/tmp.0idooCCfdd/*.deb (Reading database ... 248283 files and directories currently installed.) Preparing to unpack .../lava_2015.11.5412.0b33c5b-1_all.deb ... Unpacking lava (2015.11.5412.0b33c5b-1) over (2015.11.5412.0b33c5b-1) .... Preparing to unpack .../lava-dev_2015.11.5412.0b33c5b-1_all.deb ... Unpacking lava-dev (2015.11.5412.0b33c5b-1) over (2015.11.5412.0b33c5b-1) ... Preparing to unpack .../lava-server_2015.11.5412.0b33c5b-1_all.deb ... Unpacking lava-server (2015.11.5412.0b33c5b-1) over (2015.11.5412.0b33c5b-1) ... Preparing to unpack .../lava-server-doc_2015.11.5412.0b33c5b-1_all.deb .... Unpacking lava-server-doc (2015.11.5412.0b33c5b-1) over (2015.11.5412.0b33c5b-1) ... Setting up lava-dev (2015.11.5412.0b33c5b-1) ... Setting up lava-server (2015.11.5412.0b33c5b-1) ... lavaserver lavaserver devel devel WARNING:py.warnings:/usr/lib/python2.7/dist-packages/dashboard_app/models.py:36: RemovedInDjango19Warning: django.contrib.contenttypes.generic is deprecated and will be removed in Django 1.9. Its contents have been moved to the fields, forms, and admin submodules of django.contrib.contenttypes. from django.contrib.contenttypes import generic System check identified some issues: WARNINGS: google_analytics.Analytic.site: (fields.W342) Setting unique=True on a ForeignKey has the same effect as using a OneToOneField. HINT: ForeignKey(unique=True) is usually better served by a OneToOneField. WARNING:py.warnings:/usr/lib/python2.7/dist-packages/django/core/management/commands/syncdb.py:24: RemovedInDjango19Warning: The syncdb command will be removed in Django 1.9 warnings.warn("The syncdb command will be removed in Django 1.9", RemovedInDjango19Warning) Traceback (most recent call last): File "/usr/bin/lava-server", line 9, in <module> load_entry_point('lava-server===2015.11.5412.0b33c5b', 'console_scripts', 'lava-server')() File "/usr/lib/python2.7/dist-packages/lava_server/manage.py", line 125, in main run_with_dispatcher_class(LAVAServerDispatcher) File "build/bdist.linux-x86_64/egg/lava_tool/dispatcher.py", line 45, in run_with_dispatcher_class File "/usr/lib/python2.7/dist-packages/lava/tool/dispatcher.py", line 153, in run raise SystemExit(cls().dispatch(args)) File "/usr/lib/python2.7/dist-packages/lava/tool/dispatcher.py", line 143, in dispatch return command.invoke() File "/usr/lib/python2.7/dist-packages/lava_server/manage.py", line 114, in invoke execute_from_command_line(['lava-server'] + self.args.command) File "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py", line 354, in execute_from_command_line utility.execute() File "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py", line 346, in execute self.fetch_command(subcommand).run_from_argv(self.argv) File "/usr/lib/python2.7/dist-packages/django/core/management/base.py", line 394, in run_from_argv self.execute(*args, **cmd_options) File "/usr/lib/python2.7/dist-packages/django/core/management/base.py", line 445, in execute output = self.handle(*args, **options) File "/usr/lib/python2.7/dist-packages/django/core/management/commands/syncdb.py", line 25, in handle call_command("migrate", **options) File "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py", line 120, in call_command return command.execute(*args, **defaults) File "/usr/lib/python2.7/dist-packages/django/core/management/base.py", line 445, in execute output = self.handle(*args, **options) File "/usr/lib/python2.7/dist-packages/django/core/management/commands/migrate.py", line 93, in handle executor = MigrationExecutor(connection, self.migration_progress_callback) File "/usr/lib/python2.7/dist-packages/django/db/migrations/executor.py", line 19, in __init__ self.loader = MigrationLoader(self.connection) File "/usr/lib/python2.7/dist-packages/django/db/migrations/loader.py", line 47, in __init__ self.build_graph() File "/usr/lib/python2.7/dist-packages/django/db/migrations/loader.py", line 182, in build_graph self.load_disk() File "/usr/lib/python2.7/dist-packages/django/db/migrations/loader.py", line 123, in load_disk "creating Django migrations." % app_config.label django.db.migrations.loader.BadMigrationError: Migrated app 'django_extensions' contains South migrations. Make sure all numbered South migrations are deleted prior to creating Django migrations. dpkg: error processing package lava-server (--install): subprocess installed post-installation script returned error exit status 1 Setting up lava-server-doc (2015.11.5412.0b33c5b-1) ... dpkg: dependency problems prevent configuration of lava: lava depends on lava-server; however: Package lava-server is not configured yet. dpkg: error processing package lava (--install): dependency problems - leaving unconfigured Processing triggers for systemd (227-3) ... Processing triggers for man-db (2.7.5-1) ... Errors were encountered while processing: lava-server lava stylesen@harshu:~/work/lava-server.git$ </snip> Thank You.