Hi,
    I see the information, it said:
   "Uploading diff, size: 0"  That may mean no diff content was
generated at all.  I think may be you had not change any thing of your
local copy after commit ti to repository, or some other reasons let
post-review generate an "Empty Diff"


Best Regards!

On 3月18日, 上午6时24分, "Hayes, Kyle" <kyle.ha...@disney.com> wrote:
> Ok, I enabled logging (and chown the dir for www-data) and restarted,
> then re-ran my command, but the logs don't appear to be getting
> outputted to it.
>
> Kyle Hayes
>
> Sr. Web Developer | Disney Family
> Disney Interactive Media Group
>
> 818-623-3847
> AIM/YIM/gTalk: mrkylehayes
>
> "It's kind of fun to do the impossible." -Walt Disney
>
> From: reviewboard@googlegroups.com [mailto:reviewbo...@googlegroups.com]
> On Behalf Of Christian Hammond
> Sent: Wednesday, March 17, 2010 3:13 PM
> To: reviewboard@googlegroups.com
> Subject: Re: 500 Server Error when attempting to post
>
> That absolutely shouldn't be happening.
>
> Can you turn on logging on the Review Board server (you may have to
> restart Apache after -- this bug is being fixed) and see what the log
> file says? There should be a stack trace in there that I can look at.
>
> Christian
>
> --
> Christian Hammond - chip...@chipx86.com
> Review Board -http://www.reviewboard.org
> VMware, Inc. -http://www.vmware.com
>
> On Wed, Mar 17, 2010 at 3:10 PM, Hayes, Kyle <kyle.ha...@disney.com>
> wrote:
>
> Ok, I got the nightly of RBTools and am now getting the following error:
> $ post-review 656260 --p4-client=p4-tp-nd -d>>> svn info
> >>> p4 info
> >>> repository info: Path: #####.####.com:1666, Base path: None,
>
> Supports changesets: True>>> Generating diff for changenum 656260
> >>> p4 describe -s 656260
> >>> Processing edit of //###.java
> >>> Writing "//####.java#5" to
>
> "/var/folders/OP/OPng49CiH2mYO1769hU2NE+++TQ/-Tmp-/tmpHAa45w">>> p4 print -o
>
> /var/folders/OP/OPng49CiH2mYO1769hU2NE+++TQ/-Tmp-/tmpHAa45w -q
> //####.java#5>>> diff -urNp
>
> /var/folders/OP/OPng49CiH2mYO1769hU2NE+++TQ/-Tmp-/tmpHAa45w /####.java>>> 
> Looking for 'reviews.poseidon /' cookie in
>
> /Users/####/.post-review-cookies.txt>>> Loaded valid cookie -- no login 
> required
> >>> Attempting to create review request on #####.#####.com:1666 for
>
> 656260
>
> >>> HTTP POSTing to
>
> http://reviews.poseidon/api/json/reviewrequests/new/:
>
> {'repository_path': '####.####.com:1666', 'changenum': '656260'}>>> <!DOCTYPE 
> html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
>
>  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
>
> <html xmlns="http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en">
>  <head>
>  <title>500 - Internal Server Error | Review Board</title>
>  </head>
>  <body>
>  <h1>Something broke! (Error 500)</h1>
>  <p>
>   It appears something broke when you tried to go to here. This is
> either
>   a bug in Review Board or a server configuration error. Please report
>   this to your administrator.
>  </p>
>  </body>
> </title>
>
> Unable to accesshttp://reviews.poseidon/api/json/reviewrequests/new/.
> The host path may be invalid
> HTTP Error 500: Internal Server Error
>
> I tried to do a diff this time around and am getting the 500 now,
> instead of a diff
>
> Kyle Hayes
> Sr. Web Developer | Disney Family
> Disney Interactive Media Group
> 818-623-3847
> AIM/YIM/gTalk: mrkylehayes
>
> "It's kind of fun to do the impossible." -Walt Disney
>
> -----Original Message-----
> From: reviewboard@googlegroups.com [mailto:reviewbo...@googlegroups.com]
>
> On Behalf Of Christian Hammond
>
> Sent: Wednesday, March 17, 2010 2:56 PM
> To: reviewboard@googlegroups.com
> Subject: Re: 500 Server Error when attempting to post
>
> Can you try a nightly of RBTools? This might be related to a bug we've
> fixed.
>
> What happens if you take that diff and upload through the web UI?
>
> Christian
>
> On Wednesday, March 17, 2010, Hayes, Kyle <kyle.ha...@disney.com> wrote:
>
> > RB: 1.0.5.1
>
> > Tools: 0.2rc1
>
> > Yeah, we're on Perforce here. I ran -output-diff
> > earlier and it is returning a valid diff file.
>
> > Kyle Hayes
>
> > Sr. Web Developer | Disney Family
> > Disney Interactive Media Group
>
> > 818-623-3847
> > AIM/YIM/gTalk: mrkylehayes
>
> > "It's kind of fun to do the impossible."
> > -Walt Disney
>
> > From:
> > reviewboard@googlegroups.com [mailto:reviewbo...@googlegroups.com] On
> Behalf
> > Of Christian Hammond
> > Sent: Wednesday, March 17, 2010 12:45 PM
> > To: reviewboard@googlegroups.com
> > Subject: Re: 500 Server Error when attempting to post
>
> > Which versions of Review Board
> > and RBTools? I assume this is using Perforce?
>
> > Can you run with --output-diff and see if you get a meaningful diff
> back?
>
> > Christian
>
> > --
> > Christian Hammond - chip...@chipx86.com
> > Review Board -http://www.reviewboard.org
> > VMware, Inc. -http://www.vmware.com
>
> > On Wed, Mar 17, 2010 at 7:09 AM, Kyle Hayes <kyle.ha...@disney.com>
> wrote:
>
> > I'm trying to post my first review to our newly installed
> > review
> > board:
> > $ post-review 656260 --p4-client=p4-tp-nd
> > Unable to accesshttp://reviews.poseidon/api/json/reviewrequests/new/.
> > The host path may be invalid
> > HTTP Error 500: Internal Server Error
>
> > When I do post-review -d, I see the following:
> > ...
> >>>> Attempting to create review request on [masked for security]:1666
> > for None
> >>>> HTTP POSTing tohttp://reviews.poseidon/api/json/reviewrequests/new/:
> > {'repository_path': '[masked for security]:1666'}
> >>>> Review request created
> >>>> Uploading diff, size: 0
> >>>> HTTP POSTing to
> >http://reviews.poseidon/api/json/reviewrequests/8/diff/new/:{}
> >>>> Got API Error 105 (HTTP code 200): One or more fields had errors
> >>>> Error data: {u'fields': {u'path': [u'The submitted file is
> > empty.']}, u'stat': u'fail', u'err': {u'msg': u'One or more fields had
> errors',
> > u'code': 105}}
> > Error uploading diff: One or more fields had errors
> > Your review request still exists, but the diff is not attached.
>
> > Any ideas?
>
> > Cheers,
> > Kyle
>
> > --
> > 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
> <mailto:reviewboard%2bunsubscr...@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 
> > 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
> <mailto:reviewboard%2bunsubscr...@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 
> > 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
> <mailto:reviewboard%2bunsubscr...@googlegroups.com>
> > For more options, visit this group 
> > athttp://groups.google.com/group/reviewboard?hl=en
>
> --
> --
> Christian Hammond - chip...@chipx86.com
> Review Board -http://www.reviewboard.org
> VMware, Inc. -http://www.vmware.com
>
> --
>
> 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
> <mailto:reviewboard%2bunsubscr...@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 
> 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
> <mailto:reviewboard%2bunsubscr...@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 
> 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