2701: No supported repository could be accessed at the supplied url

cn.b*****@gmai***** (Google Code) (Is this you? Claim this profile.)
Dec. 24, 2012
What version are you running?
version is 1.6.4

What's the URL of the page containing the problem?

My repository: https://192.168.1.2/svn/develop
Reveiwboard_url: http://192.168.1.8/review/


What steps will reproduce the problem?
when run "post-review -p --repository-url https://192.168.1.2/svn/devleop .....", it will report "No supported repository could be accessed at the supplied url".

The repository url is the same with reviewboard site.


What is the expected output? What do you see instead?


What operating system are you using? What browser?

My os is windows7.

Please provide any additional information below.
#1 judy****@hotma****** (Google Code) (Is this you? Claim this profile.)
I have encountered the same problem as you. 
The cause of the problem: 
1. Not install subversion command line client;
or 
2. Have installed  subversion command line client, but not setted environment variable in path.
#2 cn.b*****@gmai***** (Google Code) (Is this you? Claim this profile.)
Thanks for your replay, but i can run #svn --help in console, and of course i have setted environment variable in Path.

This command run sccess in console, but it failed run by svn hooks.

please help.
david
#3 david
Can you add --debug to your hooks and log the output?
  • +NeedInfo
#4 cn.b*****@gmai***** (Google Code) (Is this you? Claim this profile.)
the output log with --debug is :
#RBTools 0.4.1
#Home = C:\users\administrators\AppData\Roaming
#No supported repository could be accessed at the supplied url

Thanks
david
#5 david
That doesn't look like the output from post-review --debug...
#6 cn.b*****@gmai***** (Google Code) (Is this you? Claim this profile.)
i execute this cmd: "post-review -p -d --repository-url https://192.168.1.2/svn/devleop .....", and comment4 is all output.


thanks
david
#7 david
devleop?
#8 cn.b*****@gmai***** (Google Code) (Is this you? Claim this profile.)
‘-d’--->"--debug",
https://xxx/svn/develop---->svn repository.

in svn postcommit hooks, i deploy an python script to get some svn info, and run this commnd.

If if executes this cmd in console, it done well.

thanks.
#9 cppp****@gmai***** (Google Code) (Is this you? Claim this profile.)
Having the same issue. This is what i get, if i redirect the output to a file

>>> RBTools 0.4.1
>>> Home =
No supported repository could be accessed at the supplied url.

['/svnroot/post-review/post-review', '--repository-url=https://salxsource01/', '--username=foo', '--password=bar', '-p', '--submit-as=xyz', '--revision-range=221895:221896', '/WAMAS/trunk/llr', '--server=http://saenreview01', '--review-request-id=9', '--branch=HEAD', '-d']

Executing the same stuff from console works fine (I have a script preparing everything)

/svnroot/post-review/post-review', '--repository-url=https://salxsource01/', '--username=foo', '--password=bar', '-p', '--submit-as=xyz', '--revision-range=221895:221896', '/WAMAS/trunk/llr', '--server=http://saenreview01', '--review-request-id=9', '--branch=HEAD', '-d']
>>> RBTools 0.4.1
>>> Home = /svnroot
>>> HTTP GETting api/
>>> HTTP GETting http://saenreview01/api/info/
>>> Using the new web API
>>> HTTP GETting http://saenreview01/api/review-requests/9/
>>> Attempting to set field 'branch' to 'HEAD' for review request '9'
>>> HTTP PUTting to http://saenreview01/api/review-requests/9/draft/: {'branch': 'HEAD'}
>>> HTTP GETting http://saenreview01/api/repositories/
>>> HTTP GETting http://saenreview01/api/repositories/1/
>>> HTTP GETting http://saenreview01/api/repositories/1/info/
>>> Uploading diff, size: 496
>>> HTTP POSTing to http://saenreview01/api/review-requests/9/diffs/: {'basedir': '/WAMAS/trunk/llr'}
>>> Publishing
>>> HTTP PUTting to http://saenreview01/api/review-requests/9/draft/: {'public': 1}
Review request #9 posted.

http://saenreview01/r/9/
chipx86
#10 chipx86
Can you upgrade to 0.4.2 and check the logs again? We added a lot more useful debugging information in 0.4.2.
david
#11 david
  • -NeedInfo
    +Incomplete