Hi,

I recently installed RB on a Ubuntu server to evaluate it in our company. I 
finally managed to get it all in place. I am however running into problems 
when trying to use RBTools from my local windows machine. After spending 
quite some time trying to find people reporting similar problems (
https://groups.google.com/forum/#!msg/reviewboard/ofD4AOsuI_U/-g0xZH4GWEcJ 
coming 
closest) and still not getting it to work I finally turn to the group. 

*Local setup:*
*Python 2.7.6*
*RBTools 0.5.2*
*git version 1.8.4.msysgit.0*


(sections in yellow are something completely different)

$ rbt diff -d --tracking-branch=origin/releases/3.4.x
DEBUG:root:Checking for a Subversion repository...
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.releases/3.4.x.merge
DEBUG:root:Running: git config --get branch.releases/3.4.x.remote
DEBUG:root:Running: git config --get remote.origin.url
DEBUG:root:repository info: Path: g...@git.example.com:projectname.git, Base 
path: , Supports changesets: False
DEBUG:root:Making HTTP GET request to http://<rb-server>/api/
DEBUG:root:Making HTTP GET request to http://<rb-server>/api/info/
DEBUG:root:Running: git merge-base origin/releases/3.4.x 
refs/heads/releases/3.4.x
DEBUG:root:Running: git diff --no-color --full-index --no-ext-diff 
--ignore-submodules --no-renames 
012c3fec8c4858c601e7c8e20f080995e84af0fc..refs/heads/releases/3.4.x -M
Traceback (most recent call last):
  File "c:\Python27\Scripts\rbt-script.py", line 9, in <module>
    load_entry_point('RBTools==0.5.2', 'console_scripts', 'rbt')()
  File 
"C:\Python27\lib\site-packages\rbtools-0.5.2-py2.7.egg\rbtools\commands\main.py",
 
line 106, in main
  File 
"C:\Python27\lib\site-packages\rbtools-0.5.2-py2.7.egg\rbtools\commands\__init__.py",
 
line 157, in run_from_argv
  File 
"C:\Python27\lib\site-packages\rbtools-0.5.2-py2.7.egg\rbtools\commands\diff.py",
 
line 95, in main
ValueError: too many values to unpack


Running the same git diff as rbt prints gives me the following (looks OK I 
think!):

$ git diff --no-color --full-index --no-ext-diff --ignore-submodules 
--no-renames 
012c3fec8c4858c601e7c8e20f080995e84af0fc..refs/heads/releases/3.4.x -M
diff --git a/the/modified/file
index 
71e5b2ca94dd53c8faf6ecd97200bf4e74e35a99..b04b2a200dd5d60b103a9717872934e6
--- a/the/modified/file
+++ b/the/modified/file
@@ -1,5 +1,5 @@
 #
-# Database
+# Database EDIT
 #
 hibernate.connection.dialect=org.hibernate.dialect.PostgreSQLDialect
 hibernate.connection.driverclass=org.postgresql.Driver



Let me know if you need any more information. Thanks in advance!


Kind regards,

/Thomas

-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://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/groups/opt_out.

Reply via email to