Cannot start a new project with askbot

Hello, I have a problem when I want to synced a new installation of askbot. I started a new project, following most of the (this steps) but with this requirements: Django==1.3.1 and askbot==0.7.48.

This is what migration do:

$ python migrate askbot
WARNING!!! You are using a 'locmem' (local memory) caching backend,(...cut by me...)

relation "askbot_badgedata" does not exist
LINE 1: ..."."slug", "askbot_badgedata"."awarded_count" FROM "askbot_ba...
Running migrations for askbot:
 - Migrating forwards to 0161_add_field__user_languages.
 > askbot:0013_add_response_count__to_user
FATAL ERROR - The following SQL query failed: ALTER TABLE "auth_user" ADD COLUMN "response_count" integer NOT NULL DEFAULT 0;
The error was: column "response_count" of relation "auth_user" already exists

probably already have column User.response_count
Error in migration: askbot:0013_add_response_count__to_user
Traceback (most recent call last):
  File "", line 11, in <module>
  File "/home/mgieco/.virtualenvs/askbot/local/lib/python2.7/site-packages/django/core/management/", line 438, in execute_manager

(... cut the stacktrace by me...)

  File "/home/mgieco/.virtualenvs/askbot/local/lib/python2.7/site-packages/django/db/backends/postgresql_psycopg2/", line 44, in execute
    return self.cursor.execute(query, args)
django.db.utils.DatabaseError: current transaction is aborted, commands ignored until end of transaction block

I can't figure out what the problem is. Any help is welcome.

matigro's avatar
asked 2013-06-04 09:34:04 -0500
Evgeny's avatar
updated 2013-06-04 09:35:40 -0500
edit flag offensive 0 remove flag close merge delete



Please try the github version, if you have the same issue - I'll have a look. Thanks!

Evgeny's avatar Evgeny (2013-06-04 09:36:35 -0500) edit

Thanks for your inmediate response! It's working from github version.

matigro's avatar matigro (2013-06-04 10:16:17 -0500) edit

Hi this issue is still there when i use postgres db. Can you help me with this.

umang's avatar umang (2013-09-13 05:45:43 -0500) edit
add a comment see more comments