Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 2561 by API Error 105

* NOTE: Do not post confidential information in this bug report. *
*       If you need immediate support, please contact            *
*                             *

What version are you running? 1.6.5

What's the URL of the page containing the problem?

What steps will reproduce the problem? from Windows system

What is the expected output? What do you see instead? A valid post-review.

Got API Error 105 (HTTP code 400): One or more fields had errors
Error data: {u'fields': {u'path': [u'list index out of range']}, u'stat': u'fail', u'err': {u'msg': u'One or more fields had errors', u'code': 105}}
Error uploading diff
The generated diff file was empty. This usually means no files were modified in this change.

There were diffs generated.

ReviewBoard Server log:

2012-04-02 10:14:27,554 - DEBUG - DiffParser.parse: Beginning parse of diff, size = 622 2012-04-02 10:14:27,555 - ERROR - Error uploading new diff: list index out of range
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/ReviewBoard-1.6.5-py2.7.egg/reviewboard/webapi/", line 1509, in create
File "/usr/local/lib/python2.7/dist-packages/ReviewBoard-1.6.5-py2.7.egg/reviewboard/reviews/", line 286, in create
File "/usr/local/lib/python2.7/dist-packages/ReviewBoard-1.6.5-py2.7.egg/reviewboard/diffviewer/", line 63, in create
    diff_file, basedir, check_existance=(not parent_diff_file)))
File "/usr/local/lib/python2.7/dist-packages/ReviewBoard-1.6.5-py2.7.egg/reviewboard/diffviewer/", line 136, in _process_files
    for f in tool.get_parser(
File "/usr/local/lib/python2.7/dist-packages/ReviewBoard-1.6.5-py2.7.egg/reviewboard/diffviewer/", line 49, in parse
    next_linenum, new_file = self.parse_change_header(i)
File "/usr/local/lib/python2.7/dist-packages/ReviewBoard-1.6.5-py2.7.egg/reviewboard/diffviewer/", line 74, in parse_change_header
    linenum = self.parse_special_header(linenum, info)
File "/usr/local/lib/python2.7/dist-packages/ReviewBoard-1.6.5-py2.7.egg/reviewboard/scmtools/", line 407, in parse_special_header
    linenum = super(SVNDiffParser, self).parse_special_header(linenum, info)
File "/usr/local/lib/python2.7/dist-packages/ReviewBoard-1.6.5-py2.7.egg/reviewboard/diffviewer/", line 125, in parse_special_header
    info['index'] = self.lines[linenum].split(None, 2)[1]
IndexError: list index out of range

What operating system are you using? Win 7

What browser? ie9

Please provide any additional information below.

The post-review works from a Linux system but does not work from my Windows system.

You received this message because you are subscribed to the Google Groups 
"reviewboard-issues" group.
To post to this group, send email to
To unsubscribe from this group, send email to
For more options, visit this group at

Reply via email to