Created
January 21, 2015 08:45
-
-
Save peterfarrell/8adba7e1f6f388987a6b to your computer and use it in GitHub Desktop.
Django-CMS3 develops issue with cmsplugin_filer and table renames
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
> cmsplugin_filer_folder:0003_move_view_option_to_style | |
Error in migration: cmsplugin_filer_folder:0003_move_view_option_to_style | |
Traceback (most recent call last): | |
File "manage.py", line 10, in <module> | |
execute_from_command_line(sys.argv) | |
File "/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py", line 399, in execute_from_command_line | |
utility.execute() | |
File "/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py", line 392, in execute | |
self.fetch_command(subcommand).run_from_argv(self.argv) | |
File "/usr/local/lib/python2.7/dist-packages/django/core/management/base.py", line 242, in run_from_argv | |
self.execute(*args, **options.__dict__) | |
File "/usr/local/lib/python2.7/dist-packages/django/core/management/base.py", line 285, in execute | |
output = self.handle(*args, **options) | |
File "/usr/local/lib/python2.7/dist-packages/south/management/commands/migrate.py", line 111, in handle | |
ignore_ghosts = ignore_ghosts, | |
File "/usr/local/lib/python2.7/dist-packages/south/migration/__init__.py", line 220, in migrate_app | |
success = migrator.migrate_many(target, workplan, database) | |
File "/usr/local/lib/python2.7/dist-packages/south/migration/migrators.py", line 256, in migrate_many | |
result = migrator.__class__.migrate_many(migrator, target, migrations, database) | |
File "/usr/local/lib/python2.7/dist-packages/south/migration/migrators.py", line 331, in migrate_many | |
result = self.migrate(migration, database) | |
File "/usr/local/lib/python2.7/dist-packages/south/migration/migrators.py", line 133, in migrate | |
result = self.run(migration, database) | |
File "/usr/local/lib/python2.7/dist-packages/south/migration/migrators.py", line 114, in run | |
return self.run_migration(migration, database) | |
File "/usr/local/lib/python2.7/dist-packages/south/migration/migrators.py", line 84, in run_migration | |
migration_function() | |
File "/usr/local/lib/python2.7/dist-packages/south/migration/migrators.py", line 60, in <lambda> | |
return (lambda: direction(orm)) | |
File "/usr/local/lib/python2.7/dist-packages/cmsplugin_filer_folder/migrations/0003_move_view_option_to_style.py", line 18, in forwards | |
for obj in orm['cmsplugin_filer_folder.filerfolder'].objects.all(): | |
File "/usr/local/lib/python2.7/dist-packages/django/db/models/query.py", line 96, in __iter__ | |
self._fetch_all() | |
File "/usr/local/lib/python2.7/dist-packages/django/db/models/query.py", line 857, in _fetch_all | |
self._result_cache = list(self.iterator()) | |
File "/usr/local/lib/python2.7/dist-packages/django/db/models/query.py", line 220, in iterator | |
for row in compiler.results_iter(): | |
File "/usr/local/lib/python2.7/dist-packages/django/db/models/sql/compiler.py", line 713, in results_iter | |
for rows in self.execute_sql(MULTI): | |
File "/usr/local/lib/python2.7/dist-packages/django/db/models/sql/compiler.py", line 786, in execute_sql | |
cursor.execute(sql, params) | |
File "/usr/local/lib/python2.7/dist-packages/django/db/backends/util.py", line 69, in execute | |
return super(CursorDebugWrapper, self).execute(sql, params) | |
File "/usr/local/lib/python2.7/dist-packages/django/db/backends/util.py", line 53, in execute | |
return self.cursor.execute(sql, params) | |
File "/usr/local/lib/python2.7/dist-packages/django/db/utils.py", line 99, in __exit__ | |
six.reraise(dj_exc_type, dj_exc_value, traceback) | |
File "/usr/local/lib/python2.7/dist-packages/django/db/backends/util.py", line 53, in execute | |
return self.cursor.execute(sql, params) | |
django.db.utils.ProgrammingError: column cms_cmsplugin.rght does not exist | |
LINE 1: SELECT "cms_cmsplugin"."rght", "cms_cmsplugin"."changed_date... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment