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 

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 

Thank you very much for any help.

Best regards,


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 
>>> 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 
>>> 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', 
Traceback (most recent call last):
  File "/usr/bin/rbt", line 9, in <module>
    load_entry_point('RBTools==0.7.2', 'console_scripts', 'rbt')()
line 133, in main
    command.run_from_argv([RB_MAIN, command_name] + args)
line 555, in run_from_argv
    exit_code = self.main(*args) or 0
line 639, in main
line 448, in diff
line 552, in make_diff
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: 
Want us to host Review Board for you? Check out RBCommons: 
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.

Reply via email to