Ask Your Question
1

Exception: EmailFeedSetting matching query does not exist

asked 2010-10-29 15:07:26 -0600

Benoit gravatar image

updated 2010-11-21 14:01:12 -0600

Evgeny gravatar image

I get an EmailFeedSetting exception in models/__init__.py: user_get_q_sel_email_feed_frequency This happened when I went to the user profile and clicked on the user's answer.

The user's email field is empty. There is also no entry in the askbot_emailfeedsetting for this user.

Note that the user was created with a call to User.object.get_or_create(username=xxx, first_name=xxx, last_name=xxx, email=xxx)

If I go to the profile's subscription tab and select "update", this exception disappears. Is there another call I need to make the I use User.object.get_or_create to set the email feed settings?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2010-10-29 15:33:03 -0600

Evgeny gravatar image

updated 2010-11-15 14:34:22 -0600

(prev answer overwritten)

edit: added a management command to fix this (starting version 0.6.28 and available in github master branch)

python manage.py add_missing_subscriptions
edit flag offensive delete link more

Comments

That worked! Thanks for the quick answer.
Benoit gravatar imageBenoit ( 2010-10-29 16:41:20 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2010-10-29 15:07:26 -0600

Seen: 280 times

Last updated: Nov 21 '10