First time here? Check out the FAQ!

retag option throws an exception

Using askbot 0.7.47 installed from pip.

Whenever someone tries to retag a question, a "Sorry, something is not right here" overlay appears and I can notice this traceback on the server :

/usr/local/lib/python2.7/dist-packages/django/core/handlers/ TIME: 2013-01-31 16:57:53,083 MSG: Internal Server Error: /questions/64/retag/
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/", line 111, in get_response
    response = callback(request, *callback_args, **callback_kwargs)
  File "/usr/local/lib/python2.7/dist-packages/django/contrib/auth/", line 20, in _wrapped_view
    return view_func(request, *args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/django/views/decorators/", line 77, in wrapped_view
    return view_func(*args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/askbot/views/", line 326, in retag_question
    if request.user.message_set.count() > 0:
AttributeError: 'RelatedObjectSimulator' object has no attribute 'count'

Is this a known problem ? If true, is there a way to solve it ?

Fabien Meghazi's avatar
Fabien Meghazi
asked 2013-01-31 09:52:52 -0500
edit flag offensive 0 remove flag close merge delete


add a comment see more comments

1 Answer


The latest version 0.7.48 has this issue fixed.

Evgeny's avatar
answered 2013-02-02 15:02:36 -0500
edit flag offensive 0 remove flag delete link


Yes, I confirm. I migrated to 0.7.48 and the problem has gone. Thanks !

Fabien Meghazi's avatar Fabien Meghazi (2013-02-03 14:53:27 -0500) edit
add a comment see more comments