It sounds like you need to specify the server name, either via the
command-line or config file.
-David
On Fri, Apr 25, 2014 at 1:00 AM, shankar KC wrote:
> Hi I am trying to run post-review to upload the review as below (-d to get
> more verbose log) :-
> post-review -d 2702125
>
> >>> RBTools 0.3.4
> >>> Home = /home/shankarkc
> >>> svn info
> >>> p4 info
> >>> repository info: Path: perforce3:1666, Base path: None, Supports
> changesets: True
> >>> HTTP GETting api/
> Traceback (most recent call last):
> File "/usr/bin/post-review", line 9, in
> load_entry_point('RBTools==0.3.4', 'console_scripts', 'post-review')()
> File "/usr/lib/python2.7/dist-packages/rbtools/postreview.py", line
> 3977, in main
> if not server.check_api_version():
> File "/usr/lib/python2.7/dist-packages/rbtools/postreview.py", line 513,
> in check_api_version
> root_resource = self.api_get('api/')
> File "/usr/lib/python2.7/dist-packages/rbtools/postreview.py", line 965,
> in api_get
> return self.process_json(self.http_get(path))
> File "/usr/lib/python2.7/dist-packages/rbtools/postreview.py", line 935,
> in http_get
> rsp = urllib2.urlopen(url).read()
> File "/usr/lib/python2.7/urllib2.py", line 127, in urlopen
> return _opener.open(url, data, timeout)
> File "/usr/lib/python2.7/urllib2.py", line 404, in open
> response = self._open(req, data)
> File "/usr/lib/python2.7/urllib2.py", line 422, in _open
> '_open', req)
> File "/usr/lib/python2.7/urllib2.py", line 382, in _call_chain
> result = func(*args)
> File "/usr/lib/python2.7/urllib2.py", line 1214, in http_open
> return self.do_open(httplib.HTTPConnection, req)
> File "/usr/lib/python2.7/urllib2.py", line 1184, in do_open
> raise URLError(err)
> urllib2.URLError:
> I am using UbutuVM and using perforce as my repository.
> I get above error. It looked like some configuration issue. Please help me
> to resolve it.
> Thanks
> Shankar KC
>
> --
> 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/d/optout.
>
--
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/d/optout.