------------------------------------------------------------------------------
To reply, visit https://hellosplat.com/s/beanbag/tickets/4688/
------------------------------------------------------------------------------

New update by Misery
For Beanbag, Inc. > Review Board > Ticket #4688


Reply:

    We are seeing this same issue on our reviewboard server 3.0.10
    
    Was on a reviewbot cppcheck of a c++ file, the review shows this error in 
place of the diff
    
    There was an error displaying this diff.
    unsupported operand type(s) for -: 'NoneType' and 'int'
    
    This may be a a temporary outage or an issue with the format of your diff.
    
    Please try again, and if you still have trouble, contact support.
    
    Details
    Traceback (most recent call last):
      File "/usr/lib64/python2.7/site-packages/reviewboard/reviews/views.py", 
line 381, in build_diff_comment_fragments
        first_line = max(1, comment.first_line - lines_of_context[0])
    TypeError: unsupported operand type(s) for -: 'NoneType' and 'int'
    
    And this is the cppcheck output for the diff in question
    
    Too many #ifdef configurations - cppcheck only checks 12 configurations. 
Use --force to check all configurations. For more details, use 
--enable=information.".
    
    Category: information
    Sub Category: toomanyconfigs

-- 
You received this message because you are subscribed to the Google Groups 
"reviewboard-issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/reviewboard-issues.
For more options, visit https://groups.google.com/d/optout.

Reply via email to