Ask Your Question

Exception: EmailFeedSetting matching query does not exist

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

Benoit's avatar

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

Evgeny's avatar

I get an EmailFeedSetting exception in models/ 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

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

Evgeny's avatar

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

(prev answer overwritten)

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

python add_missing_subscriptions
edit flag offensive delete link more


That worked! Thanks for the quick answer.
Benoit's avatar Benoit  ( 2010-10-29 16:41:20 -0500 )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


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

Seen: 367 times

Last updated: Nov 21 '10