Title 'NoneType' object has no attribute 'user_has_selected_nickname'
Priority bug Status resolved
Superseder Nosy List berker.peksag, petri.lehtinen
Assigned To Topics

Created on 2013-02-23.19:58:43 by petri.lehtinen, last changed 2018-06-12.18:28:37 by berker.peksag.

msg2703 (view) Author: petri.lehtinen Date: 2013-02-23.19:58:42
After reviewing and commenting, I clicked the "publish + mail comments", and got a Django error page:

AttributeError at /review/17267/publish
'NoneType' object has no attribute 'user_has_selected_nickname'


File "/usr/lib/pymodules/python2.6/django/core/handlers/" in get_response
  95.                     response = middleware_method(request, callback, callback_args, callback_kwargs)
File "/home/roundup/trackers/tracker/rietveld/rietveld_helper/" in process_view
  37.         response = view_func(request, *view_args, **view_kwargs)
File "/home/roundup/trackers/tracker/rietveld/codereview/" in login_wrapper
  657.     return func(request, *args, **kwds)
File "/home/roundup/trackers/tracker/rietveld/codereview/" in issue_wrapper
  741.     return func(request, *args, **kwds)
File "/home/roundup/trackers/tracker/rietveld/codereview/" in xsrf_wrapper
  694.     return func(request, *args, **kwds)
File "/home/roundup/trackers/tracker/rietveld/codereview/" in publish
  3013.                                              'draft_message': draft_message,
File "/home/roundup/trackers/tracker/rietveld/codereview/" in respond
  502.     must_choose_nickname = not account.user_has_selected_nickname()

Exception Type: AttributeError at /review/17267/publish
Exception Value: 'NoneType' object has no attribute 'user_has_selected_nickname'

When going back and clicking it again, it worked ok.
msg3489 (view) Author: berker.peksag Date: 2018-06-12.18:28:37
The recommended way of contributing to Python is now GitHub pull requests and we no longer maintain our Rietveld instance.

Closing this issue.
Date User Action Args
2018-06-12 18:28:37berker.peksagsetstatus: unread -> resolved
nosy: + berker.peksag
messages: + msg3489
2013-02-23 19:58:43petri.lehtinencreate