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 http://askbot.org/en/question/10829/customizable-askbot-installation/ (this steps) but with this requirements: Django==1.3.1 and askbot==0.7.48.

This is what migration do:

$ python manage.py 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 "manage.py", line 11, in <module>
    execute_manager(settings)
  File "/home/mgieco/.virtualenvs/askbot/local/lib/python2.7/site-packages/django/core/management/__init__.py", 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/base.py", 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
1
matigro
asked 2013-06-04 09:34:04 -0600
Evgeny's avatar
13.2k
Evgeny
updated 2013-06-04 09:35:40 -0600
edit flag offensive 0 remove flag close merge delete

Comments

1

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 -0600) edit

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

matigro's avatar matigro (2013-06-04 10:16:17 -0600) 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 -0600) edit
add a comment see more comments