Just want to report back that the issue was due to GIT v1.7.1 does not support the option "-c", which is supported in the later version. Once we have upgraded to a newer version of GIT. Everything works fine.
Thanks, Norman On Monday, April 13, 2015 at 1:51:40 PM UTC-4, Norman Lo wrote: > > Hello, > > We had installed an older version of RBTools (0.6.x) previously and > everything works fine. Recently we need to have the ability to exclude > certain types of files in the review and I believe that option was added in > 0.7.x version and so we decided to upgrade to 0.7.2 version using: > > easy_install -U RBTools > > The updating was successful. However, when I try to create a review using > the same command, I get the error: > > TypeError: object of type 'NoneType' has no len() > > I saw in another post here that another user is getting the same error > message but it looks like it was caused by a different issue. So I decided > to open up another topic. Please forgive me if it was actually the same > problem. > > The GIT version we are using is 1.7.1. > > Below is the output I get when I try to post something (with debug turned > on) > > Thank you very much for any help. > > Best regards, > > Norman > > rbt post --debug --parent=origin/master > >>> RBTools 0.7.2 > >>> Python 2.6.6 (r266:84292, Jan 22 2014, 09:42:36) > [GCC 4.4.7 20120313 (Red Hat 4.4.7-4)] > >>> Running on Linux-2.6.32-504.8.1.el6.x86_64-x86_64-with-centos-6.6-Final > >>> Home = /root > >>> Current directory = /var/foobarDev/Project > >>> Checking for a Subversion repository... > >>> Running: svn info --non-interactive > >>> Command exited with rc 1: ['svn', 'info', '--non-interactive'] > svn: '.' is not a working copy > --- > >>> Checking for a Git repository... > >>> Running: git rev-parse --git-dir > >>> Running: git config core.bare > >>> Running: git rev-parse --show-toplevel > >>> Running: git symbolic-ref -q HEAD > >>> Running: git config --get branch.dev.merge > >>> Running: git config --get branch.dev.remote > >>> Running: git config --get remote.origin.url > >>> repository info: Path: ssh://CompanyRepoServer/home/repos/Project.git, > Base path: , Supports changesets: False > >>> Making HTTP GET request to http://rb/api/ > >>> Making HTTP GET request to http://rb/api/info/ > >>> Running: git rev-parse refs/heads/dev > >>> Running: git merge-base b9af7893b171621368fe677b4b1a19a99bb3a134 > origin/dev > >>> Running: git rev-parse b9af7893b171621368fe677b4b1a19a99bb3a134 > >>> Running: git rev-parse origin/master > >>> Running: git status --porcelain --untracked-files=no > >>> Running: git rev-parse --git-dir > >>> Running: git -c core.quotepath=false -c diff.noprefix=false diff > --no-color --full-index --ignore-submodules -M --no-ext-diff > 4a7887ce23b98b3f223ccc584207d1eb1cf1beba..b9af7893b171621368fe677b4b1a19a99bb3a134 > >>> Command exited with rc 129: ['git', '-c', 'core.quotepath=false', > '-c', 'diff.noprefix=false', 'diff', '--no-color', '--full-index', > '--ignore-submodules', '-M', '--no-ext-diff', > u'4a7887ce23b98b3f223ccc584207d1eb1cf1beba..b9af7893b171621368fe677b4b1a19a99bb3a134'] > []--- > Traceback (most recent call last): > File "/usr/bin/rbt", line 9, in <module> > load_entry_point('RBTools==0.7.2', 'console_scripts', 'rbt')() > File > "/usr/lib/python2.6/site-packages/RBTools-0.7.2-py2.6.egg/rbtools/commands/main.py", > > line 133, in main > command.run_from_argv([RB_MAIN, command_name] + args) > File > "/usr/lib/python2.6/site-packages/RBTools-0.7.2-py2.6.egg/rbtools/commands/__init__.py", > > line 555, in run_from_argv > exit_code = self.main(*args) or 0 > File > "/usr/lib/python2.6/site-packages/RBTools-0.7.2-py2.6.egg/rbtools/commands/post.py", > > line 639, in main > extra_args=extra_args) > File > "/usr/lib/python2.6/site-packages/RBTools-0.7.2-py2.6.egg/rbtools/clients/git.py", > > line 448, in diff > exclude_patterns) > File > "/usr/lib/python2.6/site-packages/RBTools-0.7.2-py2.6.egg/rbtools/clients/git.py", > > line 552, in make_diff > results_unicode=False) > File > "/usr/lib/python2.6/site-packages/RBTools-0.7.2-py2.6.egg/rbtools/utils/process.py", > > line 102, in execute > if split_lines and len(data) > 0: > TypeError: object of type 'NoneType' has no len() > > > -- 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.