What version are you running?
2.5
What's the URL of the page containing the problem?
dashboard/
What steps will reproduce the problem?
- View the Summary Column on the Dashboard
What is the expected output? What do you see instead?
The summary of the review request. However, the summary for ALL issues is 'None'. Clicking into individual issues shows the correct summary.
What operating system are you using? What browser?
Windows 7, Firefox 41
Please provide any additional information below.
That is bizarre..
Are there any custom extensions or anything on the system?
Does the summary appear correctly when viewing the review request?
-
- New + NeedInfo
The dashboard columns also look really screwed up. This doesn't look like a complete deployment.
Was Apache restarted after upgrade?
Custom extensions: no
Summary appear correctly when viewing the request: yes
python version: 2.6.6
django version: 1.6.11Running ReviewBoard on RHEL6.5, 64bit
I incorrectly stated Windows 7 in the ticket (which is actually the machine I am working from).I'm not the IT-guy who does the install/configuration, I just ping him to do this.
DJblets: Not sure how to check the version, although I see version 0.9 was installed today.
Apache: not sure. I can ask IT tomorrow.The rest of the Dashboard seems to work for me, although I re-arranged the columns just to get the screenshot.
So the ">> To Me" column is in an odd place.
There might be a bug with column rearranging that's separate, then.
Would you be able to get the IT guy to see if there are any tracebacks in the
reviewboard.log
? That might tell us something.I also have some things that IT can try to help pinpoint the error, if there's nothing in the logs.
Here's a traceback (ignore the times, they are ~4 hours in the future).
There are 23 of them with this timestamp, apparently 1 per entry in my dashboard.2015-10-30 16:19:38,379 - ERROR - - Error when calling render_data for DataGrid Column <reviewboard.datagrids.columns.SummaryColumn object at 0x7f9e24f25450>: zero length field name in format
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/Djblets-0.9-py2.6.egg/djblets/datagrid/grids.py", line 447, in render_cell
rendered_data = self.render_data(state, obj)
File "/usr/lib/python2.6/site-packages/ReviewBoard-2.5-py2.6.egg/reviewboard/datagrids/columns.py", line 672, in render_data
'', '<label class="{}">{}</label>', labels)
File "/usr/lib/python2.6/site-packages/Django-1.6.11-py2.6.egg/django/utils/html.py", line 101, in format_html_join
for args in args_generator))
File "/usr/lib/python2.6/site-packages/Django-1.6.11-py2.6.egg/django/utils/html.py", line 101, in <genexpr>
for args in args_generator))
File "/usr/lib/python2.6/site-packages/Django-1.6.11-py2.6.egg/django/utils/html.py", line 82, in format_html
return mark_safe(format_string.format(args_safe, *kwargs_safe))
ValueError: zero length field name in format
Looks like a difference in how this works on Python 2.6 and Python 2.7... Sorry for the inconvenience. We'll get it out in a point release, and I'll send the patch your way.
This will be the last version to support Python 2.6, so I'd recommend upgrading whenever possible.
So python 2.6 is the default for RHEL6. We have other services running on the machine which may break if we just upgrade python. Is there a way to tell reviewboard to use a different version of python (e.g. installed in /opt)?
You'd have to reinstall Review Board through
pip
oreasy_install
, uninstalling the RPM in the process. Your mod_wsgi would also need to be compiled for Python 2.7.We'll work on getting a new release out in the coming week.