Re: TFS Git problem

2016-04-27 Thread Andreas Jaeger
No luck... :(

Error message on client side is the same as above, here's some info from 
server side:

2016-04-27 12:10:45,709 - ERROR -  - Unexpected error when validating diff.
Traceback (most recent call last):
  File 
"/opt/reviewboard/dist/lib/python2.7/site-packages/reviewboard/webapi/resources/validate_diff.py",
 
line 156, in create
save=False)
  File 
"/opt/reviewboard/dist/lib/python2.7/site-packages/reviewboard/diffviewer/managers.py",
 
line 417, in create_from_upload
save=save)
  File 
"/opt/reviewboard/dist/lib/python2.7/site-packages/reviewboard/diffviewer/managers.py",
 
line 441, in create_from_data
check_existence=(not parent_diff_file_contents)))
  File 
"/opt/reviewboard/dist/lib/python2.7/site-packages/reviewboard/diffviewer/managers.py",
 
line 584, in _process_files
request=request))):
  File 
"/opt/reviewboard/dist/lib/python2.7/site-packages/reviewboard/scmtools/models.py",
 
line 378, in get_file_exists
base_commit_id, request)
  File 
"/opt/reviewboard/dist/lib/python2.7/site-packages/reviewboard/scmtools/models.py",
 
line 603, in _get_file_exists_uncached
base_commit_id=base_commit_id)
  File 
"/opt/reviewboard/dist/lib/python2.7/site-packages/reviewboard/scmtools/core.py",
 
line 167, in file_exists
self.get_file(path, revision, base_commit_id=base_commit_id)
  File "build/bdist.macosx-10.6-intel/egg/rbpowerpack/scmtools/base.py", 
line 114, in _call
TypeError: get_file() got an unexpected keyword argument 'base_commit_id'

-- 
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.


Re: TFS Git problem

2016-04-27 Thread Andreas Jaeger
Great to hear!


On Tuesday, April 26, 2016 at 8:12:51 PM UTC+2, Christian Hammond wrote:
>
> Hi Andreas,
>
> We have a new build of Power Pack coming out later today that's going to 
> fix this (amongst other bugs). It will be Power Pack 1.4.1.
>
> Christian
>
> -- 
> Christian Hammond
> President/CEO of Beanbag 
> Makers of Review Board 
>
> On Tue, Apr 26, 2016 at 8:13 AM, Andreas Jaeger  > wrote:
>
>> We are currently evaluation Review Board 2.5.3 with Power Pack (Team 
>> Foundation Server support). TFS Git repository configuration seemed easy 
>> enough, however we cannot create review requests for *changed *files 
>> because of diff problems (we *can* rbt post a review request including 
>> only a *new* file):
>>
>> Unexpected error when validating the diff: get_file() got an unexpected 
>> keyword argument 'base_commit_id' (HTTP 400, API Error 224)
>>
>> Review Board 2.5.3
>> Team Foundation Server 2015
>> TFS Git repository on a *remote *machine (is this a problem?)
>>
>> Full output of rbt post -d as follows:
>>
>> C:\Git\xx>rbt post -d
>> >>> RBTools 0.7.6
>> >>> Python 2.7.11 (v2.7.11:6d1b6a68f775, Dec  5 2015, 20:32:19) [MSC 
>> v.1500 32 bit (Intel)]
>> >>> Running on Windows-2008ServerR2-6.1.7601-SP1
>> >>> Home = c:\Users\jaeger
>> >>> Current directory = C:\Git\xx
>> >>> Checking for a Subversion repository...
>> >>> Unable to execute "svn help": skipping SVN
>> >>> 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.develop.merge
>> >>> Running: git config --get branch.develop.remote
>> >>> Running: git config --get remote.origin.url
>> >>> repository info: Path: 
>> http://xx:8080/tfs/DefaultCollection/_git/xx, Base 
>> path: , Supports changesets: False 
>> >>> Making HTTP GET request to https://reviewboard/api/
>> >>> Running: git rev-parse refs/heads/develop
>> >>> Running: git merge-base bab305eec3a08315b425ddf6da8d60fe23449f02 
>> origin/develop
>> >>> Running: git rev-parse 7a5d9468ca02fadbf84056ab832e65fdf116b1c6
>> >>> Running: git status --porcelain --untracked-files=no
>> >>> Running: git rev-parse --git-dir
>> >>> Running: git version
>> >>> Running: git -c core.quotepath=false -c diff.noprefix=false diff 
>> --no-color --full-index --ignore-submodules -M --no-ext-diff 
>> 7a5d9468ca02fadbf84056ab832e65fdf116b1c6..bab305eec3a08315b425ddf6da8d60fe23449f02
>> >>> Making HTTP GET request to https://reviewboard/api/validation/diffs/
>> >>> Cached response for HTTP GET 
>> https://reviewboard/api/validation/diffs/ expired and was modified
>> >>> Making HTTP POST request to https://reviewboard/api/validation/diffs/
>> >>> Got API Error 224 (HTTP code 400): Unexpected error when validating 
>> the diff: get_file() got an unexpected keyword argument 'b ase_commit_id'
>> >>> Error data: {u'stat': u'fail', u'err': {u'msg': u"Unexpected error 
>> when validating the diff: get_file() got an unexpected keyw ord argument 
>> 'base_commit_id'", u'code': 224}}
>> Traceback (most recent call last):
>>   File "c:\python27\lib\runpy.py", line 162, in _run_module_as_main
>> "__main__", fname, loader, pkg_name)
>>   File "c:\python27\lib\runpy.py", line 72, in _run_code
>> exec code in run_globals
>>   File "C:\Python27\Scripts\rbt.exe\__main__.py", line 9, in 
>>   File "c:\python27\lib\site-packages\rbtools\commands\main.py", line 
>> 133, in main
>> command.run_from_argv([RB_MAIN, command_name] + args)
>>   File "c:\python27\lib\site-packages\rbtools\commands\__init__.py", line 
>> 629, in run_from_argv
>> exit_code = self.main(*args) or 0
>>   File "c:\python27\lib\site-packages\rbtools\commands\post.py", line 
>> 756, in main
>> (msg_prefix, e))
>> rbtools.commands.CommandError: Error validating diff
>>
>> Unexpected error when validating the diff: get_file() got an unexpected 
>> keyword argument 'base_commit_id' (HTTP 400, API Error 224 )
>>
>> -- 
>> 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...@googlegroups.com .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
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 

Re: TFS Git problem

2016-04-26 Thread Christian Hammond
Hi Andreas,

We have a new build of Power Pack coming out later today that's going to
fix this (amongst other bugs). It will be Power Pack 1.4.1.

Christian

-- 
Christian Hammond
President/CEO of Beanbag 
Makers of Review Board 

On Tue, Apr 26, 2016 at 8:13 AM, Andreas Jaeger 
wrote:

> We are currently evaluation Review Board 2.5.3 with Power Pack (Team
> Foundation Server support). TFS Git repository configuration seemed easy
> enough, however we cannot create review requests for *changed *files
> because of diff problems (we *can* rbt post a review request including
> only a *new* file):
>
> Unexpected error when validating the diff: get_file() got an unexpected
> keyword argument 'base_commit_id' (HTTP 400, API Error 224)
>
> Review Board 2.5.3
> Team Foundation Server 2015
> TFS Git repository on a *remote *machine (is this a problem?)
>
> Full output of rbt post -d as follows:
>
> C:\Git\xx>rbt post -d
> >>> RBTools 0.7.6
> >>> Python 2.7.11 (v2.7.11:6d1b6a68f775, Dec  5 2015, 20:32:19) [MSC
> v.1500 32 bit (Intel)]
> >>> Running on Windows-2008ServerR2-6.1.7601-SP1
> >>> Home = c:\Users\jaeger
> >>> Current directory = C:\Git\xx
> >>> Checking for a Subversion repository...
> >>> Unable to execute "svn help": skipping SVN
> >>> 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.develop.merge
> >>> Running: git config --get branch.develop.remote
> >>> Running: git config --get remote.origin.url
> >>> repository info: Path:
> http://xx:8080/tfs/DefaultCollection/_git/xx, Base
> path: , Supports changesets: False
> >>> Making HTTP GET request to https://reviewboard/api/
> >>> Running: git rev-parse refs/heads/develop
> >>> Running: git merge-base bab305eec3a08315b425ddf6da8d60fe23449f02
> origin/develop
> >>> Running: git rev-parse 7a5d9468ca02fadbf84056ab832e65fdf116b1c6
> >>> Running: git status --porcelain --untracked-files=no
> >>> Running: git rev-parse --git-dir
> >>> Running: git version
> >>> Running: git -c core.quotepath=false -c diff.noprefix=false diff
> --no-color --full-index --ignore-submodules -M --no-ext-diff
> 7a5d9468ca02fadbf84056ab832e65fdf116b1c6..bab305eec3a08315b425ddf6da8d60fe23449f02
> >>> Making HTTP GET request to https://reviewboard/api/validation/diffs/
> >>> Cached response for HTTP GET https://reviewboard/api/validation/diffs/
> expired and was modified
> >>> Making HTTP POST request to https://reviewboard/api/validation/diffs/
> >>> Got API Error 224 (HTTP code 400): Unexpected error when validating
> the diff: get_file() got an unexpected keyword argument 'b ase_commit_id'
> >>> Error data: {u'stat': u'fail', u'err': {u'msg': u"Unexpected error
> when validating the diff: get_file() got an unexpected keyw ord argument
> 'base_commit_id'", u'code': 224}}
> Traceback (most recent call last):
>   File "c:\python27\lib\runpy.py", line 162, in _run_module_as_main
> "__main__", fname, loader, pkg_name)
>   File "c:\python27\lib\runpy.py", line 72, in _run_code
> exec code in run_globals
>   File "C:\Python27\Scripts\rbt.exe\__main__.py", line 9, in 
>   File "c:\python27\lib\site-packages\rbtools\commands\main.py", line 133,
> in main
> command.run_from_argv([RB_MAIN, command_name] + args)
>   File "c:\python27\lib\site-packages\rbtools\commands\__init__.py", line
> 629, in run_from_argv
> exit_code = self.main(*args) or 0
>   File "c:\python27\lib\site-packages\rbtools\commands\post.py", line 756,
> in main
> (msg_prefix, e))
> rbtools.commands.CommandError: Error validating diff
>
> Unexpected error when validating the diff: get_file() got an unexpected
> keyword argument 'base_commit_id' (HTTP 400, API Error 224 )
>
> --
> 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.
>

-- 
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.