Re: Diff currently unavailable
Hi Terry, Review Board is basically going to do: patch tmpxuYDZ4 file.cpp.diff -o tmpxuYDZ4-new -r tmpxuYDZ4-new.rej Christian -- Christian Hammond - christ...@beanbaginc.com Review Board - https://www.reviewboard.org Beanbag, Inc. - https://www.beanbaginc.com On Thu, Aug 13, 2015 at 9:14 AM, Dunnigan, Terrence J < terrence.j.dunni...@boeing.com> wrote: > Well I’m stumped. I downloaded rbtools 0.7.4 and ran rbt diff and then rbt > post. The diff is almost identical to the diff that I produce. The rbt > diff had 3 extra blank lines. I got rbt post to successfully post the diff > to our server. > > > > Unfortunately the same error is still occurring. > > > > Diff currently unavailable. > > *Error*: The patch to ‘filename.cpp’ didn’t apply cleanly. The temporary > files have been left in …. > > > > Is it possible to manually apply the patch myself? What is Review Board > trying to do? Any other troubleshooting thoughts? > > > > Thanks, > > > > Terry > > > > *From:* reviewboard@googlegroups.com [mailto:reviewboard@googlegroups.com] > *On Behalf Of *Christian Hammond > *Sent:* Thursday, August 13, 2015 3:49 AM > > *To:* reviewboard@googlegroups.com > *Subject:* Re: Diff currently unavailable > > > > That diff command line will only generate a diff of the staged changes, > relative to the commit on HEAD. In order for that diff to work in Review > Board, the commit on HEAD must be pushed upstream. if it's not, you'll > definitely get these sorts of errors. > > > > RBTools goes several steps further here. It'll generate a diff, by > default, from origin/master..HEAD. If you specify a revision or range (like > `rbt post HEAD`), it'll determine if the parent of HEAD is pushed or not. > If not, it'll generate a parent diff from origin/master (or whatever > tracking branch is used) to HEAD^, and post that along with the diff to > Review Board. > > > > Christian > > > -- > Christian Hammond - chip...@chipx86.com > Review Board - https://www.reviewboard.org > > Beanbag, Inc. - https://www.beanbaginc.com > > > > On Wed, Aug 12, 2015 at 2:15 PM, Dunnigan, Terrence J < > terrence.j.dunni...@boeing.com> wrote: > > Yes we are on my-branch when we generate our own diff. It sounds like > that’s what ‘rbt post’ would do as well. There’s a number of these > reviewboard.xyz folders in the temp directory, suggesting the problem is > somewhat common. > > > > From my-branch, our diff command is simply: > > > > git diff --full-index --cached > output_file.diff > > > > I don’t know why we have our own diff code, instead of using your toolset. > We started using rbtools with version 0.3, so maybe there were some bugs > that we had to work around with that version. > > > > Terry > > > > *From:* reviewboard@googlegroups.com [mailto:reviewboard@googlegroups.com] > *On Behalf Of *Christian Hammond > *Sent:* Wednesday, August 12, 2015 3:20 PM > > > *To:* reviewboard@googlegroups.com > *Subject:* Re: Diff currently unavailable > > > > With custom-generated git diffs, the biggest problem people run into is > the revision range not quite being correct. For instance, in this case: > > > > > > o [master] > > | > > | > > | o [my-branch] [HEAD] > > |/ > > ... > > > > If you're on HEAD and you generate a diff from master..HEAD, you can end > up with a diff that won't properly apply. Worth checking into that, seeing > what the state of the tree looks like when the diff is generated. > > > > Why does the script generate its own diff rather than letting RBTools do > that? We're frequently updating the diff logic to work around various > corner cases. > > > > Christian > > > -- > Christian Hammond - chip...@chipx86.com > Review Board - https://www.reviewboard.org > > Beanbag, Inc. - https://www.beanbaginc.com > > > > On Wed, Aug 12, 2015 at 1:16 PM, Dunnigan, Terrence J < > terrence.j.dunni...@boeing.com> wrote: > > Yes, this is with git. We have a script that generates the diff file using > git and then uses rbtools to post the diff. It runs on Windows with git > 1.8.3. > > > > The .rej file is 21 lines. Every line (but the last) ends with a LF > character. It’s mostly showing deleted lines (starting with a -), with one > new line. I don’t see any odd characters. > > > > Thanks, > > > > Terry > > > > *From:* reviewboard@googlegroups.com [mailto:reviewboard@googlegroups.com] > *On Behalf Of *Christian Hammond > *Sent:* Wednesday, August 12, 2015 2:
RE: Diff currently unavailable
Well I’m stumped. I downloaded rbtools 0.7.4 and ran rbt diff and then rbt post. The diff is almost identical to the diff that I produce. The rbt diff had 3 extra blank lines. I got rbt post to successfully post the diff to our server. Unfortunately the same error is still occurring. Diff currently unavailable. Error: The patch to ‘filename.cpp’ didn’t apply cleanly. The temporary files have been left in …. Is it possible to manually apply the patch myself? What is Review Board trying to do? Any other troubleshooting thoughts? Thanks, Terry From: reviewboard@googlegroups.com [mailto:reviewboard@googlegroups.com] On Behalf Of Christian Hammond Sent: Thursday, August 13, 2015 3:49 AM To: reviewboard@googlegroups.com Subject: Re: Diff currently unavailable That diff command line will only generate a diff of the staged changes, relative to the commit on HEAD. In order for that diff to work in Review Board, the commit on HEAD must be pushed upstream. if it's not, you'll definitely get these sorts of errors. RBTools goes several steps further here. It'll generate a diff, by default, from origin/master..HEAD. If you specify a revision or range (like `rbt post HEAD`), it'll determine if the parent of HEAD is pushed or not. If not, it'll generate a parent diff from origin/master (or whatever tracking branch is used) to HEAD^, and post that along with the diff to Review Board. Christian -- Christian Hammond - chip...@chipx86.com<mailto:chip...@chipx86.com> Review Board - https://www.reviewboard.org Beanbag, Inc. - https://www.beanbaginc.com On Wed, Aug 12, 2015 at 2:15 PM, Dunnigan, Terrence J mailto:terrence.j.dunni...@boeing.com>> wrote: Yes we are on my-branch when we generate our own diff. It sounds like that’s what ‘rbt post’ would do as well. There’s a number of these reviewboard.xyz folders in the temp directory, suggesting the problem is somewhat common. >From my-branch, our diff command is simply: git diff --full-index --cached > output_file.diff I don’t know why we have our own diff code, instead of using your toolset. We started using rbtools with version 0.3, so maybe there were some bugs that we had to work around with that version. Terry From: reviewboard@googlegroups.com<mailto:reviewboard@googlegroups.com> [mailto:reviewboard@googlegroups.com<mailto:reviewboard@googlegroups.com>] On Behalf Of Christian Hammond Sent: Wednesday, August 12, 2015 3:20 PM To: reviewboard@googlegroups.com<mailto:reviewboard@googlegroups.com> Subject: Re: Diff currently unavailable With custom-generated git diffs, the biggest problem people run into is the revision range not quite being correct. For instance, in this case: o [master] | | | o [my-branch] [HEAD] |/ ... If you're on HEAD and you generate a diff from master..HEAD, you can end up with a diff that won't properly apply. Worth checking into that, seeing what the state of the tree looks like when the diff is generated. Why does the script generate its own diff rather than letting RBTools do that? We're frequently updating the diff logic to work around various corner cases. Christian -- Christian Hammond - chip...@chipx86.com<mailto:chip...@chipx86.com> Review Board - https://www.reviewboard.org Beanbag, Inc. - https://www.beanbaginc.com On Wed, Aug 12, 2015 at 1:16 PM, Dunnigan, Terrence J mailto:terrence.j.dunni...@boeing.com>> wrote: Yes, this is with git. We have a script that generates the diff file using git and then uses rbtools to post the diff. It runs on Windows with git 1.8.3. The .rej file is 21 lines. Every line (but the last) ends with a LF character. It’s mostly showing deleted lines (starting with a -), with one new line. I don’t see any odd characters. Thanks, Terry From: reviewboard@googlegroups.com<mailto:reviewboard@googlegroups.com> [mailto:reviewboard@googlegroups.com<mailto:reviewboard@googlegroups.com>] On Behalf Of Christian Hammond Sent: Wednesday, August 12, 2015 2:58 PM To: reviewboard@googlegroups.com<mailto:reviewboard@googlegroups.com> Subject: Re: Diff currently unavailable Hi Terry, Is this with Git, or something else? How is the diff being generated? What's in the .rej file? Any chance there's some whitespace inconsistencies, form feed characters, etc.? Christian -- Christian Hammond - chip...@chipx86.com<mailto:chip...@chipx86.com> Review Board - https://www.reviewboard.org Beanbag, Inc. - https://www.beanbaginc.com On Wed, Aug 12, 2015 at 12:57 PM, Dunnigan, Terrence J mailto:terrence.j.dunni...@boeing.com>> wrote: Every now and then we encounter an error where the diff is not available. For example, today one of my coworkers created a review request with 22 changed files. 21 of them display properly in ReviewBoard 1.7.27 but one does not. The error is: Exception: The patch to ‘file.cpp' didn't ap
Re: Diff currently unavailable
That diff command line will only generate a diff of the staged changes, relative to the commit on HEAD. In order for that diff to work in Review Board, the commit on HEAD must be pushed upstream. if it's not, you'll definitely get these sorts of errors. RBTools goes several steps further here. It'll generate a diff, by default, from origin/master..HEAD. If you specify a revision or range (like `rbt post HEAD`), it'll determine if the parent of HEAD is pushed or not. If not, it'll generate a parent diff from origin/master (or whatever tracking branch is used) to HEAD^, and post that along with the diff to Review Board. Christian -- Christian Hammond - chip...@chipx86.com Review Board - https://www.reviewboard.org Beanbag, Inc. - https://www.beanbaginc.com On Wed, Aug 12, 2015 at 2:15 PM, Dunnigan, Terrence J < terrence.j.dunni...@boeing.com> wrote: > Yes we are on my-branch when we generate our own diff. It sounds like > that’s what ‘rbt post’ would do as well. There’s a number of these > reviewboard.xyz folders in the temp directory, suggesting the problem is > somewhat common. > > > > From my-branch, our diff command is simply: > > > > git diff --full-index --cached > output_file.diff > > > > I don’t know why we have our own diff code, instead of using your toolset. > We started using rbtools with version 0.3, so maybe there were some bugs > that we had to work around with that version. > > > > Terry > > > > *From:* reviewboard@googlegroups.com [mailto:reviewboard@googlegroups.com] > *On Behalf Of *Christian Hammond > *Sent:* Wednesday, August 12, 2015 3:20 PM > > *To:* reviewboard@googlegroups.com > *Subject:* Re: Diff currently unavailable > > > > With custom-generated git diffs, the biggest problem people run into is > the revision range not quite being correct. For instance, in this case: > > > > > > o [master] > > | > > | > > | o [my-branch] [HEAD] > > |/ > > ... > > > > If you're on HEAD and you generate a diff from master..HEAD, you can end > up with a diff that won't properly apply. Worth checking into that, seeing > what the state of the tree looks like when the diff is generated. > > > > Why does the script generate its own diff rather than letting RBTools do > that? We're frequently updating the diff logic to work around various > corner cases. > > > > Christian > > > -- > Christian Hammond - chip...@chipx86.com > Review Board - https://www.reviewboard.org > > Beanbag, Inc. - https://www.beanbaginc.com > > > > On Wed, Aug 12, 2015 at 1:16 PM, Dunnigan, Terrence J < > terrence.j.dunni...@boeing.com> wrote: > > Yes, this is with git. We have a script that generates the diff file using > git and then uses rbtools to post the diff. It runs on Windows with git > 1.8.3. > > > > The .rej file is 21 lines. Every line (but the last) ends with a LF > character. It’s mostly showing deleted lines (starting with a -), with one > new line. I don’t see any odd characters. > > > > Thanks, > > > > Terry > > > > *From:* reviewboard@googlegroups.com [mailto:reviewboard@googlegroups.com] > *On Behalf Of *Christian Hammond > *Sent:* Wednesday, August 12, 2015 2:58 PM > *To:* reviewboard@googlegroups.com > *Subject:* Re: Diff currently unavailable > > > > Hi Terry, > > > > Is this with Git, or something else? How is the diff being generated? > > > > What's in the .rej file? Any chance there's some whitespace > inconsistencies, form feed characters, etc.? > > > > > > Christian > > > -- > Christian Hammond - chip...@chipx86.com > Review Board - https://www.reviewboard.org > > Beanbag, Inc. - https://www.beanbaginc.com > > > > On Wed, Aug 12, 2015 at 12:57 PM, Dunnigan, Terrence J < > terrence.j.dunni...@boeing.com> wrote: > > Every now and then we encounter an error where the diff is not available. > For example, today one of my coworkers created a review request with 22 > changed files. 21 of them display properly in ReviewBoard 1.7.27 but one > does not. > > > > The error is: > > > > Exception: The patch to ‘file.cpp' didn't apply cleanly. The temporary > files have been left in '/tmp/reviewboard.uTif4F' for debugging purposes. > > `patch` returned: patching file /tmp/reviewboard.uTif4F/tmpxuYDZ4 > > Hunk #5 FAILED at 116. > > 1 out of 5 hunks FAILED -- saving rejects to file > /tmp/reviewboard.uTif4F/tmpxuYDZ4-new.rej > > patching file /tmp/reviewboard.uTif4F/tmpxuYDZ4 > > > > The /tmp/reviewboard.uTif4F directory ha
RE: Diff currently unavailable
Yes we are on my-branch when we generate our own diff. It sounds like that’s what ‘rbt post’ would do as well. There’s a number of these reviewboard.xyz folders in the temp directory, suggesting the problem is somewhat common. >From my-branch, our diff command is simply: git diff --full-index --cached > output_file.diff I don’t know why we have our own diff code, instead of using your toolset. We started using rbtools with version 0.3, so maybe there were some bugs that we had to work around with that version. Terry From: reviewboard@googlegroups.com [mailto:reviewboard@googlegroups.com] On Behalf Of Christian Hammond Sent: Wednesday, August 12, 2015 3:20 PM To: reviewboard@googlegroups.com Subject: Re: Diff currently unavailable With custom-generated git diffs, the biggest problem people run into is the revision range not quite being correct. For instance, in this case: o [master] | | | o [my-branch] [HEAD] |/ ... If you're on HEAD and you generate a diff from master..HEAD, you can end up with a diff that won't properly apply. Worth checking into that, seeing what the state of the tree looks like when the diff is generated. Why does the script generate its own diff rather than letting RBTools do that? We're frequently updating the diff logic to work around various corner cases. Christian -- Christian Hammond - chip...@chipx86.com<mailto:chip...@chipx86.com> Review Board - https://www.reviewboard.org Beanbag, Inc. - https://www.beanbaginc.com On Wed, Aug 12, 2015 at 1:16 PM, Dunnigan, Terrence J mailto:terrence.j.dunni...@boeing.com>> wrote: Yes, this is with git. We have a script that generates the diff file using git and then uses rbtools to post the diff. It runs on Windows with git 1.8.3. The .rej file is 21 lines. Every line (but the last) ends with a LF character. It’s mostly showing deleted lines (starting with a -), with one new line. I don’t see any odd characters. Thanks, Terry From: reviewboard@googlegroups.com<mailto:reviewboard@googlegroups.com> [mailto:reviewboard@googlegroups.com<mailto:reviewboard@googlegroups.com>] On Behalf Of Christian Hammond Sent: Wednesday, August 12, 2015 2:58 PM To: reviewboard@googlegroups.com<mailto:reviewboard@googlegroups.com> Subject: Re: Diff currently unavailable Hi Terry, Is this with Git, or something else? How is the diff being generated? What's in the .rej file? Any chance there's some whitespace inconsistencies, form feed characters, etc.? Christian -- Christian Hammond - chip...@chipx86.com<mailto:chip...@chipx86.com> Review Board - https://www.reviewboard.org Beanbag, Inc. - https://www.beanbaginc.com On Wed, Aug 12, 2015 at 12:57 PM, Dunnigan, Terrence J mailto:terrence.j.dunni...@boeing.com>> wrote: Every now and then we encounter an error where the diff is not available. For example, today one of my coworkers created a review request with 22 changed files. 21 of them display properly in ReviewBoard 1.7.27 but one does not. The error is: Exception: The patch to ‘file.cpp' didn't apply cleanly. The temporary files have been left in '/tmp/reviewboard.uTif4F' for debugging purposes. `patch` returned: patching file /tmp/reviewboard.uTif4F/tmpxuYDZ4 Hunk #5 FAILED at 116. 1 out of 5 hunks FAILED -- saving rejects to file /tmp/reviewboard.uTif4F/tmpxuYDZ4-new.rej patching file /tmp/reviewboard.uTif4F/tmpxuYDZ4 The /tmp/reviewboard.uTif4F directory has four files. file.cpp.diff tmpxuYDZ4 tmpxuYDZ4-new tmpxuYDZ4-new.rej I’ve looked at the files and nothing strikes me as particular odd. Any thoughts on what might be going on? Terry -- Supercharge your Review Board with Power Pack: https://www.reviewboard.org/powerpack/ Want us to host Review Board for you? Check out RBCommons: https://rbcommons.com/ Happy user? Let us know! https://www.reviewboard.org/users/ --- You received this message because you are subscribed to the Google Groups "reviewboard" group. To unsubscribe from this group and stop receiving emails from it, send an email to reviewboard+unsubscr...@googlegroups.com<mailto:reviewboard+unsubscr...@googlegroups.com>. For more options, visit https://groups.google.com/d/optout. -- Supercharge your Review Board with Power Pack: https://www.reviewboard.org/powerpack/ Want us to host Review Board for you? Check out RBCommons: https://rbcommons.com/ Happy user? Let us know! https://www.reviewboard.org/users/ --- You received this message because you are subscribed to the Google Groups "reviewboard" group. To unsubscribe from this group and stop receiving emails from it, send an email to reviewboard+unsubscr...@googlegroups.com<mailto:reviewboard+unsubscr...@googlegroups.com>. For more options, visit https://groups.google.com/d/optout. -- Supercharge your Review Board with Power Pack: https://www.reviewboard.org/powerpack/ Want us to host Review Bo
Re: Diff currently unavailable
With custom-generated git diffs, the biggest problem people run into is the revision range not quite being correct. For instance, in this case: o [master] | | | o [my-branch] [HEAD] |/ ... If you're on HEAD and you generate a diff from master..HEAD, you can end up with a diff that won't properly apply. Worth checking into that, seeing what the state of the tree looks like when the diff is generated. Why does the script generate its own diff rather than letting RBTools do that? We're frequently updating the diff logic to work around various corner cases. Christian -- Christian Hammond - chip...@chipx86.com Review Board - https://www.reviewboard.org Beanbag, Inc. - https://www.beanbaginc.com On Wed, Aug 12, 2015 at 1:16 PM, Dunnigan, Terrence J < terrence.j.dunni...@boeing.com> wrote: > Yes, this is with git. We have a script that generates the diff file using > git and then uses rbtools to post the diff. It runs on Windows with git > 1.8.3. > > > > The .rej file is 21 lines. Every line (but the last) ends with a LF > character. It’s mostly showing deleted lines (starting with a -), with one > new line. I don’t see any odd characters. > > > > Thanks, > > > > Terry > > > > *From:* reviewboard@googlegroups.com [mailto:reviewboard@googlegroups.com] > *On Behalf Of *Christian Hammond > *Sent:* Wednesday, August 12, 2015 2:58 PM > *To:* reviewboard@googlegroups.com > *Subject:* Re: Diff currently unavailable > > > > Hi Terry, > > > > Is this with Git, or something else? How is the diff being generated? > > > > What's in the .rej file? Any chance there's some whitespace > inconsistencies, form feed characters, etc.? > > > > > > Christian > > > -- > Christian Hammond - chip...@chipx86.com > Review Board - https://www.reviewboard.org > > Beanbag, Inc. - https://www.beanbaginc.com > > > > On Wed, Aug 12, 2015 at 12:57 PM, Dunnigan, Terrence J < > terrence.j.dunni...@boeing.com> wrote: > > Every now and then we encounter an error where the diff is not available. > For example, today one of my coworkers created a review request with 22 > changed files. 21 of them display properly in ReviewBoard 1.7.27 but one > does not. > > > > The error is: > > > > Exception: The patch to ‘file.cpp' didn't apply cleanly. The temporary > files have been left in '/tmp/reviewboard.uTif4F' for debugging purposes. > > `patch` returned: patching file /tmp/reviewboard.uTif4F/tmpxuYDZ4 > > Hunk #5 FAILED at 116. > > 1 out of 5 hunks FAILED -- saving rejects to file > /tmp/reviewboard.uTif4F/tmpxuYDZ4-new.rej > > patching file /tmp/reviewboard.uTif4F/tmpxuYDZ4 > > > > The /tmp/reviewboard.uTif4F directory has four files. > > > > file.cpp.diff > > tmpxuYDZ4 > > tmpxuYDZ4-new > > tmpxuYDZ4-new.rej > > > > I’ve looked at the files and nothing strikes me as particular odd. Any > thoughts on what might be going on? > > > > Terry > > > > > > -- > Supercharge your Review Board with Power Pack: > https://www.reviewboard.org/powerpack/ > Want us to host Review Board for you? Check out RBCommons: > https://rbcommons.com/ > Happy user? Let us know! https://www.reviewboard.org/users/ > --- > You received this message because you are subscribed to the Google Groups > "reviewboard" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to reviewboard+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > > > > -- > Supercharge your Review Board with Power Pack: > https://www.reviewboard.org/powerpack/ > Want us to host Review Board for you? Check out RBCommons: > https://rbcommons.com/ > Happy user? Let us know! https://www.reviewboard.org/users/ > --- > You received this message because you are subscribed to the Google Groups > "reviewboard" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to reviewboard+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > > -- > Supercharge your Review Board with Power Pack: > https://www.reviewboard.org/powerpack/ > Want us to host Review Board for you? Check out RBCommons: > https://rbcommons.com/ > Happy user? Let us know! https://www.reviewboard.org/users/ > --- > You received this message because you are subscribed to the Google Groups > "reviewboard" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to reviewboard+unsubscr...@googlegroups.com. > For more options, visit h
RE: Diff currently unavailable
Yes, this is with git. We have a script that generates the diff file using git and then uses rbtools to post the diff. It runs on Windows with git 1.8.3. The .rej file is 21 lines. Every line (but the last) ends with a LF character. It’s mostly showing deleted lines (starting with a -), with one new line. I don’t see any odd characters. Thanks, Terry From: reviewboard@googlegroups.com [mailto:reviewboard@googlegroups.com] On Behalf Of Christian Hammond Sent: Wednesday, August 12, 2015 2:58 PM To: reviewboard@googlegroups.com Subject: Re: Diff currently unavailable Hi Terry, Is this with Git, or something else? How is the diff being generated? What's in the .rej file? Any chance there's some whitespace inconsistencies, form feed characters, etc.? Christian -- Christian Hammond - chip...@chipx86.com<mailto:chip...@chipx86.com> Review Board - https://www.reviewboard.org Beanbag, Inc. - https://www.beanbaginc.com On Wed, Aug 12, 2015 at 12:57 PM, Dunnigan, Terrence J mailto:terrence.j.dunni...@boeing.com>> wrote: Every now and then we encounter an error where the diff is not available. For example, today one of my coworkers created a review request with 22 changed files. 21 of them display properly in ReviewBoard 1.7.27 but one does not. The error is: Exception: The patch to ‘file.cpp' didn't apply cleanly. The temporary files have been left in '/tmp/reviewboard.uTif4F' for debugging purposes. `patch` returned: patching file /tmp/reviewboard.uTif4F/tmpxuYDZ4 Hunk #5 FAILED at 116. 1 out of 5 hunks FAILED -- saving rejects to file /tmp/reviewboard.uTif4F/tmpxuYDZ4-new.rej patching file /tmp/reviewboard.uTif4F/tmpxuYDZ4 The /tmp/reviewboard.uTif4F directory has four files. file.cpp.diff tmpxuYDZ4 tmpxuYDZ4-new tmpxuYDZ4-new.rej I’ve looked at the files and nothing strikes me as particular odd. Any thoughts on what might be going on? Terry -- Supercharge your Review Board with Power Pack: https://www.reviewboard.org/powerpack/ Want us to host Review Board for you? Check out RBCommons: https://rbcommons.com/ Happy user? Let us know! https://www.reviewboard.org/users/ --- You received this message because you are subscribed to the Google Groups "reviewboard" group. To unsubscribe from this group and stop receiving emails from it, send an email to reviewboard+unsubscr...@googlegroups.com<mailto:reviewboard+unsubscr...@googlegroups.com>. For more options, visit https://groups.google.com/d/optout. -- Supercharge your Review Board with Power Pack: https://www.reviewboard.org/powerpack/ Want us to host Review Board for you? Check out RBCommons: https://rbcommons.com/ Happy user? Let us know! https://www.reviewboard.org/users/ --- You received this message because you are subscribed to the Google Groups "reviewboard" group. To unsubscribe from this group and stop receiving emails from it, send an email to reviewboard+unsubscr...@googlegroups.com<mailto:reviewboard+unsubscr...@googlegroups.com>. For more options, visit https://groups.google.com/d/optout. -- Supercharge your Review Board with Power Pack: https://www.reviewboard.org/powerpack/ Want us to host Review Board for you? Check out RBCommons: https://rbcommons.com/ Happy user? Let us know! https://www.reviewboard.org/users/ --- You received this message because you are subscribed to the Google Groups "reviewboard" group. To unsubscribe from this group and stop receiving emails from it, send an email to reviewboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: Diff currently unavailable
Hi Terry, Is this with Git, or something else? How is the diff being generated? What's in the .rej file? Any chance there's some whitespace inconsistencies, form feed characters, etc.? Christian -- Christian Hammond - chip...@chipx86.com Review Board - https://www.reviewboard.org Beanbag, Inc. - https://www.beanbaginc.com On Wed, Aug 12, 2015 at 12:57 PM, Dunnigan, Terrence J < terrence.j.dunni...@boeing.com> wrote: > Every now and then we encounter an error where the diff is not available. > For example, today one of my coworkers created a review request with 22 > changed files. 21 of them display properly in ReviewBoard 1.7.27 but one > does not. > > > > The error is: > > > > Exception: The patch to ‘file.cpp' didn't apply cleanly. The temporary > files have been left in '/tmp/reviewboard.uTif4F' for debugging purposes. > > `patch` returned: patching file /tmp/reviewboard.uTif4F/tmpxuYDZ4 > > Hunk #5 FAILED at 116. > > 1 out of 5 hunks FAILED -- saving rejects to file > /tmp/reviewboard.uTif4F/tmpxuYDZ4-new.rej > > patching file /tmp/reviewboard.uTif4F/tmpxuYDZ4 > > > > The /tmp/reviewboard.uTif4F directory has four files. > > > > file.cpp.diff > > tmpxuYDZ4 > > tmpxuYDZ4-new > > tmpxuYDZ4-new.rej > > > > I’ve looked at the files and nothing strikes me as particular odd. Any > thoughts on what might be going on? > > > > Terry > > > > > > -- > Supercharge your Review Board with Power Pack: > https://www.reviewboard.org/powerpack/ > Want us to host Review Board for you? Check out RBCommons: > https://rbcommons.com/ > Happy user? Let us know! https://www.reviewboard.org/users/ > --- > You received this message because you are subscribed to the Google Groups > "reviewboard" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to reviewboard+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- Supercharge your Review Board with Power Pack: https://www.reviewboard.org/powerpack/ Want us to host Review Board for you? Check out RBCommons: https://rbcommons.com/ Happy user? Let us know! https://www.reviewboard.org/users/ --- You received this message because you are subscribed to the Google Groups "reviewboard" group. To unsubscribe from this group and stop receiving emails from it, send an email to reviewboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Diff currently unavailable
Every now and then we encounter an error where the diff is not available. For example, today one of my coworkers created a review request with 22 changed files. 21 of them display properly in ReviewBoard 1.7.27 but one does not. The error is: Exception: The patch to 'file.cpp' didn't apply cleanly. The temporary files have been left in '/tmp/reviewboard.uTif4F' for debugging purposes. `patch` returned: patching file /tmp/reviewboard.uTif4F/tmpxuYDZ4 Hunk #5 FAILED at 116. 1 out of 5 hunks FAILED -- saving rejects to file /tmp/reviewboard.uTif4F/tmpxuYDZ4-new.rej patching file /tmp/reviewboard.uTif4F/tmpxuYDZ4 The /tmp/reviewboard.uTif4F directory has four files. file.cpp.diff tmpxuYDZ4 tmpxuYDZ4-new tmpxuYDZ4-new.rej I've looked at the files and nothing strikes me as particular odd. Any thoughts on what might be going on? Terry -- Supercharge your Review Board with Power Pack: https://www.reviewboard.org/powerpack/ Want us to host Review Board for you? Check out RBCommons: https://rbcommons.com/ Happy user? Let us know! https://www.reviewboard.org/users/ --- You received this message because you are subscribed to the Google Groups "reviewboard" group. To unsubscribe from this group and stop receiving emails from it, send an email to reviewboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: "Diff currently unavailable" frequently happenend, but not always
roups' to 'ReviewCCGroup' for review > > > >>> request '4409' > > > >>> HTTP PUTting to > > > >>> http://review.xxx.com/reviews/api/review-requests/4409/draft/: > > > >>> {'target_groups': 'ReviewCCGroup'} > > > >>> Attempting to set field 'summary' to 'modified test' for review > > > >>> request '4409' > > > >>> HTTP PUTting to > > > >>> http://review.xxx.com/reviews/api/review-requests/4409/draft/: > > > >>> {'summary': 'modified test'} > > > >>> Attempting to set field 'description' to 'modified test' for review > > > >>> request '4409' > > > >>> HTTP PUTting to > > > >>> http://review.xxx.com/reviews/api/review-requests/4409/draft/: > > > >>> {'description': 'modified test'} > > > >>> Uploading diff, size: 1931 > > > >>> HTTP POSTing to > > > >>> http://review.xxx.com/reviews/api/review-requests/4409/diffs/: {} > > > Review request #4409 posted. > > > > > > http://review.xxx.com/reviews/r/4409/ > > > > > > > the web client said > > > > > Diff currently unavailable. > > > Error: The patch to 'test/index.html' didn't apply cleanly. The temporary > > > files have been left in '/tmp/reviewboard.mK_pIc' for debugging purposes. > > > `patch` returned: patching file /tmp/reviewboard.mK_pIc/tmp8SEwvB Hunk #1 > > > FAILED at 24. Hunk #2 FAILED at 42. Hunk #3 FAILED at 76. 3 out of 3 > > > hunks FAILED -- saving rejects to file > > > /tmp/reviewboard.mK_pIc/tmp8SEwvB-new.rej > > > > > > > > > > > > > > > > > > I also attached the tmp file. > > > > What weird was I can occasionally do the review, not never. I also > > restarted memcached several time. > > My raw file url mask is > > > > > http://git.xxx.com/gitweb/?p=cordova-plugin-weibo.git;a=blob_plain;f=;h=; > > > > Please help, thanks > > -- > > 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 > > (mailto:reviewboard%2bunsubscr...@googlegroups.com) > > For more options, visit this group at > > http://groups.google.com/group/reviewboard?hl=en > > --- > > You received this message because you are subscribed to the Google Groups > > "reviewboard" group. > > To unsubscribe from this group and stop receiving emails from it, send an > > email to reviewboard+unsubscr...@googlegroups.com > > (mailto:reviewboard%2bunsubscr...@googlegroups.com). > > For more options, visit https://groups.google.com/groups/opt_out. > > -- > 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 > (mailto:reviewboard+unsubscr...@googlegroups.com) > For more options, visit this group at > http://groups.google.com/group/reviewboard?hl=en > --- > You received this message because you are subscribed to a topic in the Google > Groups "reviewboard" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/reviewboard/yTkyEGik5Yo/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > reviewboard+unsubscr...@googlegroups.com > (mailto:reviewboard+unsubscr...@googlegroups.com). > For more options, visit https://groups.google.com/groups/opt_out. -- 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 --- You received this message because you are subscribed to the Google Groups "reviewboard" group. To unsubscribe from this group and stop receiving emails from it, send an email to reviewboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: "Diff currently unavailable" frequently happenend, but not always
According to the file it downloaded, it's fetching an index page from gitweb and not a raw copy of the file. This may be unrelated, but that last ";" shouldn't be needed. Open your reviewboard.log and look for the "Fetching file from" line with that URL, when it's broken. See what it is. Then open it in your browser and see if you're getting a gitweb page. Christian -- Christian Hammond - chip...@chipx86.com Review Board - http://www.reviewboard.org Beanbag, Inc. - http://www.beanbaginc.com On Tue, Aug 20, 2013 at 11:50 PM, Qi Luo wrote: > Hi all, > > I set up my private git server on Ubuntu 12.04, git version 1.7.x, > reviewboard 1.7.11 > After long testing and config, I finally can do review. However, it > didn't work stable. Much people had same issue but there's not a clear > solution. > > the post-review log showed no hint > > >>> RBTools 0.5.2 >> >>> Python 2.7.2 (v2.7.2:8527427914a2, Jun 11 2011, 15:22:34) >> [GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] >> >>> Running on Darwin-12.4.0-x86_64-i386-64bit >> >>> Home = /Users/qiluo >> >>> Current Directory = >> /Users/qiluo/Dev/gitrepos/luoq/cordova-plugin-weibo >> >>> Checking the repository type. Errors shown below are mostly harmless. >> DEBUG:root:Checking for a Subversion repository... >> DEBUG:root:Running: svn info g...@git.xxx.com:cordova-plugin-weibo.git >> --non-interactive >> DEBUG:root:Command exited with rc 1: ['svn', 'info', >> 'g...@git.xxx.com:cordova-plugin-weibo.git', >> '--non-interactive'] >> svn: E205000: Try 'svn help info' for more information >> svn: E205000: Syntax error parsing peg revision 'git.xxx.com: >> cordova-plugin-weibo.git' >> --- >> DEBUG:root:Checking for a Git repository... >> DEBUG:root:Running: git rev-parse --git-dir >> DEBUG:root:Running: git config core.bare >> DEBUG:root:Running: git rev-parse --show-toplevel >> DEBUG:root:Running: git symbolic-ref -q HEAD >> DEBUG:root:Running: git config --get git-p4.port >> DEBUG:root:Command exited with rc 1: ['git', 'config', '--get', >> 'git-p4.port'] >> --- >> DEBUG:root:Running: git config --get branch.master.merge >> DEBUG:root:Running: git config --get branch.master.remote >> DEBUG:root:Running: git config --get remote.origin.url >> DEBUG:root:repository info: Path: g...@git.xxx.com:cordova-plugin-weibo.git, >> Base path: , Supports changesets: False >> >>> Finished checking the repository type. >> >>> HTTP GETting api/info/ >> DEBUG:root:Running: git merge-base origin/master refs/heads/master >> DEBUG:root:Running: git diff --no-color --full-index --no-ext-diff >> --ignore-submodules --no-renames >> f6d94c01dfe4e79a556516747344c8ff51c78c46..refs/heads/master -M >> DEBUG:root:Running: git log --pretty=format:%s HEAD^.. >> DEBUG:root:Running: git log --pretty=format:%s%n%n%b >> f6d94c01dfe4e79a556516747344c8ff51c78c46.. >> >>> HTTP GETting api/ >> >>> HTTP GETting http://review.xxx.com/reviews/api/info/ >> >>> Using the new web API >> >>> Attempting to create review request on >> >>> g...@git.xxx.com:cordova-plugin-weibo.git >> for None >> >>> HTTP POSTing to http://review.xxx.com/reviews/api/review-requests/: >> {'repository': 'g...@git.xxx.com:cordova-plugin-weibo.git'} >> >>> Review request created >> >>> Attempting to set field 'target_groups' to 'ReviewCCGroup' for review >> request '4409' >> >>> HTTP PUTting to >> http://review.xxx.com/reviews/api/review-requests/4409/draft/: >> {'target_groups': 'ReviewCCGroup'} >> >>> Attempting to set field 'summary' to 'modified test' for review >> request '4409' >> >>> HTTP PUTting to >> http://review.xxx.com/reviews/api/review-requests/4409/draft/: >> {'summary': 'modified test'} >> >>> Attempting to set field 'description' to 'modified test' for review >> request '4409' >> >>> HTTP PUTting to >> http://review.xxx.com/reviews/api/review-requests/4409/draft/: >> {'description': 'modified test'} >> >>> Uploading diff, size: 1931 >> >>> HTTP POSTing to >> http://review.xxx.com/reviews/api/review-requests/4409/diffs/: {} >&g
Re: "Diff Currently unavailable" when trying to view a diff with non standard characters (i.e. acute letters and such)
Hi, I don't know why that's happening, but just to help with narrowing it down a bit, I can say that encoding issues for diff content isn't a problem. We base64-encode all diff content and store it in the database that way in order to prevent any encoding issues. So what was in the original database should be what's in the new database. What version control system are you using? Perhaps there's some environmental difference causing the fetched files to not be in the proper encoding? Christian -- Christian Hammond - chip...@chipx86.com Review Board - http://www.reviewboard.org VMware, Inc. - http://www.vmware.com On Tue, May 29, 2012 at 10:52 AM, Gonz wrote: > Hi, > > Im having a hard time trying to figure out a solution out of this > issue. I had an RB site set up with a SQLITE backend database, but due > to some performance issues, I attempted to migrate the db to MySql > using the provided dump and loaddb scripts. > > To do that, I: > > * set up a testing environment with the exact same setup as in the > production environment, and dumped the db to json using rb-site manage > dump db, > * set up the new MySql database, > * changed the settings in the settings_local.py file to tell RB to use > the new MySql db. > * did a syncdb to create the table structure on the new mysql db > * restored the json dump into the new mysql db using rb-site manage > loaddb. > > The process seemed pretty effortless until that point. > > I would like to add that I set up the new db with utf-8 as the default > charset, trying to prevent any encoding troubles. > > At first glance, the db seemed to work fine. Acute letters and other > spanish characters actually show up correctly on posts and such, but > when trying to view a Diff that contains an "á", RB will return "Diff > Currently Unavailable" error. Here is an example: > > > > ********* > /src/main/resources/configuration/deployment.general.properties > Revision 38077 New Change > Diff currently unavailable. > Error: The patch to '/src/main/resources/configuration/ > deployment.general.properties' didn't apply cleanly. The temporary > files have been left in '/tmp/reviewboard.tCd6AH' for debugging > purposes. `patch` returned: patching file /tmp/reviewboard.tCd6AH/ > tmpso_wST Hunk #1 FAILED at 73. 1 out of 1 hunk FAILED -- saving > rejects to file /tmp/reviewboard.tCd6AH/tmpso_wST-new.rej > Details > Traceback (most recent call last): > File "/usr/local/lib/python2.6/dist-packages/ReviewBoard-1.6.6- > py2.6.egg/reviewboard/diffviewer/views.py", line 217, in > view_diff_fragment >file = get_requested_diff_file() > File "/usr/local/lib/python2.6/dist-packages/ReviewBoard-1.6.6- > py2.6.egg/reviewboard/diffviewer/views.py", line 193, in > get_requested_diff_file >get_chunks) > File "/usr/local/lib/python2.6/dist-packages/ReviewBoard-1.6.6- > py2.6.egg/reviewboard/diffviewer/diffutils.py", line 1072, in > get_diff_files >large_data=True) > File "/usr/local/lib/python2.6/dist-packages/Djblets-0.6.16- > py2.6.egg/djblets/util/misc.py", line 157, in cache_memoize >data = lookup_callable() > File "/usr/local/lib/python2.6/dist-packages/ReviewBoard-1.6.6- > py2.6.egg/reviewboard/diffviewer/diffutils.py", line 1071, in >enable_syntax_highlighting)), > File "/usr/local/lib/python2.6/dist-packages/ReviewBoard-1.6.6- > py2.6.egg/reviewboard/diffviewer/diffutils.py", line 553, in > get_chunks >new = get_patched_file(old, filediff) > File "/usr/local/lib/python2.6/dist-packages/ReviewBoard-1.6.6- > py2.6.egg/reviewboard/diffviewer/diffutils.py", line 375, in > get_patched_file >return patch(filediff.diff, buffer, filediff.dest_file) > File "/usr/local/lib/python2.6/dist-packages/ReviewBoard-1.6.6- > py2.6.egg/reviewboard/diffviewer/diffutils.py", line 243, in patch >(filename, tempdir, patch_output)) > Exception: The patch to '/src/main/resources/configuration/ > deployment.general.properties' didn't apply cleanly. The temporary > files have been left in '/tmp/reviewboard.tCd6AH' for debugging > purposes. > `patch` returned: patching file /tmp/reviewboard.tCd6AH/tmpso_wST > Hunk #1 FAILED at 73. > 1 out of 1 hunk FAILED -- saving rejects to file /tmp/ > reviewboard.tCd6AH/tmpso_wST-new.rej > > > * > I c
"Diff Currently unavailable" when trying to view a diff with non standard characters (i.e. acute letters and such)
Hi, Im having a hard time trying to figure out a solution out of this issue. I had an RB site set up with a SQLITE backend database, but due to some performance issues, I attempted to migrate the db to MySql using the provided dump and loaddb scripts. To do that, I: * set up a testing environment with the exact same setup as in the production environment, and dumped the db to json using rb-site manage dump db, * set up the new MySql database, * changed the settings in the settings_local.py file to tell RB to use the new MySql db. * did a syncdb to create the table structure on the new mysql db * restored the json dump into the new mysql db using rb-site manage loaddb. The process seemed pretty effortless until that point. I would like to add that I set up the new db with utf-8 as the default charset, trying to prevent any encoding troubles. At first glance, the db seemed to work fine. Acute letters and other spanish characters actually show up correctly on posts and such, but when trying to view a Diff that contains an "á", RB will return "Diff Currently Unavailable" error. Here is an example: * /src/main/resources/configuration/deployment.general.properties Revision 38077 New Change Diff currently unavailable. Error: The patch to '/src/main/resources/configuration/ deployment.general.properties' didn't apply cleanly. The temporary files have been left in '/tmp/reviewboard.tCd6AH' for debugging purposes. `patch` returned: patching file /tmp/reviewboard.tCd6AH/ tmpso_wST Hunk #1 FAILED at 73. 1 out of 1 hunk FAILED -- saving rejects to file /tmp/reviewboard.tCd6AH/tmpso_wST-new.rej Details Traceback (most recent call last): File "/usr/local/lib/python2.6/dist-packages/ReviewBoard-1.6.6- py2.6.egg/reviewboard/diffviewer/views.py", line 217, in view_diff_fragment file = get_requested_diff_file() File "/usr/local/lib/python2.6/dist-packages/ReviewBoard-1.6.6- py2.6.egg/reviewboard/diffviewer/views.py", line 193, in get_requested_diff_file get_chunks) File "/usr/local/lib/python2.6/dist-packages/ReviewBoard-1.6.6- py2.6.egg/reviewboard/diffviewer/diffutils.py", line 1072, in get_diff_files large_data=True) File "/usr/local/lib/python2.6/dist-packages/Djblets-0.6.16- py2.6.egg/djblets/util/misc.py", line 157, in cache_memoize data = lookup_callable() File "/usr/local/lib/python2.6/dist-packages/ReviewBoard-1.6.6- py2.6.egg/reviewboard/diffviewer/diffutils.py", line 1071, in enable_syntax_highlighting)), File "/usr/local/lib/python2.6/dist-packages/ReviewBoard-1.6.6- py2.6.egg/reviewboard/diffviewer/diffutils.py", line 553, in get_chunks new = get_patched_file(old, filediff) File "/usr/local/lib/python2.6/dist-packages/ReviewBoard-1.6.6- py2.6.egg/reviewboard/diffviewer/diffutils.py", line 375, in get_patched_file return patch(filediff.diff, buffer, filediff.dest_file) File "/usr/local/lib/python2.6/dist-packages/ReviewBoard-1.6.6- py2.6.egg/reviewboard/diffviewer/diffutils.py", line 243, in patch (filename, tempdir, patch_output)) Exception: The patch to '/src/main/resources/configuration/ deployment.general.properties' didn't apply cleanly. The temporary files have been left in '/tmp/reviewboard.tCd6AH' for debugging purposes. `patch` returned: patching file /tmp/reviewboard.tCd6AH/tmpso_wST Hunk #1 FAILED at 73. 1 out of 1 hunk FAILED -- saving rejects to file /tmp/ reviewboard.tCd6AH/tmpso_wST-new.rej * I could see that the problem was the "á" since I looked it up in the .rej file that it generated, and the "á" shows all messed up like this= #...hasta ac� At this point I have already tried to re-do the whole process a few times, first time I didnt set up the Mysql db with utf8 as the default charset, and I thought that was my mistake, but then I did it and it kept happening the same. Any help on this would be greatly appreciated, please ask any details you may need.. Many Thanks In Advance, Gonzalo. -- 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
Re: Diff currently unavailable. Error: Connection closed unexpectedly
> a > > > > > > password. > > > > > > > Same way you would any other user. > > > > > > > > > Christian > > > > > > > > > -- > > > > > > > Christian Hammond - chip...@chipx86.com > > > > > > > VMware, Inc. > > > > > > > > > On Wed, Feb 11, 2009 at 3:50 AM, Dev > wrote: > > > > > > > > > > SVN check-out successfull in my client m/c.But when i tried > to > > > check- > > > > > > > > out from the RB server,it was asking my unix user's password. > > > > > > > > I guess when i hit the 'view diff' button,it is looking for > unix > > > user > > > > > > > > password? Pl correct me if i am wrong. > > > > > > > > I am using URL "svn+ssh://URL/subversion/data/project/" > > > > > > > > > > On Feb 11, 4:32 pm, Dev wrote: > > > > > > > > > No.This is fresh installation in the centOS machine. > > > > > > > > > Let me try a check-out and let you know. > > > > > > > > > > > -Dev > > > > > > > > > > > On Feb 11, 4:27 pm, Christian Hammond > > > > wrote: > > > > > > > > > > > > You should try a checkout from both your local box and > from > > > the > > > > > > server > > > > > > > > > > running Review Board, using the same settings (SVN URL, > > > username, > > > > > > > > password) > > > > > > > > > > that Review Board is using. > > > > > > > > > > > > This doesn't sound like it's a Review Board issue > > > specifically. It > > > > > > > > sounds > > > > > > > > > > like a connection issue with SVN. > > > > > > > > > > > > Did this used to work, and just recently break? Does it > > > happen with > > > > > > all > > > > > > > > > > diffs? > > > > > > > > > > > > Christian > > > > > > > > > > > > -- > > > > > > > > > > Christian Hammond - chip...@chipx86.com > > > > > > > > > > VMware, Inc. > > > > > > > > > > > > On Wed, Feb 11, 2009 at 3:01 AM, Dev < > devmeg...@gmail.com> > > > wrote: > > > > > > > > > > > > > Can you pl let me know what will be my next step to > attack > > > this > > > > > > > > > > > problem? > > > > > > > > > > > > > -Dev > > > > > > > > > > > > > On Feb 11, 3:50 pm, Christian Hammond < > chip...@chipx86.com > > > > > > > > wrote: > > > > > > > > > > > > Diff generation isn't a problem. In SVN, diffs are > > > generated > > > > > > > > locally > > > > > > > > > > > without > > > > > > > > > > > > talking to the server. > > > > > > > > > > > > > > Review Board needs to actually fetch each file in the > > > diff in > > > > > > order > > > > > > > > to > > > > > > > > > > > > generate a full side-by-side diff, so it talks to the > SVN > > > > > > server > > > > > > > > before > > > > > > > > > > > even > > > > > > > > > > > > taking your generated diff into account. > > > > > > > > > > > > > > Christian > > > > > > > > > > > > > > -- > > > > > > > > > > > > Christian Hammond - chip...@chipx86.com > > > > > > > > > > > > VMware, Inc. > > > > > > > > > > > > > > On Wed, Feb 11, 2009 at 2:48 AM, Dev < > > > devmeg...@gmail.com> > > > > > > wrote: > > > > > > > > > > > > > > > But i can able to see the diff in the windows > command > > > line by > > > > > > > > giving -- > >
Re: Diff currently unavailable. Error: Connection closed unexpectedly
ct me if i am wrong. > > > > > > > > I am using URL "svn+ssh://URL/subversion/data/project/" > > > > > > > > > On Feb 11, 4:32 pm, Dev wrote: > > > > > > > > > No.This is fresh installation in the centOS machine. > > > > > > > > > Let me try a check-out and let you know. > > > > > > > > > > -Dev > > > > > > > > > > On Feb 11, 4:27 pm, Christian Hammond > > > wrote: > > > > > > > > > > > You should try a checkout from both your local box and from > > > the > > > > > > server > > > > > > > > > > running Review Board, using the same settings (SVN URL, > > > username, > > > > > > > > password) > > > > > > > > > > that Review Board is using. > > > > > > > > > > > This doesn't sound like it's a Review Board issue > > > specifically. It > > > > > > > > sounds > > > > > > > > > > like a connection issue with SVN. > > > > > > > > > > > Did this used to work, and just recently break? Does it > > > happen with > > > > > > all > > > > > > > > > > diffs? > > > > > > > > > > > Christian > > > > > > > > > > > -- > > > > > > > > > > Christian Hammond - chip...@chipx86.com > > > > > > > > > > VMware, Inc. > > > > > > > > > > > On Wed, Feb 11, 2009 at 3:01 AM, Dev > > > wrote: > > > > > > > > > > > > Can you pl let me know what will be my next step to attack > > > this > > > > > > > > > > > problem? > > > > > > > > > > > > -Dev > > > > > > > > > > > > On Feb 11, 3:50 pm, Christian Hammond > > > > > > wrote: > > > > > > > > > > > > Diff generation isn't a problem. In SVN, diffs are > > > generated > > > > > > > > locally > > > > > > > > > > > without > > > > > > > > > > > > talking to the server. > > > > > > > > > > > > > Review Board needs to actually fetch each file in the > > > diff in > > > > > > order > > > > > > > > to > > > > > > > > > > > > generate a full side-by-side diff, so it talks to the > > > > > > > > > > > > SVN > > > > > > server > > > > > > > > before > > > > > > > > > > > even > > > > > > > > > > > > taking your generated diff into account. > > > > > > > > > > > > > Christian > > > > > > > > > > > > > -- > > > > > > > > > > > > Christian Hammond - chip...@chipx86.com > > > > > > > > > > > > VMware, Inc. > > > > > > > > > > > > > On Wed, Feb 11, 2009 at 2:48 AM, Dev < > > > devmeg...@gmail.com> > > > > > > wrote: > > > > > > > > > > > > > > But i can able to see the diff in the windows command > > > line by > > > > > > > > giving -- > > > > > > > > > > > > > output-diff command. > > > > > > > > > > > > > It shows perfectly in command line. > > > > > > > > > > > > > > On Feb 11, 2:25 pm, Christian Hammond < > > > chip...@chipx86.com> > > > > > > > > wrote: > > > > > > > > > > > > > > This sounds like an issue between your Review Board > > > server > > > > > > and > > > > > > > > your > > > > > > > > > > > SVN > > > > > > > > > > > > > > server. Are you having any of these problems from > > > your > > > > > > local > > > > > > > > box? > > > > > > > > > > > > > > > Try a checkout from the Review Board server using > > > > > > > > &g
Re: Diff currently unavailable. Error: Connection closed unexpectedly
ond > > wrote: > > > > > > > > > > You should try a checkout from both your local box and from > > the > > > > > server > > > > > > > > > running Review Board, using the same settings (SVN URL, > > username, > > > > > > > password) > > > > > > > > > that Review Board is using. > > > > > > > > > > This doesn't sound like it's a Review Board issue > > specifically. It > > > > > > > sounds > > > > > > > > > like a connection issue with SVN. > > > > > > > > > > Did this used to work, and just recently break? Does it > > happen with > > > > > all > > > > > > > > > diffs? > > > > > > > > > > Christian > > > > > > > > > > -- > > > > > > > > > Christian Hammond - chip...@chipx86.com > > > > > > > > > VMware, Inc. > > > > > > > > > > On Wed, Feb 11, 2009 at 3:01 AM, Dev > > wrote: > > > > > > > > > > > Can you pl let me know what will be my next step to attack > > this > > > > > > > > > > problem? > > > > > > > > > > > -Dev > > > > > > > > > > > On Feb 11, 3:50 pm, Christian Hammond > > > > > wrote: > > > > > > > > > > > Diff generation isn't a problem. In SVN, diffs are > > generated > > > > > > > locally > > > > > > > > > > without > > > > > > > > > > > talking to the server. > > > > > > > > > > > > Review Board needs to actually fetch each file in the > > diff in > > > > > order > > > > > > > to > > > > > > > > > > > generate a full side-by-side diff, so it talks to the SVN > > > > > server > > > > > > > before > > > > > > > > > > even > > > > > > > > > > > taking your generated diff into account. > > > > > > > > > > > > Christian > > > > > > > > > > > > -- > > > > > > > > > > > Christian Hammond - chip...@chipx86.com > > > > > > > > > > > VMware, Inc. > > > > > > > > > > > > On Wed, Feb 11, 2009 at 2:48 AM, Dev < > > devmeg...@gmail.com> > > > > > wrote: > > > > > > > > > > > > > But i can able to see the diff in the windows command > > line by > > > > > > > giving -- > > > > > > > > > > > > output-diff command. > > > > > > > > > > > > It shows perfectly in command line. > > > > > > > > > > > > > On Feb 11, 2:25 pm, Christian Hammond < > > chip...@chipx86.com> > > > > > > > wrote: > > > > > > > > > > > > > This sounds like an issue between your Review Board > > server > > > > > and > > > > > > > your > > > > > > > > > > SVN > > > > > > > > > > > > > server. Are you having any of these problems from > > your > > > > > local > > > > > > > box? > > > > > > > > > > > > > > Try a checkout from the Review Board server using the > > same > > > > > > > > > > configuration > > > > > > > > > > > > > specified in Review Board. See if you can duplicate > > it, and > > > > > if > > > > > > > you > > > > > > > > > > can > > > > > > > > > > > > get > > > > > > > > > > > > > any debug info from there. > > > > > > > > > > > > > > Christian > > > > > > > > > > > > > > -- > > > > > > > > > > > > > Christian Hammond - chip...@chipx86.com > > > > > > > > > > > > > VMware, Inc. > > > > > > > > > > > > > > On Wed, Feb 11, 2009 at 1:07 AM,
Re: Diff currently unavailable. Error: Connection closed unexpectedly
AM, Dev > wrote: > > > > > > > > > > > Can you pl let me know what will be my next step to attack > this > > > > > > > > > problem? > > > > > > > > > > > -Dev > > > > > > > > > > > On Feb 11, 3:50 pm, Christian Hammond > > > > > wrote: > > > > > > > > > > Diff generation isn't a problem. In SVN, diffs are > generated > > > > > > locally > > > > > > > > > without > > > > > > > > > > talking to the server. > > > > > > > > > > > > Review Board needs to actually fetch each file in the > diff in > > > > order > > > > > > to > > > > > > > > > > generate a full side-by-side diff, so it talks to the SVN > > > > server > > > > > > before > > > > > > > > > even > > > > > > > > > > taking your generated diff into account. > > > > > > > > > > > > Christian > > > > > > > > > > > > -- > > > > > > > > > > Christian Hammond - chip...@chipx86.com > > > > > > > > > > VMware, Inc. > > > > > > > > > > > > On Wed, Feb 11, 2009 at 2:48 AM, Dev < > devmeg...@gmail.com> > > > > wrote: > > > > > > > > > > > > > But i can able to see the diff in the windows command > line by > > > > > > giving -- > > > > > > > > > > > output-diff command. > > > > > > > > > > > It shows perfectly in command line. > > > > > > > > > > > > > On Feb 11, 2:25 pm, Christian Hammond < > chip...@chipx86.com> > > > > > > wrote: > > > > > > > > > > > > This sounds like an issue between your Review Board > server > > > > and > > > > > > your > > > > > > > > > SVN > > > > > > > > > > > > server. Are you having any of these problems from > your > > > > local > > > > > > box? > > > > > > > > > > > > > > Try a checkout from the Review Board server using the > same > > > > > > > > > configuration > > > > > > > > > > > > specified in Review Board. See if you can duplicate > it, and > > > > if > > > > > > you > > > > > > > > > can > > > > > > > > > > > get > > > > > > > > > > > > any debug info from there. > > > > > > > > > > > > > > Christian > > > > > > > > > > > > > > -- > > > > > > > > > > > > Christian Hammond - chip...@chipx86.com > > > > > > > > > > > > VMware, Inc. > > > > > > > > > > > > > > On Wed, Feb 11, 2009 at 1:07 AM, Dev < > devmeg...@gmail.com> > > > > > > wrote: > > > > > > > > > > > > > > > Hi, > > > > > > > > > > > > > > > I have installed RB 1.0 and pointed webserver as > apache. > > > > > > > > > > > > > I am able to post the reviews perfectly.But when i > try to > > > > see > > > > > > the > > > > > > > > > diff > > > > > > > > > > > > > by using 'view diff' buton,it says below error. > > > > > > > > > > > > > > > Diff currently unavailable. > > > > > > > > > > > > > Error: Connection closed unexpectedly > > > > > > > > > > > > > Details > > > > > > > > > > > > > > > Traceback (most recent call last): > > > > > > > > > > > > > File > > > > > > "/usr/lib/python2.4/site-packages/ReviewBoard-1.0alpha2- > > > > > > > > > > > > > py2.4.egg/reviewboard/diffviewer/views.py", line > 183, in > > > > > > > > > > > > > view_diff_fragment > > > > > > > > &g
Re: Diff currently unavailable. Error: Connection closed unexpectedly
nc. > > > > > > > > > > On Wed, Feb 11, 2009 at 2:48 AM, Dev > > > wrote: > > > > > > > > > > > But i can able to see the diff in the windows command line > > > > > > > > > > by > > > > > giving -- > > > > > > > > > > output-diff command. > > > > > > > > > > It shows perfectly in command line. > > > > > > > > > > > On Feb 11, 2:25 pm, Christian Hammond > > > > > wrote: > > > > > > > > > > > This sounds like an issue between your Review Board server > > > and > > > > > your > > > > > > > > SVN > > > > > > > > > > > server. Are you having any of these problems from your > > > local > > > > > box? > > > > > > > > > > > > Try a checkout from the Review Board server using the same > > > > > > > > configuration > > > > > > > > > > > specified in Review Board. See if you can duplicate it, > > > > > > > > > > > and > > > if > > > > > you > > > > > > > > can > > > > > > > > > > get > > > > > > > > > > > any debug info from there. > > > > > > > > > > > > Christian > > > > > > > > > > > > -- > > > > > > > > > > > Christian Hammond - chip...@chipx86.com > > > > > > > > > > > VMware, Inc. > > > > > > > > > > > > On Wed, Feb 11, 2009 at 1:07 AM, Dev > > > > > wrote: > > > > > > > > > > > > > Hi, > > > > > > > > > > > > > I have installed RB 1.0 and pointed webserver as apache. > > > > > > > > > > > > I am able to post the reviews perfectly.But when i try > > > > > > > > > > > > to > > > see > > > > > the > > > > > > > > diff > > > > > > > > > > > > by using 'view diff' buton,it says below error. > > > > > > > > > > > > > Diff currently unavailable. > > > > > > > > > > > > Error: Connection closed unexpectedly > > > > > > > > > > > > Details > > > > > > > > > > > > > Traceback (most recent call last): > > > > > > > > > > > > File > > > > > "/usr/lib/python2.4/site-packages/ReviewBoard-1.0alpha2- > > > > > > > > > > > > py2.4.egg/reviewboard/diffviewer/views.py", line 183, in > > > > > > > > > > > > view_diff_fragment > > > > > > > > > > > > file = get_requested_diff_file() > > > > > > > > > > > > File > > > > > "/usr/lib/python2.4/site-packages/ReviewBoard-1.0alpha2- > > > > > > > > > > > > py2.4.egg/reviewboard/diffviewer/views.py", line 159, in > > > > > > > > > > > > get_requested_diff_file > > > > > > > > > > > > get_chunks) > > > > > > > > > > > > File > > > > > "/usr/lib/python2.4/site-packages/ReviewBoard-1.0alpha2- > > > > > > > > > > > > py2.4.egg/reviewboard/diffviewer/diffutils.py", line > > > > > > > > > > > > 613, > > > in > > > > > > > > > > > > get_diff_files > > > > > > > > > > > > large_data=True) > > > > > > > > > > > > File > > > > > > > > "/usr/lib/python2.4/site-packages/Djblets-0.5alpha2-py2.4.egg/ > > > > > > > > > > > > djblets/util/misc.py", line 143, in cache_memoize > > > > > > > > > > > > data = lookup_callable() > > > > > > > > > > > > File > > > > > "/usr/lib/python2.4/site-packages/ReviewBoard-1.0alpha2- > > > > > > > > > > > > py2.4.egg/reviewboard/diffviewer/diffutils.py", line > > > > > > > > > > > > 612, > > > in > > > > > > > > > > > > > > > > > > > > enable_syntax_highlighting), > > > > > > > > > > > > File > > > > > "/usr/lib/python2.4/site-packages/ReviewBoard-1.0alpha2- > > > > > > > > > > > > py2.4.egg/reviewboard/diffviewer/diffutils.py", line > > > > > > > > > > > > 341, > > > in > > > > > > > > > > > > get_chunks > > > > > > > > > > > > old = get_original_file(filediff) > > > > > > > > > > > > File > > > > > "/usr/lib/python2.4/site-packages/ReviewBoard-1.0alpha2- > > > > > > > > > > > > py2.4.egg/reviewboard/diffviewer/diffutils.py", line > > > > > > > > > > > > 248, > > > in > > > > > > > > > > > > get_original_file > > > > > > > > > > > > large_data=True)[0] > > > > > > > > > > > > File > > > > > > > > "/usr/lib/python2.4/site-packages/Djblets-0.5alpha2-py2.4.egg/ > > > > > > > > > > > > djblets/util/misc.py", line 143, in cache_memoize > > > > > > > > > > > > data = lookup_callable() > > > > > > > > > > > > File > > > > > "/usr/lib/python2.4/site-packages/ReviewBoard-1.0alpha2- > > > > > > > > > > > > py2.4.egg/reviewboard/diffviewer/diffutils.py", line > > > > > > > > > > > > 247, > > > in > > > > > > > > > > > > > > > > > > > > data = cache_memoize(key, lambda: [fetch_file(file, > > > > > revision)], > > > > > > > > > > > > File > > > > > "/usr/lib/python2.4/site-packages/ReviewBoard-1.0alpha2- > > > > > > > > > > > > py2.4.egg/reviewboard/diffviewer/diffutils.py", line > > > > > > > > > > > > 227, > > > in > > > > > > > > > > > > fetch_file > > > > > > > > > > > > data = tool.get_file(file, revision) > > > > > > > > > > > > File > > > > > "/usr/lib/python2.4/site-packages/ReviewBoard-1.0alpha2- > > > > > > > > > > > > py2.4.egg/reviewboard/scmtools/svn.py", line 115, in > > > get_file > > > > > > > > > > > > raise SCMError(e) > > > > > > > > > > > > SCMError: Connection closed unexpectedly > > > > > > > > > > > > > Pl help me in this regard. > > > > > > > > > > > > > Regards, > > > > > > > > > > > > dev --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "reviewboard" group. To post to this group, send email to reviewboard@googlegroups.com 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 -~--~~~~--~~--~--~---
Re: Diff currently unavailable. Error: Connection closed unexpectedly
No christian.Apache is in 'nologin' mode.So as a apache user i won't be able to check-out. On Feb 12, 11:52 am, Christian Hammond wrote: > So doing a checkout as Apache/lighttpd's user using svn+ssh is working > without a password on that server? What did you do to enable that? > > Christian > > -- > Christian Hammond - chip...@chipx86.com > Review Board -http://www.review-board.org > VMware, Inc. -http://www.vmware.com > > On Wed, Feb 11, 2009 at 8:55 PM, Dev wrote: > > > Hi, > > I have given password less entry in my SVN server for my unix user.But > > still i am facing the same problem..:( > > > Pl help me. > > > On Feb 11, 4:55 pm, Christian Hammond wrote: > > > It probably was. > > > > If you can at all access the server through HTTP, that would be best. > > > Otherwise, you'll need to configure the web server user's ssh and svn > > > configuration to allow it to access files without prompting for a > > password. > > > Same way you would any other user. > > > > Christian > > > > -- > > > Christian Hammond - chip...@chipx86.com > > > VMware, Inc. > > > > On Wed, Feb 11, 2009 at 3:50 AM, Dev wrote: > > > > > SVN check-out successfull in my client m/c.But when i tried to check- > > > > out from the RB server,it was asking my unix user's password. > > > > I guess when i hit the 'view diff' button,it is looking for unix user > > > > password? Pl correct me if i am wrong. > > > > I am using URL "svn+ssh://URL/subversion/data/project/" > > > > > On Feb 11, 4:32 pm, Dev wrote: > > > > > No.This is fresh installation in the centOS machine. > > > > > Let me try a check-out and let you know. > > > > > > -Dev > > > > > > On Feb 11, 4:27 pm, Christian Hammond wrote: > > > > > > > You should try a checkout from both your local box and from the > > server > > > > > > running Review Board, using the same settings (SVN URL, username, > > > > password) > > > > > > that Review Board is using. > > > > > > > This doesn't sound like it's a Review Board issue specifically. It > > > > sounds > > > > > > like a connection issue with SVN. > > > > > > > Did this used to work, and just recently break? Does it happen with > > all > > > > > > diffs? > > > > > > > Christian > > > > > > > -- > > > > > > Christian Hammond - chip...@chipx86.com > > > > > > VMware, Inc. > > > > > > > On Wed, Feb 11, 2009 at 3:01 AM, Dev wrote: > > > > > > > > Can you pl let me know what will be my next step to attack this > > > > > > > problem? > > > > > > > > -Dev > > > > > > > > On Feb 11, 3:50 pm, Christian Hammond > > wrote: > > > > > > > > Diff generation isn't a problem. In SVN, diffs are generated > > > > locally > > > > > > > without > > > > > > > > talking to the server. > > > > > > > > > Review Board needs to actually fetch each file in the diff in > > order > > > > to > > > > > > > > generate a full side-by-side diff, so it talks to the SVN > > server > > > > before > > > > > > > even > > > > > > > > taking your generated diff into account. > > > > > > > > > Christian > > > > > > > > > -- > > > > > > > > Christian Hammond - chip...@chipx86.com > > > > > > > > VMware, Inc. > > > > > > > > > On Wed, Feb 11, 2009 at 2:48 AM, Dev > > wrote: > > > > > > > > > > But i can able to see the diff in the windows command line by > > > > giving -- > > > > > > > > > output-diff command. > > > > > > > > > It shows perfectly in command line. > > > > > > > > > > On Feb 11, 2:25 pm, Christian Hammond > > > > wrote: > > > > > > > > > > This sounds like an issue between your Review Board server > > and > > > > your > > > > > > > SVN > > > > > > > > > > server. Are you having any of these problems from your > > local >
Re: Diff currently unavailable. Error: Connection closed unexpectedly
So doing a checkout as Apache/lighttpd's user using svn+ssh is working without a password on that server? What did you do to enable that? Christian -- Christian Hammond - chip...@chipx86.com Review Board - http://www.review-board.org VMware, Inc. - http://www.vmware.com On Wed, Feb 11, 2009 at 8:55 PM, Dev wrote: > > Hi, > I have given password less entry in my SVN server for my unix user.But > still i am facing the same problem..:( > > Pl help me. > > On Feb 11, 4:55 pm, Christian Hammond wrote: > > It probably was. > > > > If you can at all access the server through HTTP, that would be best. > > Otherwise, you'll need to configure the web server user's ssh and svn > > configuration to allow it to access files without prompting for a > password. > > Same way you would any other user. > > > > Christian > > > > -- > > Christian Hammond - chip...@chipx86.com > > VMware, Inc. > > > > On Wed, Feb 11, 2009 at 3:50 AM, Dev wrote: > > > > > SVN check-out successfull in my client m/c.But when i tried to check- > > > out from the RB server,it was asking my unix user's password. > > > I guess when i hit the 'view diff' button,it is looking for unix user > > > password? Pl correct me if i am wrong. > > > I am using URL "svn+ssh://URL/subversion/data/project/" > > > > > On Feb 11, 4:32 pm, Dev wrote: > > > > No.This is fresh installation in the centOS machine. > > > > Let me try a check-out and let you know. > > > > > > -Dev > > > > > > On Feb 11, 4:27 pm, Christian Hammond wrote: > > > > > > > You should try a checkout from both your local box and from the > server > > > > > running Review Board, using the same settings (SVN URL, username, > > > password) > > > > > that Review Board is using. > > > > > > > This doesn't sound like it's a Review Board issue specifically. It > > > sounds > > > > > like a connection issue with SVN. > > > > > > > Did this used to work, and just recently break? Does it happen with > all > > > > > diffs? > > > > > > > Christian > > > > > > > -- > > > > > Christian Hammond - chip...@chipx86.com > > > > > VMware, Inc. > > > > > > > On Wed, Feb 11, 2009 at 3:01 AM, Dev wrote: > > > > > > > > Can you pl let me know what will be my next step to attack this > > > > > > problem? > > > > > > > > -Dev > > > > > > > > On Feb 11, 3:50 pm, Christian Hammond > wrote: > > > > > > > Diff generation isn't a problem. In SVN, diffs are generated > > > locally > > > > > > without > > > > > > > talking to the server. > > > > > > > > > Review Board needs to actually fetch each file in the diff in > order > > > to > > > > > > > generate a full side-by-side diff, so it talks to the SVN > server > > > before > > > > > > even > > > > > > > taking your generated diff into account. > > > > > > > > > Christian > > > > > > > > > -- > > > > > > > Christian Hammond - chip...@chipx86.com > > > > > > > VMware, Inc. > > > > > > > > > On Wed, Feb 11, 2009 at 2:48 AM, Dev > wrote: > > > > > > > > > > But i can able to see the diff in the windows command line by > > > giving -- > > > > > > > > output-diff command. > > > > > > > > It shows perfectly in command line. > > > > > > > > > > On Feb 11, 2:25 pm, Christian Hammond > > > wrote: > > > > > > > > > This sounds like an issue between your Review Board server > and > > > your > > > > > > SVN > > > > > > > > > server. Are you having any of these problems from your > local > > > box? > > > > > > > > > > > Try a checkout from the Review Board server using the same > > > > > > configuration > > > > > > > > > specified in Review Board. See if you can duplicate it, and > if > > > you > > > > > > can > > > > > > > > get > > > > > > > > > any debug info from there. > > > &
Re: Diff currently unavailable. Error: Connection closed unexpectedly
Hi, I have given password less entry in my SVN server for my unix user.But still i am facing the same problem..:( Pl help me. On Feb 11, 4:55 pm, Christian Hammond wrote: > It probably was. > > If you can at all access the server through HTTP, that would be best. > Otherwise, you'll need to configure the web server user's ssh and svn > configuration to allow it to access files without prompting for a password. > Same way you would any other user. > > Christian > > -- > Christian Hammond - chip...@chipx86.com > VMware, Inc. > > On Wed, Feb 11, 2009 at 3:50 AM, Dev wrote: > > > SVN check-out successfull in my client m/c.But when i tried to check- > > out from the RB server,it was asking my unix user's password. > > I guess when i hit the 'view diff' button,it is looking for unix user > > password? Pl correct me if i am wrong. > > I am using URL "svn+ssh://URL/subversion/data/project/" > > > On Feb 11, 4:32 pm, Dev wrote: > > > No.This is fresh installation in the centOS machine. > > > Let me try a check-out and let you know. > > > > -Dev > > > > On Feb 11, 4:27 pm, Christian Hammond wrote: > > > > > You should try a checkout from both your local box and from the server > > > > running Review Board, using the same settings (SVN URL, username, > > password) > > > > that Review Board is using. > > > > > This doesn't sound like it's a Review Board issue specifically. It > > sounds > > > > like a connection issue with SVN. > > > > > Did this used to work, and just recently break? Does it happen with all > > > > diffs? > > > > > Christian > > > > > -- > > > > Christian Hammond - chip...@chipx86.com > > > > VMware, Inc. > > > > > On Wed, Feb 11, 2009 at 3:01 AM, Dev wrote: > > > > > > Can you pl let me know what will be my next step to attack this > > > > > problem? > > > > > > -Dev > > > > > > On Feb 11, 3:50 pm, Christian Hammond wrote: > > > > > > Diff generation isn't a problem. In SVN, diffs are generated > > locally > > > > > without > > > > > > talking to the server. > > > > > > > Review Board needs to actually fetch each file in the diff in order > > to > > > > > > generate a full side-by-side diff, so it talks to the SVN server > > before > > > > > even > > > > > > taking your generated diff into account. > > > > > > > Christian > > > > > > > -- > > > > > > Christian Hammond - chip...@chipx86.com > > > > > > VMware, Inc. > > > > > > > On Wed, Feb 11, 2009 at 2:48 AM, Dev wrote: > > > > > > > > But i can able to see the diff in the windows command line by > > giving -- > > > > > > > output-diff command. > > > > > > > It shows perfectly in command line. > > > > > > > > On Feb 11, 2:25 pm, Christian Hammond > > wrote: > > > > > > > > This sounds like an issue between your Review Board server and > > your > > > > > SVN > > > > > > > > server. Are you having any of these problems from your local > > box? > > > > > > > > > Try a checkout from the Review Board server using the same > > > > > configuration > > > > > > > > specified in Review Board. See if you can duplicate it, and if > > you > > > > > can > > > > > > > get > > > > > > > > any debug info from there. > > > > > > > > > Christian > > > > > > > > > -- > > > > > > > > Christian Hammond - chip...@chipx86.com > > > > > > > > VMware, Inc. > > > > > > > > > On Wed, Feb 11, 2009 at 1:07 AM, Dev > > wrote: > > > > > > > > > > Hi, > > > > > > > > > > I have installed RB 1.0 and pointed webserver as apache. > > > > > > > > > I am able to post the reviews perfectly.But when i try to see > > the > > > > > diff > > > > > > > > > by using 'view diff' buton,it says below error. > > > > > > > > > > Diff currently unavailable. > > > > > > > > > Error: Connection close
Re: Diff currently unavailable. Error: Connection closed unexpectedly
Cool ..!Let me try now and let you know .. -Dev On Feb 11, 4:55 pm, Christian Hammond wrote: > It probably was. > > If you can at all access the server through HTTP, that would be best. > Otherwise, you'll need to configure the web server user's ssh and svn > configuration to allow it to access files without prompting for a password. > Same way you would any other user. > > Christian > > -- > Christian Hammond - chip...@chipx86.com > VMware, Inc. > > On Wed, Feb 11, 2009 at 3:50 AM, Dev wrote: > > > SVN check-out successfull in my client m/c.But when i tried to check- > > out from the RB server,it was asking my unix user's password. > > I guess when i hit the 'view diff' button,it is looking for unix user > > password? Pl correct me if i am wrong. > > I am using URL "svn+ssh://URL/subversion/data/project/" > > > On Feb 11, 4:32 pm, Dev wrote: > > > No.This is fresh installation in the centOS machine. > > > Let me try a check-out and let you know. > > > > -Dev > > > > On Feb 11, 4:27 pm, Christian Hammond wrote: > > > > > You should try a checkout from both your local box and from the server > > > > running Review Board, using the same settings (SVN URL, username, > > password) > > > > that Review Board is using. > > > > > This doesn't sound like it's a Review Board issue specifically. It > > sounds > > > > like a connection issue with SVN. > > > > > Did this used to work, and just recently break? Does it happen with all > > > > diffs? > > > > > Christian > > > > > -- > > > > Christian Hammond - chip...@chipx86.com > > > > VMware, Inc. > > > > > On Wed, Feb 11, 2009 at 3:01 AM, Dev wrote: > > > > > > Can you pl let me know what will be my next step to attack this > > > > > problem? > > > > > > -Dev > > > > > > On Feb 11, 3:50 pm, Christian Hammond wrote: > > > > > > Diff generation isn't a problem. In SVN, diffs are generated > > locally > > > > > without > > > > > > talking to the server. > > > > > > > Review Board needs to actually fetch each file in the diff in order > > to > > > > > > generate a full side-by-side diff, so it talks to the SVN server > > before > > > > > even > > > > > > taking your generated diff into account. > > > > > > > Christian > > > > > > > -- > > > > > > Christian Hammond - chip...@chipx86.com > > > > > > VMware, Inc. > > > > > > > On Wed, Feb 11, 2009 at 2:48 AM, Dev wrote: > > > > > > > > But i can able to see the diff in the windows command line by > > giving -- > > > > > > > output-diff command. > > > > > > > It shows perfectly in command line. > > > > > > > > On Feb 11, 2:25 pm, Christian Hammond > > wrote: > > > > > > > > This sounds like an issue between your Review Board server and > > your > > > > > SVN > > > > > > > > server. Are you having any of these problems from your local > > box? > > > > > > > > > Try a checkout from the Review Board server using the same > > > > > configuration > > > > > > > > specified in Review Board. See if you can duplicate it, and if > > you > > > > > can > > > > > > > get > > > > > > > > any debug info from there. > > > > > > > > > Christian > > > > > > > > > -- > > > > > > > > Christian Hammond - chip...@chipx86.com > > > > > > > > VMware, Inc. > > > > > > > > > On Wed, Feb 11, 2009 at 1:07 AM, Dev > > wrote: > > > > > > > > > > Hi, > > > > > > > > > > I have installed RB 1.0 and pointed webserver as apache. > > > > > > > > > I am able to post the reviews perfectly.But when i try to see > > the > > > > > diff > > > > > > > > > by using 'view diff' buton,it says below error. > > > > > > > > > > Diff currently unavailable. > > > > > > > > > Error: Connection closed unexpectedly > > > > > > > > > Details > > >
Re: Diff currently unavailable. Error: Connection closed unexpectedly
It probably was. If you can at all access the server through HTTP, that would be best. Otherwise, you'll need to configure the web server user's ssh and svn configuration to allow it to access files without prompting for a password. Same way you would any other user. Christian -- Christian Hammond - chip...@chipx86.com VMware, Inc. On Wed, Feb 11, 2009 at 3:50 AM, Dev wrote: > > SVN check-out successfull in my client m/c.But when i tried to check- > out from the RB server,it was asking my unix user's password. > I guess when i hit the 'view diff' button,it is looking for unix user > password? Pl correct me if i am wrong. > I am using URL "svn+ssh://URL/subversion/data/project/" > > On Feb 11, 4:32 pm, Dev wrote: > > No.This is fresh installation in the centOS machine. > > Let me try a check-out and let you know. > > > > -Dev > > > > On Feb 11, 4:27 pm, Christian Hammond wrote: > > > > > You should try a checkout from both your local box and from the server > > > running Review Board, using the same settings (SVN URL, username, > password) > > > that Review Board is using. > > > > > This doesn't sound like it's a Review Board issue specifically. It > sounds > > > like a connection issue with SVN. > > > > > Did this used to work, and just recently break? Does it happen with all > > > diffs? > > > > > Christian > > > > > -- > > > Christian Hammond - chip...@chipx86.com > > > VMware, Inc. > > > > > On Wed, Feb 11, 2009 at 3:01 AM, Dev wrote: > > > > > > Can you pl let me know what will be my next step to attack this > > > > problem? > > > > > > -Dev > > > > > > On Feb 11, 3:50 pm, Christian Hammond wrote: > > > > > Diff generation isn't a problem. In SVN, diffs are generated > locally > > > > without > > > > > talking to the server. > > > > > > > Review Board needs to actually fetch each file in the diff in order > to > > > > > generate a full side-by-side diff, so it talks to the SVN server > before > > > > even > > > > > taking your generated diff into account. > > > > > > > Christian > > > > > > > -- > > > > > Christian Hammond - chip...@chipx86.com > > > > > VMware, Inc. > > > > > > > On Wed, Feb 11, 2009 at 2:48 AM, Dev wrote: > > > > > > > > But i can able to see the diff in the windows command line by > giving -- > > > > > > output-diff command. > > > > > > It shows perfectly in command line. > > > > > > > > On Feb 11, 2:25 pm, Christian Hammond > wrote: > > > > > > > This sounds like an issue between your Review Board server and > your > > > > SVN > > > > > > > server. Are you having any of these problems from your local > box? > > > > > > > > > Try a checkout from the Review Board server using the same > > > > configuration > > > > > > > specified in Review Board. See if you can duplicate it, and if > you > > > > can > > > > > > get > > > > > > > any debug info from there. > > > > > > > > > Christian > > > > > > > > > -- > > > > > > > Christian Hammond - chip...@chipx86.com > > > > > > > VMware, Inc. > > > > > > > > > On Wed, Feb 11, 2009 at 1:07 AM, Dev > wrote: > > > > > > > > > > Hi, > > > > > > > > > > I have installed RB 1.0 and pointed webserver as apache. > > > > > > > > I am able to post the reviews perfectly.But when i try to see > the > > > > diff > > > > > > > > by using 'view diff' buton,it says below error. > > > > > > > > > > Diff currently unavailable. > > > > > > > > Error: Connection closed unexpectedly > > > > > > > > Details > > > > > > > > > > Traceback (most recent call last): > > > > > > > > File > "/usr/lib/python2.4/site-packages/ReviewBoard-1.0alpha2- > > > > > > > > py2.4.egg/reviewboard/diffviewer/views.py", line 183, in > > > > > > > > view_diff_fragment > > > > > > > >file = get_requested_di
Re: Diff currently unavailable. Error: Connection closed unexpectedly
SVN check-out successfull in my client m/c.But when i tried to check- out from the RB server,it was asking my unix user's password. I guess when i hit the 'view diff' button,it is looking for unix user password? Pl correct me if i am wrong. I am using URL "svn+ssh://URL/subversion/data/project/" On Feb 11, 4:32 pm, Dev wrote: > No.This is fresh installation in the centOS machine. > Let me try a check-out and let you know. > > -Dev > > On Feb 11, 4:27 pm, Christian Hammond wrote: > > > You should try a checkout from both your local box and from the server > > running Review Board, using the same settings (SVN URL, username, password) > > that Review Board is using. > > > This doesn't sound like it's a Review Board issue specifically. It sounds > > like a connection issue with SVN. > > > Did this used to work, and just recently break? Does it happen with all > > diffs? > > > Christian > > > -- > > Christian Hammond - chip...@chipx86.com > > VMware, Inc. > > > On Wed, Feb 11, 2009 at 3:01 AM, Dev wrote: > > > > Can you pl let me know what will be my next step to attack this > > > problem? > > > > -Dev > > > > On Feb 11, 3:50 pm, Christian Hammond wrote: > > > > Diff generation isn't a problem. In SVN, diffs are generated locally > > > without > > > > talking to the server. > > > > > Review Board needs to actually fetch each file in the diff in order to > > > > generate a full side-by-side diff, so it talks to the SVN server before > > > even > > > > taking your generated diff into account. > > > > > Christian > > > > > -- > > > > Christian Hammond - chip...@chipx86.com > > > > VMware, Inc. > > > > > On Wed, Feb 11, 2009 at 2:48 AM, Dev wrote: > > > > > > But i can able to see the diff in the windows command line by giving > > > > > -- > > > > > output-diff command. > > > > > It shows perfectly in command line. > > > > > > On Feb 11, 2:25 pm, Christian Hammond wrote: > > > > > > This sounds like an issue between your Review Board server and your > > > SVN > > > > > > server. Are you having any of these problems from your local box? > > > > > > > Try a checkout from the Review Board server using the same > > > configuration > > > > > > specified in Review Board. See if you can duplicate it, and if you > > > can > > > > > get > > > > > > any debug info from there. > > > > > > > Christian > > > > > > > -- > > > > > > Christian Hammond - chip...@chipx86.com > > > > > > VMware, Inc. > > > > > > > On Wed, Feb 11, 2009 at 1:07 AM, Dev wrote: > > > > > > > > Hi, > > > > > > > > I have installed RB 1.0 and pointed webserver as apache. > > > > > > > I am able to post the reviews perfectly.But when i try to see the > > > diff > > > > > > > by using 'view diff' buton,it says below error. > > > > > > > > Diff currently unavailable. > > > > > > > Error: Connection closed unexpectedly > > > > > > > Details > > > > > > > > Traceback (most recent call last): > > > > > > > File "/usr/lib/python2.4/site-packages/ReviewBoard-1.0alpha2- > > > > > > > py2.4.egg/reviewboard/diffviewer/views.py", line 183, in > > > > > > > view_diff_fragment > > > > > > > file = get_requested_diff_file() > > > > > > > File "/usr/lib/python2.4/site-packages/ReviewBoard-1.0alpha2- > > > > > > > py2.4.egg/reviewboard/diffviewer/views.py", line 159, in > > > > > > > get_requested_diff_file > > > > > > > get_chunks) > > > > > > > File "/usr/lib/python2.4/site-packages/ReviewBoard-1.0alpha2- > > > > > > > py2.4.egg/reviewboard/diffviewer/diffutils.py", line 613, in > > > > > > > get_diff_files > > > > > > > large_data=True) > > > > > > > File > > > "/usr/lib/python2.4/site-packages/Djblets-0.5alpha2-py2.4.egg/ > > > > > > > djblets/util/misc.py", line 143, in cache_memoize > > > > > > > data = lookup_callable() > > > >
Re: Diff currently unavailable. Error: Connection closed unexpectedly
No.This is fresh installation in the centOS machine. Let me try a check-out and let you know. -Dev On Feb 11, 4:27 pm, Christian Hammond wrote: > You should try a checkout from both your local box and from the server > running Review Board, using the same settings (SVN URL, username, password) > that Review Board is using. > > This doesn't sound like it's a Review Board issue specifically. It sounds > like a connection issue with SVN. > > Did this used to work, and just recently break? Does it happen with all > diffs? > > Christian > > -- > Christian Hammond - chip...@chipx86.com > VMware, Inc. > > On Wed, Feb 11, 2009 at 3:01 AM, Dev wrote: > > > Can you pl let me know what will be my next step to attack this > > problem? > > > -Dev > > > On Feb 11, 3:50 pm, Christian Hammond wrote: > > > Diff generation isn't a problem. In SVN, diffs are generated locally > > without > > > talking to the server. > > > > Review Board needs to actually fetch each file in the diff in order to > > > generate a full side-by-side diff, so it talks to the SVN server before > > even > > > taking your generated diff into account. > > > > Christian > > > > -- > > > Christian Hammond - chip...@chipx86.com > > > VMware, Inc. > > > > On Wed, Feb 11, 2009 at 2:48 AM, Dev wrote: > > > > > But i can able to see the diff in the windows command line by giving -- > > > > output-diff command. > > > > It shows perfectly in command line. > > > > > On Feb 11, 2:25 pm, Christian Hammond wrote: > > > > > This sounds like an issue between your Review Board server and your > > SVN > > > > > server. Are you having any of these problems from your local box? > > > > > > Try a checkout from the Review Board server using the same > > configuration > > > > > specified in Review Board. See if you can duplicate it, and if you > > can > > > > get > > > > > any debug info from there. > > > > > > Christian > > > > > > -- > > > > > Christian Hammond - chip...@chipx86.com > > > > > VMware, Inc. > > > > > > On Wed, Feb 11, 2009 at 1:07 AM, Dev wrote: > > > > > > > Hi, > > > > > > > I have installed RB 1.0 and pointed webserver as apache. > > > > > > I am able to post the reviews perfectly.But when i try to see the > > diff > > > > > > by using 'view diff' buton,it says below error. > > > > > > > Diff currently unavailable. > > > > > > Error: Connection closed unexpectedly > > > > > > Details > > > > > > > Traceback (most recent call last): > > > > > > File "/usr/lib/python2.4/site-packages/ReviewBoard-1.0alpha2- > > > > > > py2.4.egg/reviewboard/diffviewer/views.py", line 183, in > > > > > > view_diff_fragment > > > > > > file = get_requested_diff_file() > > > > > > File "/usr/lib/python2.4/site-packages/ReviewBoard-1.0alpha2- > > > > > > py2.4.egg/reviewboard/diffviewer/views.py", line 159, in > > > > > > get_requested_diff_file > > > > > > get_chunks) > > > > > > File "/usr/lib/python2.4/site-packages/ReviewBoard-1.0alpha2- > > > > > > py2.4.egg/reviewboard/diffviewer/diffutils.py", line 613, in > > > > > > get_diff_files > > > > > > large_data=True) > > > > > > File > > "/usr/lib/python2.4/site-packages/Djblets-0.5alpha2-py2.4.egg/ > > > > > > djblets/util/misc.py", line 143, in cache_memoize > > > > > > data = lookup_callable() > > > > > > File "/usr/lib/python2.4/site-packages/ReviewBoard-1.0alpha2- > > > > > > py2.4.egg/reviewboard/diffviewer/diffutils.py", line 612, in > > > > > > > > enable_syntax_highlighting), > > > > > > File "/usr/lib/python2.4/site-packages/ReviewBoard-1.0alpha2- > > > > > > py2.4.egg/reviewboard/diffviewer/diffutils.py", line 341, in > > > > > > get_chunks > > > > > > old = get_original_file(filediff) > > > > > > File "/usr/lib/python2.4/site-packages/ReviewBoard-1.0alpha2- > > > > > > py2.4.egg/reviewboard/diffviewer/diffutils.py", line 248, in > > > > >
Re: Diff currently unavailable. Error: Connection closed unexpectedly
You should try a checkout from both your local box and from the server running Review Board, using the same settings (SVN URL, username, password) that Review Board is using. This doesn't sound like it's a Review Board issue specifically. It sounds like a connection issue with SVN. Did this used to work, and just recently break? Does it happen with all diffs? Christian -- Christian Hammond - chip...@chipx86.com VMware, Inc. On Wed, Feb 11, 2009 at 3:01 AM, Dev wrote: > > Can you pl let me know what will be my next step to attack this > problem? > > -Dev > > On Feb 11, 3:50 pm, Christian Hammond wrote: > > Diff generation isn't a problem. In SVN, diffs are generated locally > without > > talking to the server. > > > > Review Board needs to actually fetch each file in the diff in order to > > generate a full side-by-side diff, so it talks to the SVN server before > even > > taking your generated diff into account. > > > > Christian > > > > -- > > Christian Hammond - chip...@chipx86.com > > VMware, Inc. > > > > On Wed, Feb 11, 2009 at 2:48 AM, Dev wrote: > > > > > But i can able to see the diff in the windows command line by giving -- > > > output-diff command. > > > It shows perfectly in command line. > > > > > On Feb 11, 2:25 pm, Christian Hammond wrote: > > > > This sounds like an issue between your Review Board server and your > SVN > > > > server. Are you having any of these problems from your local box? > > > > > > Try a checkout from the Review Board server using the same > configuration > > > > specified in Review Board. See if you can duplicate it, and if you > can > > > get > > > > any debug info from there. > > > > > > Christian > > > > > > -- > > > > Christian Hammond - chip...@chipx86.com > > > > VMware, Inc. > > > > > > On Wed, Feb 11, 2009 at 1:07 AM, Dev wrote: > > > > > > > Hi, > > > > > > > I have installed RB 1.0 and pointed webserver as apache. > > > > > I am able to post the reviews perfectly.But when i try to see the > diff > > > > > by using 'view diff' buton,it says below error. > > > > > > > Diff currently unavailable. > > > > > Error: Connection closed unexpectedly > > > > > Details > > > > > > > Traceback (most recent call last): > > > > > File "/usr/lib/python2.4/site-packages/ReviewBoard-1.0alpha2- > > > > > py2.4.egg/reviewboard/diffviewer/views.py", line 183, in > > > > > view_diff_fragment > > > > >file = get_requested_diff_file() > > > > > File "/usr/lib/python2.4/site-packages/ReviewBoard-1.0alpha2- > > > > > py2.4.egg/reviewboard/diffviewer/views.py", line 159, in > > > > > get_requested_diff_file > > > > >get_chunks) > > > > > File "/usr/lib/python2.4/site-packages/ReviewBoard-1.0alpha2- > > > > > py2.4.egg/reviewboard/diffviewer/diffutils.py", line 613, in > > > > > get_diff_files > > > > >large_data=True) > > > > > File > "/usr/lib/python2.4/site-packages/Djblets-0.5alpha2-py2.4.egg/ > > > > > djblets/util/misc.py", line 143, in cache_memoize > > > > >data = lookup_callable() > > > > > File "/usr/lib/python2.4/site-packages/ReviewBoard-1.0alpha2- > > > > > py2.4.egg/reviewboard/diffviewer/diffutils.py", line 612, in > > > > > >enable_syntax_highlighting), > > > > > File "/usr/lib/python2.4/site-packages/ReviewBoard-1.0alpha2- > > > > > py2.4.egg/reviewboard/diffviewer/diffutils.py", line 341, in > > > > > get_chunks > > > > >old = get_original_file(filediff) > > > > > File "/usr/lib/python2.4/site-packages/ReviewBoard-1.0alpha2- > > > > > py2.4.egg/reviewboard/diffviewer/diffutils.py", line 248, in > > > > > get_original_file > > > > >large_data=True)[0] > > > > > File > "/usr/lib/python2.4/site-packages/Djblets-0.5alpha2-py2.4.egg/ > > > > > djblets/util/misc.py", line 143, in cache_memoize > > > > >data = lookup_callable() > > > > > File "/usr/lib/python2.4/site-packages/ReviewBoard-1.0alpha2- > > > > > py2.4.egg/reviewboard/diffviewer/diffutils.py", line 247, in > > > > > >data = cache_memoize(key, lambda: [fetch_file(file, revision)], > > > > > File "/usr/lib/python2.4/site-packages/ReviewBoard-1.0alpha2- > > > > > py2.4.egg/reviewboard/diffviewer/diffutils.py", line 227, in > > > > > fetch_file > > > > >data = tool.get_file(file, revision) > > > > > File "/usr/lib/python2.4/site-packages/ReviewBoard-1.0alpha2- > > > > > py2.4.egg/reviewboard/scmtools/svn.py", line 115, in get_file > > > > >raise SCMError(e) > > > > > SCMError: Connection closed unexpectedly > > > > > > > Pl help me in this regard. > > > > > > > Regards, > > > > > dev > > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "reviewboard" group. To post to this group, send email to reviewboard@googlegroups.com 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 -~--~~~~--~~--~--~---
Re: Diff currently unavailable. Error: Connection closed unexpectedly
Can you pl let me know what will be my next step to attack this problem? -Dev On Feb 11, 3:50 pm, Christian Hammond wrote: > Diff generation isn't a problem. In SVN, diffs are generated locally without > talking to the server. > > Review Board needs to actually fetch each file in the diff in order to > generate a full side-by-side diff, so it talks to the SVN server before even > taking your generated diff into account. > > Christian > > -- > Christian Hammond - chip...@chipx86.com > VMware, Inc. > > On Wed, Feb 11, 2009 at 2:48 AM, Dev wrote: > > > But i can able to see the diff in the windows command line by giving -- > > output-diff command. > > It shows perfectly in command line. > > > On Feb 11, 2:25 pm, Christian Hammond wrote: > > > This sounds like an issue between your Review Board server and your SVN > > > server. Are you having any of these problems from your local box? > > > > Try a checkout from the Review Board server using the same configuration > > > specified in Review Board. See if you can duplicate it, and if you can > > get > > > any debug info from there. > > > > Christian > > > > -- > > > Christian Hammond - chip...@chipx86.com > > > VMware, Inc. > > > > On Wed, Feb 11, 2009 at 1:07 AM, Dev wrote: > > > > > Hi, > > > > > I have installed RB 1.0 and pointed webserver as apache. > > > > I am able to post the reviews perfectly.But when i try to see the diff > > > > by using 'view diff' buton,it says below error. > > > > > Diff currently unavailable. > > > > Error: Connection closed unexpectedly > > > > Details > > > > > Traceback (most recent call last): > > > > File "/usr/lib/python2.4/site-packages/ReviewBoard-1.0alpha2- > > > > py2.4.egg/reviewboard/diffviewer/views.py", line 183, in > > > > view_diff_fragment > > > > file = get_requested_diff_file() > > > > File "/usr/lib/python2.4/site-packages/ReviewBoard-1.0alpha2- > > > > py2.4.egg/reviewboard/diffviewer/views.py", line 159, in > > > > get_requested_diff_file > > > > get_chunks) > > > > File "/usr/lib/python2.4/site-packages/ReviewBoard-1.0alpha2- > > > > py2.4.egg/reviewboard/diffviewer/diffutils.py", line 613, in > > > > get_diff_files > > > > large_data=True) > > > > File "/usr/lib/python2.4/site-packages/Djblets-0.5alpha2-py2.4.egg/ > > > > djblets/util/misc.py", line 143, in cache_memoize > > > > data = lookup_callable() > > > > File "/usr/lib/python2.4/site-packages/ReviewBoard-1.0alpha2- > > > > py2.4.egg/reviewboard/diffviewer/diffutils.py", line 612, in > > > > enable_syntax_highlighting), > > > > File "/usr/lib/python2.4/site-packages/ReviewBoard-1.0alpha2- > > > > py2.4.egg/reviewboard/diffviewer/diffutils.py", line 341, in > > > > get_chunks > > > > old = get_original_file(filediff) > > > > File "/usr/lib/python2.4/site-packages/ReviewBoard-1.0alpha2- > > > > py2.4.egg/reviewboard/diffviewer/diffutils.py", line 248, in > > > > get_original_file > > > > large_data=True)[0] > > > > File "/usr/lib/python2.4/site-packages/Djblets-0.5alpha2-py2.4.egg/ > > > > djblets/util/misc.py", line 143, in cache_memoize > > > > data = lookup_callable() > > > > File "/usr/lib/python2.4/site-packages/ReviewBoard-1.0alpha2- > > > > py2.4.egg/reviewboard/diffviewer/diffutils.py", line 247, in > > > > data = cache_memoize(key, lambda: [fetch_file(file, revision)], > > > > File "/usr/lib/python2.4/site-packages/ReviewBoard-1.0alpha2- > > > > py2.4.egg/reviewboard/diffviewer/diffutils.py", line 227, in > > > > fetch_file > > > > data = tool.get_file(file, revision) > > > > File "/usr/lib/python2.4/site-packages/ReviewBoard-1.0alpha2- > > > > py2.4.egg/reviewboard/scmtools/svn.py", line 115, in get_file > > > > raise SCMError(e) > > > > SCMError: Connection closed unexpectedly > > > > > Pl help me in this regard. > > > > > Regards, > > > > dev --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "reviewboard" group. To post to this group, send email to reviewboard@googlegroups.com 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 -~--~~~~--~~--~--~---
Re: Diff currently unavailable. Error: Connection closed unexpectedly
Diff generation isn't a problem. In SVN, diffs are generated locally without talking to the server. Review Board needs to actually fetch each file in the diff in order to generate a full side-by-side diff, so it talks to the SVN server before even taking your generated diff into account. Christian -- Christian Hammond - chip...@chipx86.com VMware, Inc. On Wed, Feb 11, 2009 at 2:48 AM, Dev wrote: > > But i can able to see the diff in the windows command line by giving -- > output-diff command. > It shows perfectly in command line. > > On Feb 11, 2:25 pm, Christian Hammond wrote: > > This sounds like an issue between your Review Board server and your SVN > > server. Are you having any of these problems from your local box? > > > > Try a checkout from the Review Board server using the same configuration > > specified in Review Board. See if you can duplicate it, and if you can > get > > any debug info from there. > > > > Christian > > > > -- > > Christian Hammond - chip...@chipx86.com > > VMware, Inc. > > > > On Wed, Feb 11, 2009 at 1:07 AM, Dev wrote: > > > > > Hi, > > > > > I have installed RB 1.0 and pointed webserver as apache. > > > I am able to post the reviews perfectly.But when i try to see the diff > > > by using 'view diff' buton,it says below error. > > > > > Diff currently unavailable. > > > Error: Connection closed unexpectedly > > > Details > > > > > Traceback (most recent call last): > > > File "/usr/lib/python2.4/site-packages/ReviewBoard-1.0alpha2- > > > py2.4.egg/reviewboard/diffviewer/views.py", line 183, in > > > view_diff_fragment > > >file = get_requested_diff_file() > > > File "/usr/lib/python2.4/site-packages/ReviewBoard-1.0alpha2- > > > py2.4.egg/reviewboard/diffviewer/views.py", line 159, in > > > get_requested_diff_file > > >get_chunks) > > > File "/usr/lib/python2.4/site-packages/ReviewBoard-1.0alpha2- > > > py2.4.egg/reviewboard/diffviewer/diffutils.py", line 613, in > > > get_diff_files > > >large_data=True) > > > File "/usr/lib/python2.4/site-packages/Djblets-0.5alpha2-py2.4.egg/ > > > djblets/util/misc.py", line 143, in cache_memoize > > >data = lookup_callable() > > > File "/usr/lib/python2.4/site-packages/ReviewBoard-1.0alpha2- > > > py2.4.egg/reviewboard/diffviewer/diffutils.py", line 612, in > > >enable_syntax_highlighting), > > > File "/usr/lib/python2.4/site-packages/ReviewBoard-1.0alpha2- > > > py2.4.egg/reviewboard/diffviewer/diffutils.py", line 341, in > > > get_chunks > > >old = get_original_file(filediff) > > > File "/usr/lib/python2.4/site-packages/ReviewBoard-1.0alpha2- > > > py2.4.egg/reviewboard/diffviewer/diffutils.py", line 248, in > > > get_original_file > > >large_data=True)[0] > > > File "/usr/lib/python2.4/site-packages/Djblets-0.5alpha2-py2.4.egg/ > > > djblets/util/misc.py", line 143, in cache_memoize > > >data = lookup_callable() > > > File "/usr/lib/python2.4/site-packages/ReviewBoard-1.0alpha2- > > > py2.4.egg/reviewboard/diffviewer/diffutils.py", line 247, in > > >data = cache_memoize(key, lambda: [fetch_file(file, revision)], > > > File "/usr/lib/python2.4/site-packages/ReviewBoard-1.0alpha2- > > > py2.4.egg/reviewboard/diffviewer/diffutils.py", line 227, in > > > fetch_file > > >data = tool.get_file(file, revision) > > > File "/usr/lib/python2.4/site-packages/ReviewBoard-1.0alpha2- > > > py2.4.egg/reviewboard/scmtools/svn.py", line 115, in get_file > > >raise SCMError(e) > > > SCMError: Connection closed unexpectedly > > > > > Pl help me in this regard. > > > > > Regards, > > > dev > > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "reviewboard" group. To post to this group, send email to reviewboard@googlegroups.com 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 -~--~~~~--~~--~--~---
Re: Diff currently unavailable. Error: Connection closed unexpectedly
But i can able to see the diff in the windows command line by giving -- output-diff command. It shows perfectly in command line. On Feb 11, 2:25 pm, Christian Hammond wrote: > This sounds like an issue between your Review Board server and your SVN > server. Are you having any of these problems from your local box? > > Try a checkout from the Review Board server using the same configuration > specified in Review Board. See if you can duplicate it, and if you can get > any debug info from there. > > Christian > > -- > Christian Hammond - chip...@chipx86.com > VMware, Inc. > > On Wed, Feb 11, 2009 at 1:07 AM, Dev wrote: > > > Hi, > > > I have installed RB 1.0 and pointed webserver as apache. > > I am able to post the reviews perfectly.But when i try to see the diff > > by using 'view diff' buton,it says below error. > > > Diff currently unavailable. > > Error: Connection closed unexpectedly > > Details > > > Traceback (most recent call last): > > File "/usr/lib/python2.4/site-packages/ReviewBoard-1.0alpha2- > > py2.4.egg/reviewboard/diffviewer/views.py", line 183, in > > view_diff_fragment > > file = get_requested_diff_file() > > File "/usr/lib/python2.4/site-packages/ReviewBoard-1.0alpha2- > > py2.4.egg/reviewboard/diffviewer/views.py", line 159, in > > get_requested_diff_file > > get_chunks) > > File "/usr/lib/python2.4/site-packages/ReviewBoard-1.0alpha2- > > py2.4.egg/reviewboard/diffviewer/diffutils.py", line 613, in > > get_diff_files > > large_data=True) > > File "/usr/lib/python2.4/site-packages/Djblets-0.5alpha2-py2.4.egg/ > > djblets/util/misc.py", line 143, in cache_memoize > > data = lookup_callable() > > File "/usr/lib/python2.4/site-packages/ReviewBoard-1.0alpha2- > > py2.4.egg/reviewboard/diffviewer/diffutils.py", line 612, in > > enable_syntax_highlighting), > > File "/usr/lib/python2.4/site-packages/ReviewBoard-1.0alpha2- > > py2.4.egg/reviewboard/diffviewer/diffutils.py", line 341, in > > get_chunks > > old = get_original_file(filediff) > > File "/usr/lib/python2.4/site-packages/ReviewBoard-1.0alpha2- > > py2.4.egg/reviewboard/diffviewer/diffutils.py", line 248, in > > get_original_file > > large_data=True)[0] > > File "/usr/lib/python2.4/site-packages/Djblets-0.5alpha2-py2.4.egg/ > > djblets/util/misc.py", line 143, in cache_memoize > > data = lookup_callable() > > File "/usr/lib/python2.4/site-packages/ReviewBoard-1.0alpha2- > > py2.4.egg/reviewboard/diffviewer/diffutils.py", line 247, in > > data = cache_memoize(key, lambda: [fetch_file(file, revision)], > > File "/usr/lib/python2.4/site-packages/ReviewBoard-1.0alpha2- > > py2.4.egg/reviewboard/diffviewer/diffutils.py", line 227, in > > fetch_file > > data = tool.get_file(file, revision) > > File "/usr/lib/python2.4/site-packages/ReviewBoard-1.0alpha2- > > py2.4.egg/reviewboard/scmtools/svn.py", line 115, in get_file > > raise SCMError(e) > > SCMError: Connection closed unexpectedly > > > Pl help me in this regard. > > > Regards, > > dev --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "reviewboard" group. To post to this group, send email to reviewboard@googlegroups.com 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 -~--~~~~--~~--~--~---
Re: Diff currently unavailable. Error: Connection closed unexpectedly
This sounds like an issue between your Review Board server and your SVN server. Are you having any of these problems from your local box? Try a checkout from the Review Board server using the same configuration specified in Review Board. See if you can duplicate it, and if you can get any debug info from there. Christian -- Christian Hammond - chip...@chipx86.com VMware, Inc. On Wed, Feb 11, 2009 at 1:07 AM, Dev wrote: > > Hi, > > I have installed RB 1.0 and pointed webserver as apache. > I am able to post the reviews perfectly.But when i try to see the diff > by using 'view diff' buton,it says below error. > > > Diff currently unavailable. > Error: Connection closed unexpectedly > Details > > Traceback (most recent call last): > File "/usr/lib/python2.4/site-packages/ReviewBoard-1.0alpha2- > py2.4.egg/reviewboard/diffviewer/views.py", line 183, in > view_diff_fragment >file = get_requested_diff_file() > File "/usr/lib/python2.4/site-packages/ReviewBoard-1.0alpha2- > py2.4.egg/reviewboard/diffviewer/views.py", line 159, in > get_requested_diff_file >get_chunks) > File "/usr/lib/python2.4/site-packages/ReviewBoard-1.0alpha2- > py2.4.egg/reviewboard/diffviewer/diffutils.py", line 613, in > get_diff_files >large_data=True) > File "/usr/lib/python2.4/site-packages/Djblets-0.5alpha2-py2.4.egg/ > djblets/util/misc.py", line 143, in cache_memoize >data = lookup_callable() > File "/usr/lib/python2.4/site-packages/ReviewBoard-1.0alpha2- > py2.4.egg/reviewboard/diffviewer/diffutils.py", line 612, in >enable_syntax_highlighting), > File "/usr/lib/python2.4/site-packages/ReviewBoard-1.0alpha2- > py2.4.egg/reviewboard/diffviewer/diffutils.py", line 341, in > get_chunks >old = get_original_file(filediff) > File "/usr/lib/python2.4/site-packages/ReviewBoard-1.0alpha2- > py2.4.egg/reviewboard/diffviewer/diffutils.py", line 248, in > get_original_file >large_data=True)[0] > File "/usr/lib/python2.4/site-packages/Djblets-0.5alpha2-py2.4.egg/ > djblets/util/misc.py", line 143, in cache_memoize >data = lookup_callable() > File "/usr/lib/python2.4/site-packages/ReviewBoard-1.0alpha2- > py2.4.egg/reviewboard/diffviewer/diffutils.py", line 247, in >data = cache_memoize(key, lambda: [fetch_file(file, revision)], > File "/usr/lib/python2.4/site-packages/ReviewBoard-1.0alpha2- > py2.4.egg/reviewboard/diffviewer/diffutils.py", line 227, in > fetch_file >data = tool.get_file(file, revision) > File "/usr/lib/python2.4/site-packages/ReviewBoard-1.0alpha2- > py2.4.egg/reviewboard/scmtools/svn.py", line 115, in get_file >raise SCMError(e) > SCMError: Connection closed unexpectedly > > > > Pl help me in this regard. > > Regards, > dev > > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "reviewboard" group. To post to this group, send email to reviewboard@googlegroups.com 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 -~--~~~~--~~--~--~---
Diff currently unavailable. Error: Connection closed unexpectedly
Hi, I have installed RB 1.0 and pointed webserver as apache. I am able to post the reviews perfectly.But when i try to see the diff by using 'view diff' buton,it says below error. Diff currently unavailable. Error: Connection closed unexpectedly Details Traceback (most recent call last): File "/usr/lib/python2.4/site-packages/ReviewBoard-1.0alpha2- py2.4.egg/reviewboard/diffviewer/views.py", line 183, in view_diff_fragment file = get_requested_diff_file() File "/usr/lib/python2.4/site-packages/ReviewBoard-1.0alpha2- py2.4.egg/reviewboard/diffviewer/views.py", line 159, in get_requested_diff_file get_chunks) File "/usr/lib/python2.4/site-packages/ReviewBoard-1.0alpha2- py2.4.egg/reviewboard/diffviewer/diffutils.py", line 613, in get_diff_files large_data=True) File "/usr/lib/python2.4/site-packages/Djblets-0.5alpha2-py2.4.egg/ djblets/util/misc.py", line 143, in cache_memoize data = lookup_callable() File "/usr/lib/python2.4/site-packages/ReviewBoard-1.0alpha2- py2.4.egg/reviewboard/diffviewer/diffutils.py", line 612, in enable_syntax_highlighting), File "/usr/lib/python2.4/site-packages/ReviewBoard-1.0alpha2- py2.4.egg/reviewboard/diffviewer/diffutils.py", line 341, in get_chunks old = get_original_file(filediff) File "/usr/lib/python2.4/site-packages/ReviewBoard-1.0alpha2- py2.4.egg/reviewboard/diffviewer/diffutils.py", line 248, in get_original_file large_data=True)[0] File "/usr/lib/python2.4/site-packages/Djblets-0.5alpha2-py2.4.egg/ djblets/util/misc.py", line 143, in cache_memoize data = lookup_callable() File "/usr/lib/python2.4/site-packages/ReviewBoard-1.0alpha2- py2.4.egg/reviewboard/diffviewer/diffutils.py", line 247, in data = cache_memoize(key, lambda: [fetch_file(file, revision)], File "/usr/lib/python2.4/site-packages/ReviewBoard-1.0alpha2- py2.4.egg/reviewboard/diffviewer/diffutils.py", line 227, in fetch_file data = tool.get_file(file, revision) File "/usr/lib/python2.4/site-packages/ReviewBoard-1.0alpha2- py2.4.egg/reviewboard/scmtools/svn.py", line 115, in get_file raise SCMError(e) SCMError: Connection closed unexpectedly Pl help me in this regard. Regards, dev --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "reviewboard" group. To post to this group, send email to reviewboard@googlegroups.com 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 -~--~~~~--~~--~--~---
Re: Sometimes I get "Diff currently unavailable"
awesome!! now, I am really looking forward to alpha3 :) On Feb 6, 5:34 pm, Christian Hammond wrote: > Also fixed in last night's nightly. > > Christian > > -- > Christian Hammond - chip...@chipx86.com > VMware, Inc. > > On Fri, Feb 6, 2009 at 6:31 AM, Martin wrote: > > > Hi, > > > when viewing revision changes (rev 1-2), then I sometimes get: > > > " > > Diff currently unavailable. > > > Error: Internal error. Unable to locate file record for filediff 26908 > > " > > > However, sometimes I actually get to see the diff. I could not find > > anything helpful in regards to that in the reviewboard log file. > > Anything else I can tell you> > > > I have alpha2 installed from the release date. > > > Thanks, > > Martin --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "reviewboard" group. To post to this group, send email to reviewboard@googlegroups.com 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 -~--~~~~--~~--~--~---
Re: Sometimes I get "Diff currently unavailable"
Also fixed in last night's nightly. Christian -- Christian Hammond - chip...@chipx86.com VMware, Inc. On Fri, Feb 6, 2009 at 6:31 AM, Martin wrote: > > Hi, > > when viewing revision changes (rev 1-2), then I sometimes get: > > " > Diff currently unavailable. > > Error: Internal error. Unable to locate file record for filediff 26908 > " > > However, sometimes I actually get to see the diff. I could not find > anything helpful in regards to that in the reviewboard log file. > Anything else I can tell you> > > I have alpha2 installed from the release date. > > Thanks, > Martin > > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "reviewboard" group. To post to this group, send email to reviewboard@googlegroups.com 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 -~--~~~~--~~--~--~---
Sometimes I get "Diff currently unavailable"
Hi, when viewing revision changes (rev 1-2), then I sometimes get: " Diff currently unavailable. Error: Internal error. Unable to locate file record for filediff 26908 " However, sometimes I actually get to see the diff. I could not find anything helpful in regards to that in the reviewboard log file. Anything else I can tell you> I have alpha2 installed from the release date. Thanks, Martin --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "reviewboard" group. To post to this group, send email to reviewboard@googlegroups.com 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 -~--~~~~--~~--~--~---
Re: View Diff is broken: Diff currently unavailable.
Sounds like the Perforce SCM backend is saying it can't find the Perforce program. Do you have the "p4" binary available in the server's PATH? Regards, Chris On 3 Feb 2009, at 23:38, Cong Do wrote: > Hi Christian, > We are still trying to use post-review for P4. After running post- > review, > we get the following error when we try to view the diff. Any idea? > Posting the review was successful. > Cong. > > [Errno 2] No such file or directory > > Traceback (most recent call last): > File "/usr/lib/python2.4/site-packages/ReviewBoard-1.0alpha1- > py2.4.egg/reviewboard/diffviewer/views.py", line 86, in view_diff > files = get_diff_files(diffset, None, interdiffset, highlighting) > File "/usr/lib/python2.4/site-packages/ReviewBoard-1.0alpha1- > py2.4.egg/reviewboard/diffviewer/diffutils.py", line 660, in > get_diff_files > enable_syntax_highlighting) > File "/usr/lib/python2.4/site-packages/ReviewBoard-1.0alpha1- > py2.4.egg/reviewboard/diffviewer/diffutils.py", line 579, in > generate_files > large_data=True) > File "/usr/lib/python2.4/site-packages/Djblets-0.5alpha1-py2.4.egg/ > djblets/util/misc.py", line 142, in cache_memoize > data = lookup_callable() > File "/usr/lib/python2.4/site-packages/ReviewBoard-1.0alpha1- > py2.4.egg/reviewboard/diffviewer/diffutils.py", line 578, in > enable_syntax_highlighting), > File "/usr/lib/python2.4/site-packages/ReviewBoard-1.0alpha1- > py2.4.egg/reviewboard/diffviewer/diffutils.py", line 339, in > get_chunks > old = get_original_file(filediff) > File "/usr/lib/python2.4/site-packages/ReviewBoard-1.0alpha1- > py2.4.egg/reviewboard/diffviewer/diffutils.py", line 246, in > get_original_file > large_data=True)[0] > File "/usr/lib/python2.4/site-packages/Djblets-0.5alpha1-py2.4.egg/ > djblets/util/misc.py", line 142, in cache_memoize > data = lookup_callable() > File "/usr/lib/python2.4/site-packages/ReviewBoard-1.0alpha1- > py2.4.egg/reviewboard/diffviewer/diffutils.py", line 245, in > data = cache_memoize(key, lambda: [fetch_file(file, revision)], > File "/usr/lib/python2.4/site-packages/ReviewBoard-1.0alpha1- > py2.4.egg/reviewboard/diffviewer/diffutils.py", line 225, in > fetch_file > data = tool.get_file(file, revision) > File "/usr/lib/python2.4/site-packages/ReviewBoard-1.0alpha1- > py2.4.egg/reviewboard/scmtools/perforce.py", line 92, in get_file > p = subprocess.Popen(cmdline, stdout=subprocess.PIPE, > stderr=subprocess.PIPE) > File "/usr/lib64/python2.4/subprocess.py", line 542, in __init__ > errread, errwrite) > File "/usr/lib64/python2.4/subprocess.py", line 975, in > _execute_child > raise child_exception > OSError: [Errno 2] No such file or directory > > > From: reviewboard@googlegroups.com [mailto:reviewboard@googlegroups.com > ] On Behalf Of Christian Hammond > Sent: Tuesday, February 03, 2009 2:53 PM > To: reviewboard@googlegroups.com > Subject: Re: View Diff is broken: Diff currently unavailable. > > It wouldn't have with last night's build. I didn't update the > dependency for the new nightly. > > Do an upgrade of Djblets as well and it should work. > > Christian > > -- > Christian Hammond - chip...@chipx86.com > VMware, Inc. > > On Tue, Feb 3, 2009 at 2:43 PM, Matthew Von Bargen > wrote: > > I don't know... > > If running "sudo easy_install --upgrade ReviewBoard" upgrades Djblets > then I upgraded it. If not, then I did not. > > On Tue, Feb 3, 2009 at 2:38 PM, Christian Hammond > wrote: > > Er, yeah, key.. I'm a bit out of it today. > > > > Did you upgrade Djblets as well? > > > > Christian > > > > -- > > Christian Hammond - chip...@chipx86.com > > VMware, Inc. > > > > > > On Tue, Feb 3, 2009 at 2:35 PM, Matthew Von Bargen > > > wrote: > >> > >> Okay. Thanks. > >> > >> Did you mean: > >> > >> key += "-%s" % settings.AJAX_SERIAL > >> > >> instead of : > >> > >> str += "-%s" % settings.AJAX_SERIAL > >> > >> ? > >> > >> If I do what you say, but assign to +key+ instead of +str+, then > >> things mostly work. But I am still seeing one "Diff currently > >> unavailable." error: > >> > >> Diff currently unavailable. > >> Error: 'Settings' object has no attribute 'AJAX_SERIAL' > >> Details > >> T
RE: View Diff is broken: Diff currently unavailable.
Hi Christian, We are still trying to use post-review for P4. After running post-review, we get the following error when we try to view the diff. Any idea? Posting the review was successful. Cong. [Errno 2] No such file or directory Traceback (most recent call last): File "/usr/lib/python2.4/site-packages/ReviewBoard-1.0alpha1-py2.4.egg/review board/diffviewer/views.py", line 86, in view_diff files = get_diff_files(diffset, None, interdiffset, highlighting) File "/usr/lib/python2.4/site-packages/ReviewBoard-1.0alpha1-py2.4.egg/review board/diffviewer/diffutils.py", line 660, in get_diff_files enable_syntax_highlighting) File "/usr/lib/python2.4/site-packages/ReviewBoard-1.0alpha1-py2.4.egg/review board/diffviewer/diffutils.py", line 579, in generate_files large_data=True) File "/usr/lib/python2.4/site-packages/Djblets-0.5alpha1-py2.4.egg/djblets/ut il/misc.py", line 142, in cache_memoize data = lookup_callable() File "/usr/lib/python2.4/site-packages/ReviewBoard-1.0alpha1-py2.4.egg/review board/diffviewer/diffutils.py", line 578, in enable_syntax_highlighting), File "/usr/lib/python2.4/site-packages/ReviewBoard-1.0alpha1-py2.4.egg/review board/diffviewer/diffutils.py", line 339, in get_chunks old = get_original_file(filediff) File "/usr/lib/python2.4/site-packages/ReviewBoard-1.0alpha1-py2.4.egg/review board/diffviewer/diffutils.py", line 246, in get_original_file large_data=True)[0] File "/usr/lib/python2.4/site-packages/Djblets-0.5alpha1-py2.4.egg/djblets/ut il/misc.py", line 142, in cache_memoize data = lookup_callable() File "/usr/lib/python2.4/site-packages/ReviewBoard-1.0alpha1-py2.4.egg/review board/diffviewer/diffutils.py", line 245, in data = cache_memoize(key, lambda: [fetch_file(file, revision)], File "/usr/lib/python2.4/site-packages/ReviewBoard-1.0alpha1-py2.4.egg/review board/diffviewer/diffutils.py", line 225, in fetch_file data = tool.get_file(file, revision) File "/usr/lib/python2.4/site-packages/ReviewBoard-1.0alpha1-py2.4.egg/review board/scmtools/perforce.py", line 92, in get_file p = subprocess.Popen(cmdline, stdout=subprocess.PIPE, stderr=subprocess.PIPE) File "/usr/lib64/python2.4/subprocess.py", line 542, in __init__ errread, errwrite) File "/usr/lib64/python2.4/subprocess.py", line 975, in _execute_child raise child_exception OSError: [Errno 2] No such file or directory From: reviewboard@googlegroups.com [mailto:reviewbo...@googlegroups.com] On Behalf Of Christian Hammond Sent: Tuesday, February 03, 2009 2:53 PM To: reviewboard@googlegroups.com Subject: Re: View Diff is broken: Diff currently unavailable. It wouldn't have with last night's build. I didn't update the dependency for the new nightly. Do an upgrade of Djblets as well and it should work. Christian -- Christian Hammond - chip...@chipx86.com VMware, Inc. On Tue, Feb 3, 2009 at 2:43 PM, Matthew Von Bargen wrote: I don't know... If running "sudo easy_install --upgrade ReviewBoard" upgrades Djblets then I upgraded it. If not, then I did not. On Tue, Feb 3, 2009 at 2:38 PM, Christian Hammond wrote: > Er, yeah, key.. I'm a bit out of it today. > > Did you upgrade Djblets as well? > > Christian > > -- > Christian Hammond - chip...@chipx86.com > VMware, Inc. > > > On Tue, Feb 3, 2009 at 2:35 PM, Matthew Von Bargen > wrote: >> >> Okay. Thanks. >> >> Did you mean: >> >> key += "-%s" % settings.AJAX_SERIAL >> >> instead of : >> >> str += "-%s" % settings.AJAX_SERIAL >> >> ? >> >> If I do what you say, but assign to +key+ instead of +str+, then >> things mostly work. But I am still seeing one "Diff currently >> unavailable." error: >> >> Diff currently unavailable. >> Error: 'Settings' object has no attribute 'AJAX_SERIAL' >> Details >> Traceback (most recent call last): >> File >> "/usr/lib/python2.5/site-packages/ReviewBoard-1.0alpha2.dev_20090203-py2 .5.egg/reviewboard/diffviewer/views.py", >> line 193, in view_diff_fragment >>context, template_name)) >> File >> "/usr/lib/python2.5/site-packages/ReviewBoard-1.0alpha2.dev_20090203-py2 .5.egg/reviewboard/diffviewer/views.py", >> line 53, in build_diff_fragment >>key += "-%s" % settings.AJAX_SERIAL >> File >> "/usr/lib/python2.5/site-packages/Django-1.0.2_final-py2.5.egg/django/co nf/__init__.py", >> line 32, in __getattr__ >>return getattr(self._target, name) >> AttributeError: 'Settings' object has no
Re: View Diff is broken: Diff currently unavailable.
That fixed it. Thanks. On Tue, Feb 3, 2009 at 2:53 PM, Christian Hammond wrote: > It wouldn't have with last night's build. I didn't update the dependency for > the new nightly. > > Do an upgrade of Djblets as well and it should work. > > Christian > > -- > Christian Hammond - chip...@chipx86.com > VMware, Inc. > > > On Tue, Feb 3, 2009 at 2:43 PM, Matthew Von Bargen > wrote: >> >> I don't know... >> >> If running "sudo easy_install --upgrade ReviewBoard" upgrades Djblets >> then I upgraded it. If not, then I did not. >> >> On Tue, Feb 3, 2009 at 2:38 PM, Christian Hammond >> wrote: >> > Er, yeah, key.. I'm a bit out of it today. >> > >> > Did you upgrade Djblets as well? >> > >> > Christian >> > >> > -- >> > Christian Hammond - chip...@chipx86.com >> > VMware, Inc. >> > >> > >> > On Tue, Feb 3, 2009 at 2:35 PM, Matthew Von Bargen >> > wrote: >> >> >> >> Okay. Thanks. >> >> >> >> Did you mean: >> >> >> >> key += "-%s" % settings.AJAX_SERIAL >> >> >> >> instead of : >> >> >> >> str += "-%s" % settings.AJAX_SERIAL >> >> >> >> ? >> >> >> >> If I do what you say, but assign to +key+ instead of +str+, then >> >> things mostly work. But I am still seeing one "Diff currently >> >> unavailable." error: >> >> >> >> Diff currently unavailable. >> >> Error: 'Settings' object has no attribute 'AJAX_SERIAL' >> >> Details >> >> Traceback (most recent call last): >> >> File >> >> >> >> "/usr/lib/python2.5/site-packages/ReviewBoard-1.0alpha2.dev_20090203-py2.5.egg/reviewboard/diffviewer/views.py", >> >> line 193, in view_diff_fragment >> >>context, template_name)) >> >> File >> >> >> >> "/usr/lib/python2.5/site-packages/ReviewBoard-1.0alpha2.dev_20090203-py2.5.egg/reviewboard/diffviewer/views.py", >> >> line 53, in build_diff_fragment >> >>key += "-%s" % settings.AJAX_SERIAL >> >> File >> >> >> >> "/usr/lib/python2.5/site-packages/Django-1.0.2_final-py2.5.egg/django/conf/__init__.py", >> >> line 32, in __getattr__ >> >>return getattr(self._target, name) >> >> AttributeError: 'Settings' object has no attribute 'AJAX_SERIAL' >> >> >> >> >> >> >> >> On Tue, Feb 3, 2009 at 2:05 PM, Christian Hammond >> >> wrote: >> >> > Odd that I didn't hit that during testing... >> >> > >> >> > I've committed a fix to SVN, but you can edit >> >> > >> >> > >> >> > /usr/lib/python2.5/site-packages/ReviewBoard-1.0alpha2.dev_20090203-py2.5.egg/reviewboard/diffviewer/views.py >> >> > line 53 and change the line to: >> >> > >> >> > str += "-%s" % settings.AJAX_SERIAL >> >> > >> >> > I'm putting out the 1.0 alpha 2 release tonight, and this will be >> >> > fixed >> >> > along with it. >> >> > >> >> > Christian >> >> > >> >> > -- >> >> > Christian Hammond - chip...@chipx86.com >> >> > VMware, Inc. >> >> > >> >> > >> >> > On Tue, Feb 3, 2009 at 10:04 AM, mattvonb wrote: >> >> >> >> >> >> I recently upgraded my Review Board installation by running: >> >> >> >> >> >> sudo easy_install --upgrade ReviewBoard >> >> >> >> >> >> and >> >> >> >> >> >> sudo rb-site upgrade /path/to/my/install >> >> >> >> >> >> and now whenever I'm looking at a review and I click "View Diff" I >> >> >> get >> >> >> several of the following errors where the diffs would be: >> >> >> >> >> >> Diff currently unavailable. >> >> >> Error: cannot concatenate 'str' and 'int' objects >> >> >> >> >> >> Clicking the Details link shows me: >> >> >> >> >> >> Traceback (most recent call last): >> >> >> File "/usr/lib/python2.5/site-packages/ >> >> >> ReviewBoard-1.0alpha2.dev_20090203-py2.5.egg/reviewboard/diffviewer/ >> >> >> views.py", line 193, in view_diff_fragment >> >> >>context, template_name)) >> >> >> File "/usr/lib/python2.5/site-packages/ >> >> >> ReviewBoard-1.0alpha2.dev_20090203-py2.5.egg/reviewboard/diffviewer/ >> >> >> views.py", line 53, in build_diff_fragment >> >> >>key += '-' + settings.AJAX_SERIAL >> >> >> TypeError: cannot concatenate 'str' and 'int' objects >> >> >> >> >> >> >> >> >> What did I do wrong, and how can I fix it. Thanks. >> >> >> >> >> >> >> >> >> >> >> > >> >> > >> >> > > >> >> > >> >> >> >> >> > >> > >> > > >> > >> >> > > > > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "reviewboard" group. To post to this group, send email to reviewboard@googlegroups.com 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 -~--~~~~--~~--~--~---
Re: View Diff is broken: Diff currently unavailable.
It wouldn't have with last night's build. I didn't update the dependency for the new nightly. Do an upgrade of Djblets as well and it should work. Christian -- Christian Hammond - chip...@chipx86.com VMware, Inc. On Tue, Feb 3, 2009 at 2:43 PM, Matthew Von Bargen wrote: > > I don't know... > > If running "sudo easy_install --upgrade ReviewBoard" upgrades Djblets > then I upgraded it. If not, then I did not. > > On Tue, Feb 3, 2009 at 2:38 PM, Christian Hammond > wrote: > > Er, yeah, key.. I'm a bit out of it today. > > > > Did you upgrade Djblets as well? > > > > Christian > > > > -- > > Christian Hammond - chip...@chipx86.com > > VMware, Inc. > > > > > > On Tue, Feb 3, 2009 at 2:35 PM, Matthew Von Bargen > > wrote: > >> > >> Okay. Thanks. > >> > >> Did you mean: > >> > >> key += "-%s" % settings.AJAX_SERIAL > >> > >> instead of : > >> > >> str += "-%s" % settings.AJAX_SERIAL > >> > >> ? > >> > >> If I do what you say, but assign to +key+ instead of +str+, then > >> things mostly work. But I am still seeing one "Diff currently > >> unavailable." error: > >> > >> Diff currently unavailable. > >> Error: 'Settings' object has no attribute 'AJAX_SERIAL' > >> Details > >> Traceback (most recent call last): > >> File > >> > "/usr/lib/python2.5/site-packages/ReviewBoard-1.0alpha2.dev_20090203-py2.5.egg/reviewboard/diffviewer/views.py", > >> line 193, in view_diff_fragment > >>context, template_name)) > >> File > >> > "/usr/lib/python2.5/site-packages/ReviewBoard-1.0alpha2.dev_20090203-py2.5.egg/reviewboard/diffviewer/views.py", > >> line 53, in build_diff_fragment > >>key += "-%s" % settings.AJAX_SERIAL > >> File > >> > "/usr/lib/python2.5/site-packages/Django-1.0.2_final-py2.5.egg/django/conf/__init__.py", > >> line 32, in __getattr__ > >>return getattr(self._target, name) > >> AttributeError: 'Settings' object has no attribute 'AJAX_SERIAL' > >> > >> > >> > >> On Tue, Feb 3, 2009 at 2:05 PM, Christian Hammond > >> wrote: > >> > Odd that I didn't hit that during testing... > >> > > >> > I've committed a fix to SVN, but you can edit > >> > > >> > > /usr/lib/python2.5/site-packages/ReviewBoard-1.0alpha2.dev_20090203-py2.5.egg/reviewboard/diffviewer/views.py > >> > line 53 and change the line to: > >> > > >> > str += "-%s" % settings.AJAX_SERIAL > >> > > >> > I'm putting out the 1.0 alpha 2 release tonight, and this will be > fixed > >> > along with it. > >> > > >> > Christian > >> > > >> > -- > >> > Christian Hammond - chip...@chipx86.com > >> > VMware, Inc. > >> > > >> > > >> > On Tue, Feb 3, 2009 at 10:04 AM, mattvonb wrote: > >> >> > >> >> I recently upgraded my Review Board installation by running: > >> >> > >> >> sudo easy_install --upgrade ReviewBoard > >> >> > >> >> and > >> >> > >> >> sudo rb-site upgrade /path/to/my/install > >> >> > >> >> and now whenever I'm looking at a review and I click "View Diff" I > get > >> >> several of the following errors where the diffs would be: > >> >> > >> >> Diff currently unavailable. > >> >> Error: cannot concatenate 'str' and 'int' objects > >> >> > >> >> Clicking the Details link shows me: > >> >> > >> >> Traceback (most recent call last): > >> >> File "/usr/lib/python2.5/site-packages/ > >> >> ReviewBoard-1.0alpha2.dev_20090203-py2.5.egg/reviewboard/diffviewer/ > >> >> views.py", line 193, in view_diff_fragment > >> >>context, template_name)) > >> >> File "/usr/lib/python2.5/site-packages/ > >> >> ReviewBoard-1.0alpha2.dev_20090203-py2.5.egg/reviewboard/diffviewer/ > >> >> views.py", line 53, in build_diff_fragment > >> >>key += '-' + settings.AJAX_SERIAL > >> >> TypeError: cannot concatenate 'str' and 'int' objects > >> >> > >> >> > >> >> What did I do wrong, and how can I fix it. Thanks. > >> >> > >> >> > >> >> > >> > > >> > > >> > > > >> > > >> > >> > > > > > > > > > > > > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "reviewboard" group. To post to this group, send email to reviewboard@googlegroups.com 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 -~--~~~~--~~--~--~---
Re: View Diff is broken: Diff currently unavailable.
I don't know... If running "sudo easy_install --upgrade ReviewBoard" upgrades Djblets then I upgraded it. If not, then I did not. On Tue, Feb 3, 2009 at 2:38 PM, Christian Hammond wrote: > Er, yeah, key.. I'm a bit out of it today. > > Did you upgrade Djblets as well? > > Christian > > -- > Christian Hammond - chip...@chipx86.com > VMware, Inc. > > > On Tue, Feb 3, 2009 at 2:35 PM, Matthew Von Bargen > wrote: >> >> Okay. Thanks. >> >> Did you mean: >> >> key += "-%s" % settings.AJAX_SERIAL >> >> instead of : >> >> str += "-%s" % settings.AJAX_SERIAL >> >> ? >> >> If I do what you say, but assign to +key+ instead of +str+, then >> things mostly work. But I am still seeing one "Diff currently >> unavailable." error: >> >> Diff currently unavailable. >> Error: 'Settings' object has no attribute 'AJAX_SERIAL' >> Details >> Traceback (most recent call last): >> File >> "/usr/lib/python2.5/site-packages/ReviewBoard-1.0alpha2.dev_20090203-py2.5.egg/reviewboard/diffviewer/views.py", >> line 193, in view_diff_fragment >>context, template_name)) >> File >> "/usr/lib/python2.5/site-packages/ReviewBoard-1.0alpha2.dev_20090203-py2.5.egg/reviewboard/diffviewer/views.py", >> line 53, in build_diff_fragment >>key += "-%s" % settings.AJAX_SERIAL >> File >> "/usr/lib/python2.5/site-packages/Django-1.0.2_final-py2.5.egg/django/conf/__init__.py", >> line 32, in __getattr__ >>return getattr(self._target, name) >> AttributeError: 'Settings' object has no attribute 'AJAX_SERIAL' >> >> >> >> On Tue, Feb 3, 2009 at 2:05 PM, Christian Hammond >> wrote: >> > Odd that I didn't hit that during testing... >> > >> > I've committed a fix to SVN, but you can edit >> > >> > /usr/lib/python2.5/site-packages/ReviewBoard-1.0alpha2.dev_20090203-py2.5.egg/reviewboard/diffviewer/views.py >> > line 53 and change the line to: >> > >> > str += "-%s" % settings.AJAX_SERIAL >> > >> > I'm putting out the 1.0 alpha 2 release tonight, and this will be fixed >> > along with it. >> > >> > Christian >> > >> > -- >> > Christian Hammond - chip...@chipx86.com >> > VMware, Inc. >> > >> > >> > On Tue, Feb 3, 2009 at 10:04 AM, mattvonb wrote: >> >> >> >> I recently upgraded my Review Board installation by running: >> >> >> >> sudo easy_install --upgrade ReviewBoard >> >> >> >> and >> >> >> >> sudo rb-site upgrade /path/to/my/install >> >> >> >> and now whenever I'm looking at a review and I click "View Diff" I get >> >> several of the following errors where the diffs would be: >> >> >> >> Diff currently unavailable. >> >> Error: cannot concatenate 'str' and 'int' objects >> >> >> >> Clicking the Details link shows me: >> >> >> >> Traceback (most recent call last): >> >> File "/usr/lib/python2.5/site-packages/ >> >> ReviewBoard-1.0alpha2.dev_20090203-py2.5.egg/reviewboard/diffviewer/ >> >> views.py", line 193, in view_diff_fragment >> >>context, template_name)) >> >> File "/usr/lib/python2.5/site-packages/ >> >> ReviewBoard-1.0alpha2.dev_20090203-py2.5.egg/reviewboard/diffviewer/ >> >> views.py", line 53, in build_diff_fragment >> >>key += '-' + settings.AJAX_SERIAL >> >> TypeError: cannot concatenate 'str' and 'int' objects >> >> >> >> >> >> What did I do wrong, and how can I fix it. Thanks. >> >> >> >> >> >> >> > >> > >> > > >> > >> >> > > > > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "reviewboard" group. To post to this group, send email to reviewboard@googlegroups.com 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 -~--~~~~--~~--~--~---
Re: View Diff is broken: Diff currently unavailable.
Er, yeah, key.. I'm a bit out of it today. Did you upgrade Djblets as well? Christian -- Christian Hammond - chip...@chipx86.com VMware, Inc. On Tue, Feb 3, 2009 at 2:35 PM, Matthew Von Bargen wrote: > > Okay. Thanks. > > Did you mean: > > key += "-%s" % settings.AJAX_SERIAL > > instead of : > > str += "-%s" % settings.AJAX_SERIAL > > ? > > If I do what you say, but assign to +key+ instead of +str+, then > things mostly work. But I am still seeing one "Diff currently > unavailable." error: > > Diff currently unavailable. > Error: 'Settings' object has no attribute 'AJAX_SERIAL' > Details > Traceback (most recent call last): > File > "/usr/lib/python2.5/site-packages/ReviewBoard-1.0alpha2.dev_20090203-py2.5.egg/reviewboard/diffviewer/views.py", > line 193, in view_diff_fragment >context, template_name)) > File > "/usr/lib/python2.5/site-packages/ReviewBoard-1.0alpha2.dev_20090203-py2.5.egg/reviewboard/diffviewer/views.py", > line 53, in build_diff_fragment > key += "-%s" % settings.AJAX_SERIAL > File > "/usr/lib/python2.5/site-packages/Django-1.0.2_final-py2.5.egg/django/conf/__init__.py", > line 32, in __getattr__ >return getattr(self._target, name) > AttributeError: 'Settings' object has no attribute 'AJAX_SERIAL' > > > > On Tue, Feb 3, 2009 at 2:05 PM, Christian Hammond > wrote: > > Odd that I didn't hit that during testing... > > > > I've committed a fix to SVN, but you can edit > > > /usr/lib/python2.5/site-packages/ReviewBoard-1.0alpha2.dev_20090203-py2.5.egg/reviewboard/diffviewer/views.py > > line 53 and change the line to: > > > > str += "-%s" % settings.AJAX_SERIAL > > > > I'm putting out the 1.0 alpha 2 release tonight, and this will be fixed > > along with it. > > > > Christian > > > > -- > > Christian Hammond - chip...@chipx86.com > > VMware, Inc. > > > > > > On Tue, Feb 3, 2009 at 10:04 AM, mattvonb wrote: > >> > >> I recently upgraded my Review Board installation by running: > >> > >> sudo easy_install --upgrade ReviewBoard > >> > >> and > >> > >> sudo rb-site upgrade /path/to/my/install > >> > >> and now whenever I'm looking at a review and I click "View Diff" I get > >> several of the following errors where the diffs would be: > >> > >> Diff currently unavailable. > >> Error: cannot concatenate 'str' and 'int' objects > >> > >> Clicking the Details link shows me: > >> > >> Traceback (most recent call last): > >> File "/usr/lib/python2.5/site-packages/ > >> ReviewBoard-1.0alpha2.dev_20090203-py2.5.egg/reviewboard/diffviewer/ > >> views.py", line 193, in view_diff_fragment > >>context, template_name)) > >> File "/usr/lib/python2.5/site-packages/ > >> ReviewBoard-1.0alpha2.dev_20090203-py2.5.egg/reviewboard/diffviewer/ > >> views.py", line 53, in build_diff_fragment > >>key += '-' + settings.AJAX_SERIAL > >> TypeError: cannot concatenate 'str' and 'int' objects > >> > >> > >> What did I do wrong, and how can I fix it. Thanks. > >> > >> > >> > > > > > > > > > > > > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "reviewboard" group. To post to this group, send email to reviewboard@googlegroups.com 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 -~--~~~~--~~--~--~---
Re: View Diff is broken: Diff currently unavailable.
Okay. Thanks. Did you mean: key += "-%s" % settings.AJAX_SERIAL instead of : str += "-%s" % settings.AJAX_SERIAL ? If I do what you say, but assign to +key+ instead of +str+, then things mostly work. But I am still seeing one "Diff currently unavailable." error: Diff currently unavailable. Error: 'Settings' object has no attribute 'AJAX_SERIAL' Details Traceback (most recent call last): File "/usr/lib/python2.5/site-packages/ReviewBoard-1.0alpha2.dev_20090203-py2.5.egg/reviewboard/diffviewer/views.py", line 193, in view_diff_fragment context, template_name)) File "/usr/lib/python2.5/site-packages/ReviewBoard-1.0alpha2.dev_20090203-py2.5.egg/reviewboard/diffviewer/views.py", line 53, in build_diff_fragment key += "-%s" % settings.AJAX_SERIAL File "/usr/lib/python2.5/site-packages/Django-1.0.2_final-py2.5.egg/django/conf/__init__.py", line 32, in __getattr__ return getattr(self._target, name) AttributeError: 'Settings' object has no attribute 'AJAX_SERIAL' On Tue, Feb 3, 2009 at 2:05 PM, Christian Hammond wrote: > Odd that I didn't hit that during testing... > > I've committed a fix to SVN, but you can edit > /usr/lib/python2.5/site-packages/ReviewBoard-1.0alpha2.dev_20090203-py2.5.egg/reviewboard/diffviewer/views.py > line 53 and change the line to: > > str += "-%s" % settings.AJAX_SERIAL > > I'm putting out the 1.0 alpha 2 release tonight, and this will be fixed > along with it. > > Christian > > -- > Christian Hammond - chip...@chipx86.com > VMware, Inc. > > > On Tue, Feb 3, 2009 at 10:04 AM, mattvonb wrote: >> >> I recently upgraded my Review Board installation by running: >> >> sudo easy_install --upgrade ReviewBoard >> >> and >> >> sudo rb-site upgrade /path/to/my/install >> >> and now whenever I'm looking at a review and I click "View Diff" I get >> several of the following errors where the diffs would be: >> >> Diff currently unavailable. >> Error: cannot concatenate 'str' and 'int' objects >> >> Clicking the Details link shows me: >> >> Traceback (most recent call last): >> File "/usr/lib/python2.5/site-packages/ >> ReviewBoard-1.0alpha2.dev_20090203-py2.5.egg/reviewboard/diffviewer/ >> views.py", line 193, in view_diff_fragment >>context, template_name)) >> File "/usr/lib/python2.5/site-packages/ >> ReviewBoard-1.0alpha2.dev_20090203-py2.5.egg/reviewboard/diffviewer/ >> views.py", line 53, in build_diff_fragment >>key += '-' + settings.AJAX_SERIAL >> TypeError: cannot concatenate 'str' and 'int' objects >> >> >> What did I do wrong, and how can I fix it. Thanks. >> >> >> > > > > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "reviewboard" group. To post to this group, send email to reviewboard@googlegroups.com 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 -~--~~~~--~~--~--~---
Re: View Diff is broken: Diff currently unavailable.
Odd that I didn't hit that during testing... I've committed a fix to SVN, but you can edit /usr/lib/python2.5/site-packages/ReviewBoard-1.0alpha2.dev_20090203-py2.5.egg/reviewboard/diffviewer/views.py line 53 and change the line to: str += "-%s" % settings.AJAX_SERIAL I'm putting out the 1.0 alpha 2 release tonight, and this will be fixed along with it. Christian -- Christian Hammond - chip...@chipx86.com VMware, Inc. On Tue, Feb 3, 2009 at 10:04 AM, mattvonb wrote: > > I recently upgraded my Review Board installation by running: > > sudo easy_install --upgrade ReviewBoard > > and > > sudo rb-site upgrade /path/to/my/install > > and now whenever I'm looking at a review and I click "View Diff" I get > several of the following errors where the diffs would be: > > Diff currently unavailable. > Error: cannot concatenate 'str' and 'int' objects > > Clicking the Details link shows me: > > Traceback (most recent call last): > File "/usr/lib/python2.5/site-packages/ > ReviewBoard-1.0alpha2.dev_20090203-py2.5.egg/reviewboard/diffviewer/ > views.py", line 193, in view_diff_fragment >context, template_name)) > File "/usr/lib/python2.5/site-packages/ > ReviewBoard-1.0alpha2.dev_20090203-py2.5.egg/reviewboard/diffviewer/ > views.py", line 53, in build_diff_fragment >key += '-' + settings.AJAX_SERIAL > TypeError: cannot concatenate 'str' and 'int' objects > > > What did I do wrong, and how can I fix it. Thanks. > > > > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "reviewboard" group. To post to this group, send email to reviewboard@googlegroups.com 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 -~--~~~~--~~--~--~---
View Diff is broken: Diff currently unavailable.
I recently upgraded my Review Board installation by running: sudo easy_install --upgrade ReviewBoard and sudo rb-site upgrade /path/to/my/install and now whenever I'm looking at a review and I click "View Diff" I get several of the following errors where the diffs would be: Diff currently unavailable. Error: cannot concatenate 'str' and 'int' objects Clicking the Details link shows me: Traceback (most recent call last): File "/usr/lib/python2.5/site-packages/ ReviewBoard-1.0alpha2.dev_20090203-py2.5.egg/reviewboard/diffviewer/ views.py", line 193, in view_diff_fragment context, template_name)) File "/usr/lib/python2.5/site-packages/ ReviewBoard-1.0alpha2.dev_20090203-py2.5.egg/reviewboard/diffviewer/ views.py", line 53, in build_diff_fragment key += '-' + settings.AJAX_SERIAL TypeError: cannot concatenate 'str' and 'int' objects What did I do wrong, and how can I fix it. Thanks. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "reviewboard" group. To post to this group, send email to reviewboard@googlegroups.com 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 -~--~~~~--~~--~--~---