So I was using osqa svn 332 and I wanted to upgrade to version 550 I ran:
#python2.6 /var/www/osqa/manage.py migrate forum
it migrated all the 244 awards but when it came to load the inital data for forum it died a horrible death heres the traceback:
File "/var/www/techanswers/manage.py", line 13, in <module>
execute_manager(settings)
File "/usr/local/lib/python2.6/site-packages/Django-1.2.1-py2.6.egg/django/core/management/__init__.py", line 438, in execute_manager
utility.execute()
File "/usr/local/lib/python2.6/site-packages/Django-1.2.1-py2.6.egg/django/core/management/__init__.py", line 379, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/usr/local/lib/python2.6/site-packages/Django-1.2.1-py2.6.egg/django/core/management/base.py", line 191, in run_from_argv
self.execute(*args, **options.__dict__)
File "/usr/local/lib/python2.6/site-packages/Django-1.2.1-py2.6.egg/django/core/management/base.py", line 218, in execute
output = self.handle(*args, **options)
File "/usr/local/lib/python2.6/site-packages/South-0.7.1-py2.6.egg/south/management/commands/migrate.py", line 109, in handle
ignore_ghosts = ignore_ghosts,
File "/usr/local/lib/python2.6/site-packages/South-0.7.1-py2.6.egg/south/migration/__init__.py", line 215, in migrate_app
post_migrate.send(None, app=app_label)
File "/usr/local/lib/python2.6/site-packages/Django-1.2.1-py2.6.egg/django/dispatch/dispatcher.py", line 162, in send
response = receiver(signal=self, sender=sender, **named)
File "/usr/local/lib/python2.6/site-packages/South-0.7.1-py2.6.egg/south/signals.py", line 22, in create_permissions_compat
create_permissions(get_app(app), (), 0)
File "/usr/local/lib/python2.6/site-packages/Django-1.2.1-py2.6.egg/django/contrib/auth/management/__init__.py", line 28, in create_permissions
defaults={'name': name, 'content_type': ctype})
File "/usr/local/lib/python2.6/site-packages/Django-1.2.1-py2.6.egg/django/db/models/manager.py", line 135, in get_or_create
return self.get_query_set().get_or_create(**kwargs)
File "/usr/local/lib/python2.6/site-packages/Django-1.2.1-py2.6.egg/django/db/models/query.py", line 381, in get_or_create
raise e
django.db.utils.IntegrityError: duplicate key violates unique constraint "auth_permission_pkey"
anybody has any idea on how to solve the issue? (thanks in advance for your time =])
asked
19 Jul '10, 16:38
segfault
265●5●9●13
accept rate:
50%