Ask Your Question
1

retag option throws an exception

asked 2013-01-31 09:52:52 -0600

Fabien Meghazi gravatar image

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 ?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2013-02-02 15:02:36 -0600

Evgeny gravatar image

The latest version 0.7.48 has this issue fixed.

edit flag offensive delete link more

Comments

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

Fabien Meghazi gravatar imageFabien Meghazi ( 2013-02-03 14:53:27 -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: 2013-01-31 09:52:52 -0600

Seen: 1,893 times

Last updated: Feb 02 '13