I submitted two review requests, but only one succeeded.

**************************************************************************************************
SUCCESSFUL:

[~]$ post-review //path/to/file#8 --debug
>>> svn info
>>> p4 info
>>> repository info: Path: perforce.server.com:1666, Base path: None, Supports 
>>> changesets: True
>>> p4 counters
>>> Writing "//path/to/file#8" to "/tmp/tmpqGKzlE"
>>> p4 print -o /tmp/tmpqGKzlE -q //path/to/file#8
>>> diff -urNp /tmp/tmpOVbHra /tmp/tmpqGKzlE
>>> Looking for 'ip.address /' cookie in /home/user/.post-review-cookies.txt
>>> Loaded valid cookie -- no login required
>>> Attempting to create review request on perforce.server.com:1666 for None
>>> HTTP POSTing to http://ip.address/api/json/reviewrequests/new/: 
>>> {'repository_path': 'perforce/server.com:1666'}
>>> Review request created
>>> Uploading diff, size: 7291
>>> HTTP POSTing to http://ip.address/api/json/reviewrequests/176/diff/new/: {}
Review request #176 posted.


UNSUCCESSFUL:

[~]$ post-review changelist --debug
>>> svn info
>>> p4 info
>>> repository info: Path: perforce.server.com:1666, Base path: None, Supports 
>>> changesets: True
>>> p4 counters
>>> Generating diff for changenum changelist
>>> p4 describe -s changelist
>>> Processing edit of //path/to/file
>>> Writing "//path/to/file#7" to "/tmp/tmpePxLve"
>>> p4 print -o /tmp/tmpePxLve -q //path/to/file#7
>>> Writing "//path/to/file#8" to "/tmp/tmpNjfomF"
>>> p4 print -o /tmp/tmpNjfomF -q //path/to/file#8
>>> diff -urNp /tmp/tmpePxLve /tmp/tmpNjfomF
>>> Looking for 'ip.address /' cookie in /home/user/.post-review-cookies.txt
>>> Loaded valid cookie -- no login required
>>> Attempting to create review request on perforce.server.com:1666 for 
>>> changelist
>>> HTTP POSTing to http://ip.address/api/json/reviewrequests/new/: 
>>> {'repository_path': 'perforce.server.com:1666', 'changenum': 'changelist'}
>>> Review request created
>>> Uploading diff, size: 1427
>>> HTTP POSTing to http://ip.address/api/json/reviewrequests/175/diff/new/: {}
>>> Got API Error 105 (HTTP code 200): One or more fields had errors
>>> Error data: {'fields': {'path': ['[Errno 2] No such file or directory']}, 
>>> 'stat': 'fail', 'err': {'msg': 'One or more fields had errors', 'code': 
>>> 105}}

Error uploading diff

The generated diff file was empty. This usually means no files were
modified in this change.

Try running with --output-diff and --debug for more information.

Your review request still exists, but the diff is not attached.
**************************************************************************************************
What could be the issue??

Thanks in advance.

-- 
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

Reply via email to