Revision history [back]
Getting transaction errors in Postgresql migrations
I try to install askbot as a pluggable app in my django project. It seems to work but when I run
python manage.py migrate
or
python manage.py test askbot
I have the following error
...
File "/home/leo/Bureau/pic-13-geotopic/trunk/developpement/I/projetGeoForum/askbot/migrations/0161_add_field__user_languages.py", line 14, in forwards
keep_default=False)
File "/usr/lib/python2.7/dist-packages/south/db/generic.py", line 282, in add_column
self.execute(sql)
File "/usr/lib/python2.7/dist-packages/south/db/generic.py", line 150, in execute
cursor.execute(sql, params)
File "/usr/local/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 52, in execute
return self.cursor.execute(query, args)
django.db.utils.DatabaseError: column "languages" of relation "auth_user" already exists
I haven't changed any code in the askbot app. I think I have well merged the settings.py. Askbot success accessing the database.
I read this question but it doesn't really help me. Same for this. Should I use an older version of postgreSQL ?
I'm using postgreSQL 9.1.8 and psycopg2 2.4.5
Please do not hesitate if you want more information.
Getting transaction errors in Postgresql migrations
I try to install askbot as a pluggable app in my django project. It seems to work but when I run
python manage.py migrate
or
python manage.py test askbot
I have the following error
...
File "/home/leo/Bureau/pic-13-geotopic/trunk/developpement/I/projetGeoForum/askbot/migrations/0161_add_field__user_languages.py", line 14, in forwards
keep_default=False)
File "/usr/lib/python2.7/dist-packages/south/db/generic.py", line 282, in add_column
self.execute(sql)
File "/usr/lib/python2.7/dist-packages/south/db/generic.py", line 150, in execute
cursor.execute(sql, params)
File "/usr/local/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 52, in execute
return self.cursor.execute(query, args)
django.db.utils.DatabaseError: column "languages" of relation "auth_user" already exists
I haven't changed any code in the askbot app. I think I have well merged the settings.py. Askbot success accessing the database.
I read this question but it doesn't really help me. Same for this. Should I use an older version of postgreSQL ?
I'm using postgreSQL 9.1.8 and psycopg2 2.4.5
Please do not hesitate if you want more information.
Getting transaction errors in Postgresql migrationsFail running migrate or askbot test
I try to install askbot as a pluggable app in my django project. It seems to work but when I run
python manage.py migrate
or
python manage.py test askbot
I have the following error
...
File "/home/leo/Bureau/pic-13-geotopic/trunk/developpement/I/projetGeoForum/askbot/migrations/0161_add_field__user_languages.py", line 14, in forwards
keep_default=False)
File "/usr/lib/python2.7/dist-packages/south/db/generic.py", line 282, in add_column
self.execute(sql)
File "/usr/lib/python2.7/dist-packages/south/db/generic.py", line 150, in execute
cursor.execute(sql, params)
File "/usr/local/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 52, in execute
return self.cursor.execute(query, args)
django.db.utils.DatabaseError: column "languages" of relation "auth_user" already exists
I haven't changed any code in the askbot app. I think I have well merged the settings.py. Askbot success accessing the database.
I read this question but it doesn't really help me. Same for this. Should I use an older version of postgreSQL ?
I'm using postgreSQL 9.1.8 and psycopg2 2.4.5
Please do not hesitate if you want more information.