User 2128 (https://review-board.natinst.com/admin/db/auth/user/2128/) does 
exist. It's a dummy user we created to let people earmark reviews to be 
pre-submit built by our build farm. But that *shouldn't* make a difference. 
FWIW the user is active with just a first name and no last name. Not staff 
or superuser.

I also remember seeing the same error for user with ID 9 which is a real 
user. Has username/first name/last name/email/active/not staff/not 
superuser.


On Monday, January 28, 2019 at 6:39:28 PM UTC-6, Christian Hammond wrote:
>
> Hi Josh,
>
> We'll need to poke around for this in our code. It's going to be entirely 
> within Power Pack code. Can you tell me if User #2128 is in the database, 
> and whether there's anything special about it (is it an active user?)
>
> Christian
>
> On Mon, Jan 28, 2019 at 11:40 AM Joshua Cannon <[email protected] 
> <javascript:>> wrote:
>
>> Howdy folks!
>>
>>
>> I'm seeing the following exceptions from a user using Power Pack. I'd 
>> usually debug this kind of thing myself, but I see that rbpowerpack is 
>> closed source (only ships .pyc files).
>>
>> I'm gonna guess the missing key is the ID of something in the database, 
>> but that's just a guess.
>>
>>
>> Below is the stack trace. What area of RB should I be poking around in 
>> for the source of this issue?
>>
>>
>>
>> Traceback (most recent call last):
>>
>>  
>>
>>   File 
>> "/opt/apps/reviewboard/venv/lib/python2.7/site-packages/django/core/handlers/base.py",
>>  
>> line 112, in get_response
>>
>>     response = wrapped_callback(request, *callback_args, 
>> **callback_kwargs)
>>
>>  
>>
>>   File 
>> "/opt/apps/reviewboard/venv/lib/python2.7/site-packages/reviewboard/accounts/decorators.py",
>>  
>> line 23, in _check
>>
>>     return login_required(view_func)(*args, **kwargs)
>>
>>  
>>
>>   File 
>> "/opt/apps/reviewboard/venv/lib/python2.7/site-packages/django/contrib/auth/decorators.py",
>>  
>> line 22, in _wrapped_view
>>
>>     return view_func(request, *args, **kwargs)
>>
>>  
>>
>>   File 
>> "/opt/apps/reviewboard/venv/lib/python2.7/site-packages/reviewboard/site/decorators.py",
>>  
>> line 35, in _check
>>
>>     return view_func(request, local_site=local_site, *args, **kwargs)
>>
>>  
>>
>>   File "/rbpowerpack/reports/decorators.py", line 29, in _check
>>
>>  
>>
>>   File "/rbpowerpack/reports/views.py", line 58, in report_data
>>
>>  
>>
>>   File "/rbpowerpack/reports/reports.py", line 1192, in get_csv
>>
>>  
>>
>> KeyError: 2128L
>>
>>  
>>
>>  
>>
>> <WSGIRequest
>>
>> path:/reports/review-relationships/data/,
>>
>> GET:<QueryDict: {u'start': [u'2019-01-20'], u'csv': [u'1'], u'end': 
>> [u'2019-01-26'], u'users': [u''], u'groups': 
>> [u'group1,group2,group3,group4,group5']}>,
>>
>> ...
>>
>> -- 
>> 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 
>> "Review Board Community" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] <javascript:>.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
> -- 
> Christian Hammond
> President/CEO of Beanbag <https://www.beanbaginc.com/>
> Makers of Review Board <https://www.reviewboard.org/>
>

-- 
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 
"Review Board Community" 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