First time here? Check out the FAQ!
1

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/base.py TIME: 2013-01-31 16:57:53,083 MSG: base.py:handle_uncaught_exception:215 Internal Server Error: /questions/64/retag/
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py", line 111, in get_response
    response = callback(request, *callback_args, **callback_kwargs)
  File "/usr/local/lib/python2.7/dist-packages/django/contrib/auth/decorators.py", line 20, in _wrapped_view
    return view_func(request, *args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/django/views/decorators/csrf.py", line 77, in wrapped_view
    return view_func(*args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/askbot/views/writers.py", 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
93
Fabien Meghazi
asked 2013-01-31 09:52:52 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

1

The latest version 0.7.48 has this issue fixed.

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

Comments

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