First time here? Check out the FAQ!

Revision history  [back]

I have exactly the same issue. I couldn't resolve the problem but did some diagnosis, so I wanted to share it with you. 1. The first user which is created using the django command line doesn't raise this issue. 2. The problem seems to come from the presence of the field "authusergroups_ptr_id" in the table "askbot_groupmembership". When a new user is created using the askbot interface, new groups are created and the "askbot_groupmembership" is populated with pointers to these groups. If you delete these pointers (entries) from the "askbot_groupmembership", then the save action works just fine.

I think, the reason why #1 works fine is that no groups and groupmemberships are created when the user is created with the manage.py commandline.

So, I think we should look at why these membership keys raise a problem. This seems to be happening in askbot/models/__init__.py during the creation of a new user but I couldn't figure out what the problem is.