Askbot is a Django/Python Q&A forum. **Contributors README**: https://github.com/ASKBOT/askbot-devel#how-to-contribute. Commercial hosting of Askbot and support are available at https://askbot.com
Other
1.56k
stars
628
forks
source link
there is an issue in unsubscribe when user matching email is not found #932
Internal Server Error: /users/unsubscribe/
Traceback (most recent call last):
File "/srv/ask/node-py27/env/lib/python2.7/site-packages/django/core/handlers/base.py", line 132, in get_response
response = wrapped_callback(request, *callback_args, callback_kwargs)
File "/srv/ask/node-py27/env/lib/python2.7/site-packages/django/utils/decorators.py", line 110, in _wrapped_view
response = view_func(request, *args, *kwargs)
File "/srv/ask/node-py27/askbot/views/users.py", line 1299, in user_unsubscribe
user = models.User.objects.get(askbot_profile__email_key=key)
File "/srv/ask/node-py27/env/lib/python2.7/site-packages/django/db/models/manager.py", line 127, in manager_method
return getattr(self.get_queryset(), name)(args, kwargs)
File "/srv/ask/node-py27/env/lib/python2.7/site-packages/django/db/models/query.py", line 334, in get
self.model._meta.object_name
DoesNotExist: User matching query does not exist.
Internal Server Error: /users/unsubscribe/ Traceback (most recent call last): File "/srv/ask/node-py27/env/lib/python2.7/site-packages/django/core/handlers/base.py", line 132, in get_response response = wrapped_callback(request, *callback_args, callback_kwargs) File "/srv/ask/node-py27/env/lib/python2.7/site-packages/django/utils/decorators.py", line 110, in _wrapped_view response = view_func(request, *args, *kwargs) File "/srv/ask/node-py27/askbot/views/users.py", line 1299, in user_unsubscribe user = models.User.objects.get(askbot_profile__email_key=key) File "/srv/ask/node-py27/env/lib/python2.7/site-packages/django/db/models/manager.py", line 127, in manager_method return getattr(self.get_queryset(), name)(args, kwargs) File "/srv/ask/node-py27/env/lib/python2.7/site-packages/django/db/models/query.py", line 334, in get self.model._meta.object_name DoesNotExist: User matching query does not exist.