Running migrations:
Applying djangosherd.0002_auto_20150327_1417...Traceback (most recent call last):
File "./manage.py", line 10, in <module>
execute_from_command_line(sys.argv)
File "/var/www/mediathread/ve/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 385, in execute_from_command_line
utility.execute()
File "/var/www/mediathread/ve/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 377, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/var/www/mediathread/ve/local/lib/python2.7/site-packages/django/core/management/base.py", line 288, in run_from_argv
self.execute(*args, **options.__dict__)
File "/var/www/mediathread/ve/local/lib/python2.7/site-packages/django/core/management/base.py", line 338, in execute
output = self.handle(*args, **options)
File "/var/www/mediathread/ve/local/lib/python2.7/site-packages/django/core/management/commands/migrate.py", line 161, in handle
executor.migrate(targets, plan, fake=options.get("fake", False))
File "/var/www/mediathread/ve/local/lib/python2.7/site-packages/django/db/migrations/executor.py", line 68, in migrate
self.apply_migration(migration, fake=fake)
File "/var/www/mediathread/ve/local/lib/python2.7/site-packages/django/db/migrations/executor.py", line 102, in apply_migration
migration.apply(project_state, schema_editor)
File "/var/www/mediathread/ve/local/lib/python2.7/site-packages/django/db/migrations/migration.py", line 108, in apply
operation.database_forwards(self.app_label, schema_editor, project_state, new_state)
File "/var/www/mediathread/ve/local/lib/python2.7/site-packages/django/db/migrations/operations/fields.py", line 37, in database_forwards
field,
File "/var/www/mediathread/ve/local/lib/python2.7/site-packages/django/db/backends/schema.py", line 388, in add_field
self.execute(sql, params)
File "/var/www/mediathread/ve/local/lib/python2.7/site-packages/django/db/backends/schema.py", line 111, in execute
cursor.execute(sql, params)
File "/var/www/mediathread/ve/local/lib/python2.7/site-packages/django/db/backends/utils.py", line 65, in execute
return self.cursor.execute(sql, params)
File "/var/www/mediathread/ve/local/lib/python2.7/site-packages/django/db/utils.py", line 94, in __exit__
six.reraise(dj_exc_type, dj_exc_value, traceback)
File "/var/www/mediathread/ve/local/lib/python2.7/site-packages/django/db/backends/utils.py", line 65, in execute
return self.cursor.execute(sql, params)
django.db.utils.ProgrammingError: column "collaboration_id" of relation "djangosherd_discussionindex" already exists
#And a (presumably) corresponding server error:
Internal Server Error: /
Traceback (most recent call last):
File "/var/www/mediathread/ve/lib/python2.7/site-packages/django/core/handlers/base.py", line 87, in get_response
response = middleware_method(request)
File "/var/www/mediathread/ve/lib/python2.7/site-packages/courseaffils/middleware.py", line 143, in process_request
decorate_request(request, chosen_course)
File "/var/www/mediathread/ve/lib/python2.7/site-packages/courseaffils/middleware.py", line 93, in decorate_request
object_pk=str(course.pk))
File "/var/www/mediathread/ve/lib/python2.7/site-packages/django/db/models/manager.py", line 92, in manager_method
return getattr(self.get_queryset(), name)(*args, **kwargs)
File "/var/www/mediathread/ve/lib/python2.7/site-packages/django/db/models/query.py", line 422, in get_or_create
return self.get(**lookup), False
File "/var/www/mediathread/ve/lib/python2.7/site-packages/django/db/models/query.py", line 351, in get
num = len(clone)
File "/var/www/mediathread/ve/lib/python2.7/site-packages/django/db/models/query.py", line 122, in __len__
self._fetch_all()
File "/var/www/mediathread/ve/lib/python2.7/site-packages/django/db/models/query.py", line 966, in _fetch_all
self._result_cache = list(self.iterator())
File "/var/www/mediathread/ve/lib/python2.7/site-packages/django/db/models/query.py", line 265, in iterator
for row in compiler.results_iter():
File "/var/www/mediathread/ve/lib/python2.7/site-packages/django/db/models/sql/compiler.py", line 701, in results_iter
for rows in self.execute_sql(MULTI):
File "/var/www/mediathread/ve/lib/python2.7/site-packages/django/db/models/sql/compiler.py", line 787, in execute_sql
cursor.execute(sql, params)
File "/var/www/mediathread/ve/lib/python2.7/site-packages/django/db/backends/utils.py", line 65, in execute
return self.cursor.execute(sql, params)
File "/var/www/mediathread/ve/lib/python2.7/site-packages/django/db/utils.py", line 94, in __exit__
six.reraise(dj_exc_type, dj_exc_value, traceback)
File "/var/www/mediathread/ve/lib/python2.7/site-packages/django/db/backends/utils.py", line 65, in execute
return self.cursor.execute(sql, params)
ProgrammingError: column structuredcollaboration_collaboration.policy_record_id does not exist
LINE 1: ...ructuredcollaboration_collaboration"."object_pk", "structure...
^
--
You received this message because you are subscribed to the Google Groups "Mediathread" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mediathread...@googlegroups.com.
To post to this group, send email to media...@googlegroups.com.
Visit this group at http://groups.google.com/group/mediathread.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to a topic in the Google Groups "Mediathread" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/mediathread/Y2xsTuwP58Y/unsubscribe.
To unsubscribe from this group and all its topics, send an email to mediathread...@googlegroups.com.
Operations to perform:
Apply all migrations: (none)
Running migrations:
No migrations to apply.
The following content types are stale and need to be deleted:
assetmgr | supportedsource
Any objects related to these content types by a foreign key will also
be deleted. Are you sure you want to delete these content types?
If you're unsure, answer 'no'.
Type 'yes' to continue, or 'no' to cancel: yes
Traceback (most recent call last):
File "./manage.py", line 10, in <module>
execute_from_command_line(sys.argv)
File "/var/www/mediathread/ve/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 385, in execute_from_command_line
utility.execute()
File "/var/www/mediathread/ve/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 377, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/var/www/mediathread/ve/local/lib/python2.7/site-packages/django/core/management/base.py", line 288, in run_from_argv
self.execute(*args, **options.__dict__)
File "/var/www/mediathread/ve/local/lib/python2.7/site-packages/django/core/management/base.py", line 338, in execute
output = self.handle(*args, **options)
File "/var/www/mediathread/ve/local/lib/python2.7/site-packages/django/core/management/commands/migrate.py", line 165, in handle
emit_post_migrate_signal(created_models, self.verbosity, self.interactive, connection.alias)
File "/var/www/mediathread/ve/local/lib/python2.7/site-packages/django/core/management/sql.py", line 268, in emit_post_migrate_signal
using=db)
File "/var/www/mediathread/ve/local/lib/python2.7/site-packages/django/dispatch/dispatcher.py", line 198, in send
response = receiver(signal=self, sender=sender, **named)
File "/var/www/mediathread/ve/local/lib/python2.7/site-packages/django/contrib/contenttypes/management.py", line 84, in update_contenttypes
ct.delete()
File "/var/www/mediathread/ve/local/lib/python2.7/site-packages/django/db/models/base.py", line 738, in delete
collector.collect([self])
File "/var/www/mediathread/ve/local/lib/python2.7/site-packages/django/db/models/deletion.py", line 198, in collect
elif sub_objs:
File "/var/www/mediathread/ve/local/lib/python2.7/site-packages/django/db/models/query.py", line 145, in __nonzero__
self._fetch_all()
File "/var/www/mediathread/ve/local/lib/python2.7/site-packages/django/db/models/query.py", line 966, in _fetch_all
self._result_cache = list(self.iterator())
File "/var/www/mediathread/ve/local/lib/python2.7/site-packages/django/db/models/query.py", line 265, in iterator
for row in compiler.results_iter():
File "/var/www/mediathread/ve/local/lib/python2.7/site-packages/django/db/models/sql/compiler.py", line 701, in results_iter
for rows in self.execute_sql(MULTI):
File "/var/www/mediathread/ve/local/lib/python2.7/site-packages/django/db/models/sql/compiler.py", line 787, in execute_sql
cursor.execute(sql, params)
File "/var/www/mediathread/ve/local/lib/python2.7/site-packages/django/db/backends/utils.py", line 65, in execute
return self.cursor.execute(sql, params)
File "/var/www/mediathread/ve/local/lib/python2.7/site-packages/django/db/utils.py", line 94, in __exit__
six.reraise(dj_exc_type, dj_exc_value, traceback)
File "/var/www/mediathread/ve/local/lib/python2.7/site-packages/django/db/backends/utils.py", line 65, in execute
return self.cursor.execute(sql, params)
django.db.utils.ProgrammingError: column structuredcollaboration_collaboration.policy_record_id does not exist
--
You received this message because you are subscribed to a topic in the Google Groups "Mediathread" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/mediathread/Y2xsTuwP58Y/unsubscribe.
To unsubscribe from this group and all its topics, send an email to mediathread...@googlegroups.com.
--