Created
March 17, 2012 17:59
-
-
Save xvaara/2063588 to your computer and use it in GitHub Desktop.
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
/usr/local/lib/python2.6/dist-packages/djangoratings/fields.py:316: DeprecationWarning: A Field class whose get_db_prep_save method hasn't been updated to take a `connection` argument. | |
class RatingField(IntegerField): | |
/usr/local/lib/python2.6/dist-packages/djangoratings/fields.py:316: DeprecationWarning: A Field class whose get_db_prep_lookup method hasn't been updated to take `connection` and `prepared` arguments. | |
class RatingField(IntegerField): | |
Syncing... | |
Creating tables ... | |
Installing custom SQL ... | |
Installing indexes ... | |
No fixtures found. | |
Synced: | |
> django.contrib.auth | |
> django.contrib.contenttypes | |
> django.contrib.sessions | |
> django.contrib.sites | |
> django.contrib.messages | |
> django.contrib.staticfiles | |
> django.contrib.admin | |
> django.contrib.markup | |
> sorl.thumbnail | |
> django_markdown | |
> south | |
Not synced (use migrations): | |
- djangoratings | |
- spotter | |
(use ./manage.py migrate to migrate these) | |
/usr/local/lib/python2.6/dist-packages/djangoratings/fields.py:316: DeprecationWarning: A Field class whose get_db_prep_save method hasn't been updated to take a `connection` argument. | |
class RatingField(IntegerField): | |
/usr/local/lib/python2.6/dist-packages/djangoratings/fields.py:316: DeprecationWarning: A Field class whose get_db_prep_lookup method hasn't been updated to take `connection` and `prepared` arguments. | |
class RatingField(IntegerField): | |
Running migrations for djangoratings: | |
- Migrating forwards to 0006_add_cookies. | |
> djangoratings:0001_initial | |
> djangoratings:0002_add_mean_and_stddev | |
> djangoratings:0003_add_correlations | |
> djangoratings:0004_rethink_recommendations | |
> djangoratings:0005_add_exclusions | |
> djangoratings:0006_add_cookies | |
! Error found during real run of migration! Aborting. | |
! Since you have a database that does not support running | |
! schema-altering statements in transactions, we have had | |
! to leave it in an interim state between migrations. | |
! You *might* be able to recover with: = ALTER TABLE `djangoratings_vote` DROP COLUMN `cookie` CASCADE; [] | |
= ALTER TABLE `djangoratings_vote` ADD CONSTRAINT `djangoratings_vote_key_6ec1b57c751d4f24_uniq` UNIQUE (`key`, `ip_address`, `object_id`, `content_type_id`, `user_id`) [] | |
! The South developers regret this has happened, and would | |
! like to gently persuade you to consider a slightly | |
! easier-to-deal-with DBMS. | |
! NOTE: The error which caused the migration to fail is further up. | |
Traceback (most recent call last): | |
File "./manage.py", line 14, in <module> | |
execute_manager(settings) | |
File "/usr/local/lib/python2.6/dist-packages/django/core/management/__init__.py", line 438, in execute_manager | |
utility.execute() | |
File "/usr/local/lib/python2.6/dist-packages/django/core/management/__init__.py", line 379, in execute | |
self.fetch_command(subcommand).run_from_argv(self.argv) | |
File "/usr/local/lib/python2.6/dist-packages/django/core/management/base.py", line 191, in run_from_argv | |
self.execute(*args, **options.__dict__) | |
File "/usr/local/lib/python2.6/dist-packages/django/core/management/base.py", line 220, in execute | |
output = self.handle(*args, **options) | |
File "/usr/local/lib/python2.6/dist-packages/south/management/commands/migrate.py", line 105, in handle | |
ignore_ghosts = ignore_ghosts, | |
File "/usr/local/lib/python2.6/dist-packages/south/migration/__init__.py", line 191, in migrate_app | |
success = migrator.migrate_many(target, workplan, database) | |
File "/usr/local/lib/python2.6/dist-packages/south/migration/migrators.py", line 221, in migrate_many | |
result = migrator.__class__.migrate_many(migrator, target, migrations, database) | |
File "/usr/local/lib/python2.6/dist-packages/south/migration/migrators.py", line 292, in migrate_many | |
result = self.migrate(migration, database) | |
File "/usr/local/lib/python2.6/dist-packages/south/migration/migrators.py", line 125, in migrate | |
result = self.run(migration) | |
File "/usr/local/lib/python2.6/dist-packages/south/migration/migrators.py", line 99, in run | |
return self.run_migration(migration) | |
File "/usr/local/lib/python2.6/dist-packages/south/migration/migrators.py", line 81, in run_migration | |
migration_function() | |
File "/usr/local/lib/python2.6/dist-packages/south/migration/migrators.py", line 57, in <lambda> | |
return (lambda: direction(orm)) | |
File "/usr/local/lib/python2.6/dist-packages/djangoratings/migrations/0006_add_cookies.py", line 12, in forwards | |
db.delete_unique('djangoratings_vote', ['key', 'ip_address', 'object_id', 'content_type_id', 'user_id']) | |
File "/usr/local/lib/python2.6/dist-packages/south/db/generic.py", line 479, in delete_unique | |
raise ValueError("Cannot find a UNIQUE constraint on table %s, columns %r" % (table_name, columns)) | |
ValueError: Cannot find a UNIQUE constraint on table djangoratings_vote, columns ['key', 'ip_address', 'object_id', 'content_type_id', 'user_id'] | |
/usr/local/lib/python2.6/dist-packages/djangoratings/fields.py:316: DeprecationWarning: A Field class whose get_db_prep_save method hasn't been updated to take a `connection` argument. | |
class RatingField(IntegerField): | |
/usr/local/lib/python2.6/dist-packages/djangoratings/fields.py:316: DeprecationWarning: A Field class whose get_db_prep_lookup method hasn't been updated to take `connection` and `prepared` arguments. | |
class RatingField(IntegerField): |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment