Re: The classic "The patch to 'build.gradle' didn't apply cleanly" problem for existing files

2016-07-10 Thread Yang Yu
I used our own nginx for GitLab, and I guess that's how it messed up the API calls. I don't know how to proceed to figure out the root cause, So I reinstalled Gitlab on another server using the built-in nginx, and it works... On Sunday, July 10, 2016 at 9:46:28 AM UTC+8, Yang Yu wrote: > &

Re: Error displaying diff

2016-07-09 Thread Yang Yu
I had the same problem here: https://groups.google.com/forum/#!topic/reviewboard/e1KtVs0Se3U It looks like some issue with my gitlab configuration so it doesn't serve the rb correct content. But I'm still waiting for information from the support :) On Thursday, July 7, 2016 at 2:33:45 PM

Re: The classic "The patch to 'build.gradle' didn't apply cleanly" problem for existing files

2016-07-09 Thread Yang Yu
Hi Christian, I've tried to restart the memcached, but it didn't work either. Could you point me to where I should look into more? I tried to add new projects to rb, but all editing on the old files are still showing patch failed. Sincerely, Yang On Sunday, June 12, 2016 at 2:04:38 PM UTC+8

Re: The classic "The patch to 'build.gradle' didn't apply cleanly" problem for existing files

2016-06-11 Thread Yang Yu
I just upgraded RB to 2.5.6.1 and it still has the same problem: works only for brand new files... During the upgrade, it says "Resetting in-database caches.", so I assume there is no cache. Thanks, Yang On Sunday, June 12, 2016 at 11:37:57 AM UTC+8, Christian Hammond wrote: >

Re: The classic "The patch to 'build.gradle' didn't apply cleanly" problem for existing files

2016-06-11 Thread Yang Yu
x-EgVs1aWeEHIYnarMFIxTAVmACLcB/s1600/Screen%2BShot%2B2016-06-12%2Bat%2B10.32.28%2BAM.png> Does rb use memcached for the cached repository? I tried to flush_all in memcached and it doesn't work :( Thanks, Yang On Sunday, June 12, 2016 at 5:37:20 AM UTC+8, Christian Hammond wrote: > >

Re: The classic "The patch to 'build.gradle' didn't apply cleanly" problem for existing files

2016-06-11 Thread Yang Yu
, Yang Yu wrote: > > Hi there, > > So, we originally installed RB and GitLab on our own hosts and access them > through IP. Yesterday, we start to use domain names instead of IPs. > > 1. The GitLab repo addr changed from 111.111.*/repo to domain.com/repo > 2. I changed the repo

The classic "The patch to 'build.gradle' didn't apply cleanly" problem for existing files

2016-06-09 Thread Yang Yu
fs are attached. I'm not quite sure how rb works. Where should I go to look into next? Best regards, Yang -- 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

Re: can not set up a git repository with reviewboard

2015-09-08 Thread Tony Dubu Yang
I'm receiving this error, too, running on an Azure VM with version 2.0.19 of ReviewBoard installed. I've set the logging level for ReviewBoard to DEBUG, but all I'm getting is cache misses and 'Using reviewboard.scmtools.svn.pysvn backend for SVN' in the logs. Tried looking in the

Re: can not set up a git repository with reviewboard

2015-09-08 Thread Tony Yang
; you're going through? > > It does look like logging is enabled. What information in the logs are you > expecting to find? > > Christian > > -- > Christian Hammond - chip...@chipx86.com > Review Board - https://www.reviewboard.org > Beanbag, Inc. - https://www.beanbagin

Re: [Errno 13] Permission denied error when sending emails

2014-11-13 Thread Yang
Hello Michaela, Could you please explain more how you fixed this issue? I meet the same problem of sending emails in web2py running on Apache (CentOS). Thanks! On Tuesday, August 20, 2013 7:03:51 PM UTC+2, Michaela Newell wrote: Actually, figured out what the last bits were it was because

Re: Git repository setting

2013-05-20 Thread Yang Fan
Hi Christian, I noticed this issue was discovered last year. Have you solved the bitbucket git integration issue? Thank you! Yang. On Sunday, July 1, 2012 11:16:03 PM UTC-7, Christian Hammond wrote: You'd need to upload the private key to Review Board. Review Board needs a key it can use

ImproperlyConfigured: Error importing middleware djblets.siteconfig.middleware: cannot import name utils,

2012-08-08 Thread Yang Zhang
] [client 64.236.139.254] File /usr/lib/python2.7/dist-packages/mod_python/importer.py, line 1128, in _execute_target\nresult = object(arg), referer: https://foo.com/ [Wed Aug 08 14:48:35 2012] [error] [client 64.236.139.254] File /home/yang/.virtualenvs/oldreview/lib/python2.7/site-packages

Re: ImproperlyConfigured: Error importing middleware djblets.siteconfig.middleware: cannot import name utils,

2012-08-08 Thread Yang Zhang
as 'utils'. Do you have any modifications to Review Board or Djblets on your server? Christian -- Christian Hammond - chip...@chipx86.com Review Board - http://www.reviewboard.org VMware, Inc. - http://www.vmware.com On Wed, Aug 8, 2012 at 3:13 PM, Yang Zhang yanghates...@gmail.com wrote

Re: ImproperlyConfigured: Error importing middleware djblets.siteconfig.middleware: cannot import name utils,

2012-08-08 Thread Yang Zhang
. On Wed, Aug 8, 2012 at 3:51 PM, Yang Zhang yanghates...@gmail.com wrote: No, the only change I've made is a tweak to the client-side Javascript. Is there any way to tell where this is coming from? On Wed, Aug 8, 2012 at 3:45 PM, Christian Hammond chip...@chipx86.com wrote: The only 'utils

Re: ImproperlyConfigured: Error importing middleware djblets.siteconfig.middleware: cannot import name utils,

2012-08-08 Thread Yang Zhang
The problem seems to have gone away, and I can't tell why. On Wed, Aug 8, 2012 at 3:56 PM, Yang Zhang yanghates...@gmail.com wrote: Can't seem to track this down. The only mentions I could find are: In django: $ egrep -rI '\butils\b' ./changedescs/models.py:from django.utils.translation

Re: Went to upgrade to 1.6 and got the following:

2011-12-21 Thread Yang Zhang
20, 2011 at 9:02 PM, Yang Zhang yaa...@gmail.com wrote: After some wrangling, I'm still stranded and not quite sure how to get past this. Appreciate any help. On Friday, September 16, 2011 11:48:13 AM UTC-7, Christian Hammond wrote: Thanks for the info Joe. Glad 16.0 to 1.6.1 was more smooth

Re: Went to upgrade to 1.6 and got the following:

2011-12-20 Thread Yang Zhang
Hm, one of my prior emails seems to have been dropped. Anyway, I'd appreciate any help on this - otherwise looks like we're stranded. On Tue, Dec 20, 2011 at 8:55 PM, Yang Zhang yaa...@gmail.com wrote: For what it's worth, I'm upgrading from 1.5.1 to 1.6.3 right now and I just encountered

Re: Went to upgrade to 1.6 and got the following:

2011-12-20 Thread Yang Zhang
diffviewer_diffset(id) DEFERRABLE INITIALLY DEFERRED On Tue, Dec 20, 2011 at 9:14 PM, Yang Zhang yanghates...@gmail.com wrote: Hm, one of my prior emails seems to have been dropped.  Anyway, I'd appreciate any help on this - otherwise looks like we're stranded. On Tue, Dec 20, 2011 at 8:55 PM, Yang Zhang

Re: Went to upgrade to 1.6 and got the following:

2011-12-20 Thread Yang Zhang
/yang/.virtualenvs/review/local/lib/python2.7/site-packages/django/db/__init__.py:19: DeprecationWarning: settings.DATABASE_* is deprecated; use settings.DATABASES instead. DeprecationWarning /home/yang/.virtualenvs/review/local/lib/python2.7/site-packages/django/db/__init__.py:60

Re: Went to upgrade to 1.6 and got the following:

2011-12-20 Thread Yang Zhang
After some wrangling, I'm still stranded and not quite sure how to get past this. Appreciate any help. On Friday, September 16, 2011 11:48:13 AM UTC-7, Christian Hammond wrote: Thanks for the info Joe. Glad 16.0 to 1.6.1 was more smooth. I'm not sure what caused the problems with the upgrade

Re: Help with git configuration

2010-08-12 Thread Yang Zhang
, diff_content=diff, parent_diff_content=None, submit_as=author)) except: pass else: print buf.stdout.getvalue().replace('http://localhost', 'https://dev.example.com') On Tue, Aug 10, 2010 at 10:06 AM, Dan Savilonis d...@n-cube.org wrote: Hi Yang

Handling non-linear DVCS histories (git)

2010-08-09 Thread Yang Zhang
I'm using reviewboard with git projects, and I'm interested in hearing how other folks are handling non-linear DVCS histories. Each commit may have one or two parents - for those with two, how does one generate a patch from that (if you do at all)? Thanks. -- Yang Zhang http://yz.mit.edu

Email integration

2010-08-09 Thread Yang Zhang
Any plans for building fuller email integration, so that folks can reply to reviews from email and have discussions without needing to go back to the website? -- Yang Zhang http://yz.mit.edu/ -- Want to help the Review Board project? Donate today at http://www.reviewboard.org/donate/ Happy user

Script based on rbtools.postreview gets upload error The diff file is empty

2010-08-06 Thread Yang Zhang
Attempting to set field 'target_people' to 'yang' for review request '31' HTTP POSTing to http://localhost/review/api/json/reviewrequests/31/draft/set/: {'target_people': 'yang'} Uploading diff, size: 1238 HTTP POSTing to http://localhost/review/api/json/reviewrequests/31/diff/new/: {} Got

Re: Script based on rbtools.postreview gets upload error The diff file is empty

2010-08-06 Thread Yang Zhang
Problem was that I generated an invalid diff. Should instead be using something like: cmd = 'git diff-tree -p --full-index'.split() On Fri, Aug 6, 2010 at 7:39 PM, Yang Zhang yanghates...@gmail.com wrote: I'm trying to hack up the below script as a post-receive git hook, but the upload