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

New issue 1339 by hoffbrinkle: post-review errors with [Errno 2] No such  
file or directory
http://code.google.com/p/reviewboard/issues/detail?id=1339

What version are you running?
1.1 alpha 1


What's the URL of the page containing the problem?
http://<server>/reviews/api/json/reviewrequests/1/diff/new/

What steps will reproduce the problem?
1. post-review

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

$ post-review --server=http://<server>/reviews/ --debug 967784
>>> svn info
>>> git rev-parse --git-dir
>>> p4 info
>>> repository info: Path: <repos>:1666, Base path: None, Supports
changesets: True
>>> Generating diff for changenum 967784
>>> p4 describe -s 967784

[...diff snipped, --output-diff works fine...]

>>> Looking for '<server> /reviews/' cookie in
/u/hordijk/.post-review-cookies.txt
>>> Loaded valid cookie -- no login required
>>> Attempting to create review request for 967784
>>> HTTP POSTing to http://<server>/reviews/api/json/reviewrequests/new/:
{'repository_path': '<repos>:1666', 'changenum': '967784'}
>>> Review request already exists. Updating it...
>>> HTTP POSTing to
http://<server>/reviews/api/json/reviewrequests/1/update_from_changenum/: {}
>>> Review request created
>>> Uploading diff, size: 1101
>>> HTTP POSTing to
http://<server>/reviews/api/json/reviewrequests/1/diff/new/: {}
Error uploading diff: One or more fields had errors (105)
>>> {u'fields': {u'path': [u'[Errno 2] No such file or directory']},
u'stat': u'fail', u'err': {u'msg': u'One or more fields had errors',
u'code': 105}}
Your review request still exists, but the diff is not attached.


What operating system are you using? What browser?
Linux

Please provide any additional information below.
This is (obviously) a clean installation of reviewboard.  Tried 1.0.3
first, had this issue.  Upgraded to 1.1 alpha 1, some issue.  Configured
reviewboard in the past with no issues, but I'm not sure how to get more
information out of post-review to debug this.

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"reviewboard-issues" group.
To post to this group, send email to reviewboard-issues@googlegroups.com
To unsubscribe from this group, send email to 
reviewboard-issues+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard-issues?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to