Diff viewer errors on certain diffs.

2010-01-21 Thread Infamy
Certain diffs toss a nice error on the /r/r#/diff page. I cannot post
the diff due to legal reasons, but maybe someone has some ideas from
the error which will help narrow down the problem.

The only thing I have found so far is that all the diffs that seem to
choke are .cpp.

.c

Traceback (most recent call last):
  File /home/aharvey/Code/reviewboard/reviewboard/diffviewer/
views.py, line 153, in view_diff
interdiffset, highlighting, True)
  File /home/aharvey/Code/reviewboard/reviewboard/diffviewer/
diffutils.py, line 880, in get_diff_files
large_data=True)
  File /usr/local/lib/python2.6/dist-packages/Djblets-0.5.7alpha0.dev-
py2.6.egg/djblets/util/misc.py, line 162, in cache_memoize
data = lookup_callable()
  File /home/aharvey/Code/reviewboard/reviewboard/diffviewer/
diffutils.py, line 879, in lambda
enable_syntax_highlighting)),
  File /home/aharvey/Code/reviewboard/reviewboard/diffviewer/
diffutils.py, line 601, in get_chunks
register_interesting_lines_for_filename(differ, file)
  File /home/aharvey/Code/reviewboard/reviewboard/diffviewer/
diffutils.py, line 375, in register_interesting_lines_for_filename
regexes = HEADER_REGEXES[HEADER_REGEX_ALIASES[ext]]
KeyError: '.c'

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en

Problem with the latest RB

2010-01-19 Thread Infamy
I get the following error with the latest RB from GIT.

--
AttributeError at /dashboard/

'ReviewRequest' object has no attribute 'draft_summary'

Request Method: GET
Request URL:http://172.16.86.110:8080/dashboard/
Exception Type: AttributeError
Exception Value:

'ReviewRequest' object has no attribute 'draft_summary'

Exception Location: /home/aharvey/Code/reviewboard-brk/reviewboard/
reviews/datagrids.py in render_data, line 230


I'm running it using the devserver.sh, and have tried to update my
database using ./manage.py evolve -x, but get told there is no
evolution needed. Well from the error I'm almost a 100% sure there is
a evolution needed!

Anyone having similar problems? Or have a solution?

Alex
-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en