Removing last “;” fixed most ‘diff unavailbale’, so far so good, except I still had one file named ‘index.html’ failed to diff. I didn’t find any ‘fetching file from’ string in reviewboard.log
-- Qi LUO Sent with Sparrow (http://www.sparrowmailapp.com/?sig) On Thursday, 22 August, 2013 at 3:33 AM, Christian Hammond wrote: > 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 (mailto: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 <qilu...@gmail.com > (mailto:qilu...@gmail.com)> 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 > > > (mailto:g...@git.xxx.com):cordova-plugin-weibo.git --non-interactive > > > DEBUG:root:Command exited with rc 1: ['svn', 'info', 'g...@git.xxx.com > > > (mailto: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 > > > (http://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 > > > (mailto: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 > > > >>> (mailto: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 > > > >>> (mailto: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/: {} > > > 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=<filename>;h=<revision>; > > > > 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.