Your administrator can fix this for you by doing:

    $ rb-site manage /path/to/sitedir shell
    >>> from django.contrib.auth.models import User
    >>> user = User.objects.get(username="<your username>")
    >>> profile = user.get_profile()
    >>> profile.extra_data = {}
    >>> profile.save()

We'll get a fix into the next release, but that should fix your state.

Christian

-- 
Christian Hammond
President/CEO of Beanbag <https://www.beanbaginc.com/>
Makers of Review Board <https://www.reviewboard.org/>

On Wed, Jul 6, 2016 at 7:06 PM, <[email protected]> wrote:

> Nop. I can however go to the All Review Requests link and see the CRs
> properly. Just doesn't seem to show the current state (e.g. ship-it,
> comments icon etc).
>
>
>    - My Dashboard <http://melizarov.apptio.lan/dashboard/>
>    - New Review Request <http://melizarov.apptio.lan/r/new/>
>    - All Review Requests <http://melizarov.apptio.lan/r/>
>
>
>
>
>
>
>
>
> On Wednesday, July 6, 2016 at 6:56:43 PM UTC-7, Christian Hammond wrote:
>>
>> Hi,
>>
>> Looks like there's some state that's not set, which we aren't handling
>> well. This is a bug on our end, but it should be possible to work around it.
>>
>> If you navigate to a review request and its diff, and then go back, does
>> it work?
>>
>> Christian
>>
>> --
>> Christian Hammond
>> President/CEO of Beanbag <https://www.beanbaginc.com/>
>> Makers of Review Board <https://www.reviewboard.org/>
>>
>> On Wed, Jul 6, 2016 at 6:20 PM, <[email protected]> wrote:
>>
>>> - Exception thrown for user user123 at http://foo.bar.lan/dashboard/
>>>
>>> argument of type 'NoneType' is not iterable
>>> Traceback (most recent call last):
>>>   File 
>>> "/usr/lib/python2.7/site-packages/Django-1.6.11-py2.7.egg/django/core/handlers/base.py",
>>>  line 112, in get_response
>>>     response = wrapped_callback(request, *callback_args, **callback_kwargs)
>>>   File 
>>> "/usr/lib/python2.7/site-packages/Django-1.6.11-py2.7.egg/django/contrib/auth/decorators.py",
>>>  line 22, in _wrapped_view
>>>     return view_func(request, *args, **kwargs)
>>>   File 
>>> "/usr/lib/python2.7/site-packages/ReviewBoard-2.5.6.1-py2.7.egg/reviewboard/site/decorators.py",
>>>  line 35, in _check
>>>     return view_func(request, local_site=local_site, *args, **kwargs)
>>>   File 
>>> "/usr/lib/python2.7/site-packages/ReviewBoard-2.5.6.1-py2.7.egg/reviewboard/accounts/decorators.py",
>>>  line 47, in _check_valid_prefs
>>>     return view_func(request, *args, **kwargs)
>>>   File 
>>> "/usr/lib/python2.7/site-packages/ReviewBoard-2.5.6.1-py2.7.egg/reviewboard/datagrids/views.py",
>>>  line 62, in dashboard
>>>     return grid.render_to_response(template_name)
>>>   File 
>>> "/usr/lib/python2.7/site-packages/Djblets-0.9.3-py2.7.egg/djblets/datagrid/grids.py",
>>>  line 1448, in render_to_response
>>>     self.load_state(render_context)
>>>   File 
>>> "/usr/lib/python2.7/site-packages/Djblets-0.9.3-py2.7.egg/djblets/datagrid/grids.py",
>>>  line 1145, in load_state
>>>     if self.load_extra_state(profile):
>>>   File 
>>> "/usr/lib/python2.7/site-packages/ReviewBoard-2.5.6.1-py2.7.egg/reviewboard/datagrids/grids.py",
>>>  line 375, in load_extra_state
>>>     if profile and 'show_archived' in profile.extra_data:
>>> TypeError: argument of type 'NoneType' is not iterable
>>>
>>> Any ideas? Other users on the same reviewboard instance don't seem to get 
>>> an error when going to their dashboard.
>>>
>>> --
>>> Supercharge your Review Board with Power Pack:
>>> https://www.reviewboard.org/powerpack/
>>> Want us to host Review Board for you? Check out RBCommons:
>>> https://rbcommons.com/
>>> Happy user? Let us know! https://www.reviewboard.org/users/
>>> ---
>>> You received this message because you are subscribed to the Google
>>> Groups "reviewboard" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to [email protected].
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to