Here is my latest dump:

$ post-review 36875 --debug
>>> svn info
>>> p4 info
>>> repository info: Path: <PATH>, Base path: None, Supports changesets: True
>>> Generating diff for changenum 36875
>>> p4 describe -s 36875
>>> Processing edit of <DEPOT FILE>
>>> Writing "<DEPOT FILE>#30" to "/tmp/tmpcmvBj7"
>>> p4 print -o /tmp/tmpcmvBj7 -q <DEPOT FILE>#30
>>> diff -urNp /tmp/tmpcmvBj7 <LOCAL FILE>
>>> Looking for '<SERVER> /' cookie in /root/.post-review-cookies.txt
>>> Loaded valid cookie -- no login required
>>> Attempting to create review request on <PATH> for 36875
>>> HTTP POSTing to <SERVER>/api/json/reviewrequests/new/: {'repository_path': 
>>> '<PATH>', 'changenum': '36875'}
>>> Review request created
>>> Uploading diff, size: 221
>>> HTTP POSTing to <SERVER>/api/json/reviewrequests/50/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.




On Aug 3, 1:34 pm, rquit <rhondafquita...@gmail.com> wrote:
> I do not have p4 counter set, but I did specify the exact path in
> my .reviewboardrc file.
>
> On Aug 3, 1:30 pm, "Dana Lacoste" <dlaco...@aperio.com> wrote:
>
> > If you run "p4 counters" do you see the path to your RB server 
> > (inhttp://server/reviewboard/format) in the "repository_path" counter?
>
> > (If you have an older version of perforce the counter might have a
> > different syntax, but it should still be visible)
>
> > Dana Lacoste
>
> > -----Original Message-----
> > From: reviewboard@googlegroups.com [mailto:reviewbo...@googlegroups.com]
>
> > On Behalf Of rquit
> > Sent: Tuesday, August 03, 2010 1:21 PM
> > To: reviewboard
> > Subject: post-review with perforce
>
> > I believe I am all set up and now ready to create my first review.
> > However, this is what happens:
>
> > $ post-review 36875 --debug
> > >>> svn info
> > >>> p4 info
> > >>> repository info: Path: <PATH>, Base path: None, Supports changesets:
> > True
> > >>> Generating diff for changenum 36875
> > >>> p4 describe -s 36875
> > >>> Processing edit of <depot file>
> > >>> Writing "<depot file>#30" to "/tmp/tmpOlKSIt"
> > >>> p4 print -o /tmp/tmpOlKSIt -q <depot file>#30
> > >>> diff -urNp /tmp/tmpOlKSIt <local file>
> > >>> Looking for '<server> /' cookie in /root/.post-review-cookies.txt
> > >>> Loaded valid cookie -- no login required
> > >>> Attempting to create review request on <PATH> for 36875
> > >>> HTTP POSTing to <server>/api/json/reviewrequests/new/:
> > {'repository_path': '<PATH>', 'changenum': '36875'}
> > >>> Got HTTP error: 500:
>
> > What is wrong?? PLS HELP!
>
> > --
> > Want to help the Review Board project? Donate today 
> > athttp://www.reviewboard.org/donate/
> > Happy user? Let us know athttp://www.reviewboard.org/users/
> > -~----------~----~----~----~------~----~------~--~---
> > To unsubscribe from this group, send email to
> > reviewboard+unsubscr...@googlegroups.com
> > For more options, visit this group 
> > athttp://groups.google.com/group/reviewboard?hl=en

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