1838: HTTP mail is broken

bmgco******@gmai***** (Google Code) (Is this you? Claim this profile.)
Oct. 1, 2010
What version are you running?
1.5

What's the URL of the page containing the problem?
It's in the notification mail

What steps will reproduce the problem?
1. Site is setup with SSL.
2. Publish a review
3.

What is the expected output? What do you see instead?

In the email, I get:

Diff currently unavailable.
Error: 'meta'
Details 

Traceback (most recent call last):
  File "/usr/local/lib/python2.6/dist-packages/ReviewBoard-1.5-py2.6.egg/reviewboard/reviews/views.py", line 511, in build_diff_comment_fragments
    comment.num_lines)),
  File "/usr/local/lib/python2.6/dist-packages/ReviewBoard-1.5-py2.6.egg/reviewboard/diffviewer/diffutils.py", line 1170, in get_file_chunks_in_range
    if ('headers' in chunk['meta'] and
KeyError: 'meta'
Another



What operating system are you using? What browser?
Ubuntu, Firefox.

Please provide any additional information below.
chipx86
#1 chipx86
This looks like a stale caching issue. Clear your server cache and it should go away. Please let me know if it doesn't.
  • +NeedInfo
#2 bmgco******@gmai***** (Google Code) (Is this you? Claim this profile.)
I restarted Apache and things cleaned up.  Looks like a false alarm!
david
#3 david
Thanks.
  • -NeedInfo
    +SetupIssue
#4 asch*****@gmai***** (Google Code) (Is this you? Claim this profile.)
Hey.  I'm seeing something very similar when I access this URL:

https://review-board-path/reviews/r/150/fragments/diff-comments/370/?queue=diff_fragments&container_prefix=comment_container&1288637718

I obviously don't need to access that URL, but it seems that AJAX is requesting it when I go into review request 150's diff view.

What is the "stale caching issue" and how do I clear my "server cache"?  I've tried restarting apache; no luck.  This is under RB 1.5, Gentoo, Firefox.




sourcefile.cpp (Diff revision 1)
Diff currently unavailable.
Error: 'meta'
Details
Traceback (most recent call last):
File "/usr/lib64/python2.6/site-packages/ReviewBoard-1.5-py2.6.egg/reviewboard/reviews/views.py", line 511, in build_diff_comment_fragments
comment.num_lines)),
File "/usr/lib64/python2.6/site-packages/ReviewBoard-1.5-py2.6.egg/reviewboard/diffviewer/diffutils.py", line 1170, in get_file_chunks_in_range
if ('headers' in chunk['meta'] and
KeyError: 'meta'
#5 asch*****@gmai***** (Google Code) (Is this you? Claim this profile.)
It seems that deleting /tmp/reviewboard_cache fixed the problem.
chipx86
#6 chipx86
You may want to look into using memcached, which is more efficient.