umang's profile - activity
2020-05-13 20:47:39 -0500 | received badge | Notable Question (source) |
2015-02-03 08:17:05 -0500 | received badge | Notable Question (source) |
2014-07-17 09:51:20 -0500 | received badge | Popular Question (source) |
2014-07-12 16:51:15 -0500 | received badge | Popular Question (source) |
2014-02-21 04:29:58 -0500 | received badge | Famous Question (source) |
2014-02-04 04:34:15 -0500 | asked a question | Fresh Installation migration errors TechStack: Django==1.4, askbot==0.7.49, (PostgreSQL) 9.1.9, psycopg2==2.4.5 When i try to start a fresh installation on a fresh DB the migrations are failing. It shows fatal error with alter table commands failing and migration halts in the middle. Steps to reproduce: 1) Create a db in postgres: Create database askbot_test; 2) Create a virtualenv askbot 3) Install askbot and django 4) Configure the DB settings in the local django project created. 5) Run commands python manage.py syncdb ( successful ) python manage.py migrate askbot ( fails ) Error Stacktrace:Running migrations for askbot: - Migrating forwards to 0170_auto__add_field_group_read_only.
FATAL ERROR - The following SQL query failed: ALTER TABLE "auth_user" ADD COLUMN "about" text NULL; The error was: column "about" of relation "auth_user" already exists FATAL ERROR - The following SQL query failed: ALTER TABLE "auth_user" ADD COLUMN "hide_ignored_questions" boolean NOT NULL DEFAULT False; The error was: column "hide_ignored_questions" of relation "auth_user" already exists FATAL ERROR - The following SQL query failed: ALTER TABLE "auth_user" ADD COLUMN "gold" smallint NOT NULL DEFAULT 0; The error was: column "gold" of relation "auth_user" already exists FATAL ERROR - The following SQL query failed: ALTER TABLE "auth_user" ADD COLUMN "email_isvalid" boolean NOT NULL DEFAULT False; The error was: column "email_isvalid" of relation "auth_user" already exists FATAL ERROR - The following SQL query failed: ALTER TABLE "auth_user" ADD COLUMN "real_name" varchar(100) NULL; The error was: column "real_name" of relation "auth_user" already exists FATAL ERROR - The following SQL query failed: ALTER TABLE "auth_user" ADD COLUMN "location" varchar(100) NULL; The error was: column "location" of relation "auth_user" already exists FATAL ERROR - The following SQL query failed: ALTER TABLE "auth_user" ADD COLUMN "email_key" varchar(32) NULL; The error was: column "email_key" of relation "auth_user" already exists FATAL ERROR - The following SQL query failed: ALTER TABLE "auth_user" ADD COLUMN "date_of_birth" date NULL; The error was: column "date_of_birth" of relation "auth_user" already exists FATAL ERROR - The following SQL query failed: ALTER TABLE "auth_user" ADD COLUMN "reputation" integer CHECK ("reputation" >= 0) NOT NULL DEFAULT 1; The error was: column "reputation" of relation "auth_user" already exists FATAL ERROR - The following SQL query failed: ALTER TABLE "auth_user" ADD COLUMN "gravatar" varchar(32) NULL; The error was: column "gravatar" of relation "auth_user" already exists FATAL ERROR - The following SQL query failed: ALTER TABLE "auth_user" ADD COLUMN "bronze" smallint NOT NULL DEFAULT 0; The error was: column "bronze" of relation "auth_user" already exists FATAL ERROR - The following SQL query failed: ALTER TABLE "auth_user" ADD COLUMN "tag_filter_setting" varchar(16) NOT NULL DEFAULT 'ignored'; The error was: column "tag_filter_setting" of relation "auth_user" already exists FATAL ERROR - The following SQL query failed: ALTER TABLE "auth_user" ADD COLUMN "last_seen" timestamp with time zone NOT NULL DEFAULT '2014-02-04 15:45:25.071122'; The error was: column "last_seen" of relation "auth_user" already exists FATAL ERROR - The following SQL query failed ... |
2013-11-21 13:24:39 -0500 | received badge | Famous Question (source) |
2013-09-24 00:09:51 -0500 | commented question | Problem running askbot migrations on postgresql DB. Steps which results in the issue: 1) Take a new created DB in postgres 2) Run the syncdb and migrate command 3) Migration fails when it reaches the migration askbot:0013_add_response_count__to_user 4) The same when used with sqlite works just fine. (The problem is specific to postgres ) |
2013-09-16 04:32:31 -0500 | asked a question | Problem running askbot migrations on postgresql DB. Hi, I am using ASKBOT 0.7.48 and Django 1.4. DB is postgres I am unable to run migrations successfully. The process exits in middle of migration raising an unexpected error. There was a related issue question - 10912 but i am not sure if this has been fixed for postgres backend too. Please help me resolve the issue. Stacktrace: adding new badge Guru adding new badge Necromancer adding new badge Taxonomist
Adding subscription on comment responses and name mentions for each user. frequency will be automatically set to the most frequent selection that user made for any other types of subscriptions added '<django.utils.functional.__proxy__ 0x2a76650="" at="" object="">' subscription for admin (1)</django.utils.functional.__proxy__>
probably already have column User.response_count Error in migration: askbot:0013_add_response_count__to_user
|
2013-09-13 05:45:43 -0500 | commented question | Cannot start a new project with askbot Hi this issue is still there when i use postgres db. Can you help me with this. |