500 error when trying to download a CSV report "code review relationships" for everybody

19 views
Skip to first unread message

Paul Mansfield

unread,
Nov 26, 2019, 12:15:06 PM11/26/19
to Review Board Community

I clicked on the Reports link in the top navigation


and then selected code review relationships and selected everyone.


I then clicked on the Download CSV link on the right hand side and got
Something broke! (Error 500)

It appears something broke when you tried to go to here. This is either a bug in Review Board or a server configuration error. Please report this to your administrator.



going directly to this link also reproduces the error:

https://rb.example.com/reports/review-relationships/data/?users=&groups=&start=2019-10-27&end=2019-11-02&everyone=true&csv=1



when I do this, I see the following error in the log:


2019-11-26 17:04:49,963 - ERROR - None - paulm - /reports/review-relationships/data/ - djblets.log.middleware - Exception thrown for user paulm at https://rb.example.com/reports/review-relationships/data/?users=&groups=&start=2019-10-27&end=2019-11-02&everyone=true&csv=1


1L

Traceback (most recent call last):

  File "/usr/lib/python2.7/site-packages/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/reviewboard/accounts/decorators.py", line 29, in _check

    return login_required(view_func)(*args, **kwargs)

  File "/usr/lib/python2.7/site-packages/django/contrib/auth/decorators.py", line 22, in _wrapped_view

    return view_func(request, *args, **kwargs)

  File "/usr/lib/python2.7/site-packages/reviewboard/site/decorators.py", line 36, 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 1188, in get_csv

KeyError: 1L




if I manually select people and DONT choose everyone, then it works fine


David Trowbridge

unread,
Nov 26, 2019, 12:18:57 PM11/26/19
to revie...@googlegroups.com
Paul,

Would you mind reporting this to sup...@beanbaginc.com? We can take care of it there.

David

--
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 reviewboard...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/reviewboard/bc65422c-bc1f-4399-8a75-be34619009a1%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages