you need use rbt setup-repo command firstly to tell rbt some infomation, 
like that RB URL, RB login name and password, and repository address.
you also can add additional option command to rbt post command, like: rbt 
post --server=http://x.x.x.x --username=xxxx --password=xxxxx

在 2017年8月22日星期二 UTC+8上午12:17:01,איליה קו写道:
>
> Hello, friends. 
>
> I'm not able to post review request, due to unknown host exception. Where 
> can I update the value of this host? 
>
> C:\rest>rbt post --debug 2335858
> >>> RBTools 0.6
> >>> Python 2.7 (r27:82525, Jul  4 2010, 09:01:59) [MSC v.1500 32 bit (
> Intel)]
> >>> Running on Windows-7-6.1.7601-SP1
> >>> Home = C:\Users\<removed>\AppData\Roaming
> >>> Current directory = C:\rest
> >>> Checking for a Subversion repository...
> >>> Unable to execute "svn help": skipping SVN
> >>> Checking for a Git repository...
> >>> Unable to execute "git --help" or "git.cmd --help": skipping Git
> >>> Checking for a Mercurial repository...
> >>> Unable to execute "hg --help": skipping Mercurial
> >>> Checking for a CVS repository...
> >>> Unable to execute "cvs": skipping CVS
> >>> Checking for a Perforce repository...
> >>> Running: p4 info
> >>> Running: diff --version
> >>> repository info: Path: <removed>:1666, Base path: None, Supports 
> changesets: True
> >>> Running: p4 counters
> >>> Making HTTP GET request to http://<removed_host>/api/
> >>> Got HTTP error: 504: <HEAD><TITLE>Unknown Host</TITLE></HEAD>
> <BODY BGCOLOR="white" FGCOLOR="black"><H1>Unknown Host</H1><HR>
> <FONT FACE="Helvetica,Arial"><B>
> Description: Unable to locate the server named "<em><removed_host></em>" 
> --- the server does not have a DNS entry.  Perhaps there is a misspelling 
> in the server name, or the server no longer exists.  Double-check the name 
> and try again.</B></FONT>
> <HR>
> <!-- default "Unknown Host" response (504) -->
> </BODY>
>
>
> Traceback (most recent call last):
>   File "C:\Python27\Scripts\rbt-script.py", line 9, in <module>
>     load_entry_point('RBTools==0.6', 'console_scripts', 'rbt')()
>   File "C:\Python27\lib\site-packages\rbtools-0.6-py2.7.egg\rbtools\
> commands\main.py", line 134, in main
>     command.run_from_argv([RB_MAIN, command_name] + args)
>   File "C:\Python27\lib\site-packages\rbtools-0.6-py2.7.egg\rbtools\
> commands\__init__.py", line 422, in run_from_argv
>     exit_code = self.main(*args) or 0
>   File "C:\Python27\lib\site-packages\rbtools-0.6-py2.7.egg\rbtools\
> commands\post.py", line 697, in main
>     api_client, api_root = self.get_api(server_url)
>   File "C:\Python27\lib\site-packages\rbtools-0.6-py2.7.egg\rbtools\
> commands\__init__.py", line 568, in get_api
>     raise CommandError("Unexpected API Error: %s" % e)
> rbtools.commands.CommandError: Unexpected API Error: HTTP 504
>
>

-- 
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to