Error when saving user information

When I try to save a user in the /admin/ area I get this error:

update or delete on table "auth_user_groups" violates foreign key constraint "authusergroups_ptr_id_refs_id_695c01d17902b95c" on table "askbot_groupmembership" DETAIL: Key (id)=(1) is still referenced from table "askbot_groupmembership".

I ran the DB migration and everything as expected. Any ideas how could I fix it? It is running on heroku and postgres.

thanks, Oscar

oscarfh's avatar
69
oscarfh
asked 2013-02-02 16:25:56 -0600
Evgeny's avatar
13.2k
Evgeny
updated 2013-02-02 16:54:45 -0600
edit flag offensive 0 remove flag close merge delete

Comments

1

This is the same problem as referenced on the IntegrityError when updating user (http://askbot.org/en/question/9813/integrityerror-when-updating-user/) question. I'm also having this problem.

apalazon's avatar apalazon (2013-02-15 03:16:56 -0600) edit

I am also having this problem, I would love to see resolution for this.

cooperq's avatar cooperq (2013-05-02 16:31:27 -0600) edit
add a comment see more comments