Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 1202 by steven.coffman: Post-review socket.gaierror: (-2, 'Name  
or service not known')

*NOTE: Do not post confidential information in this bug report.*

What version are you running?
Reviewboard 1.0 final, RBTools 0.2beta1

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

What steps will reproduce the problem?
0. cd ~
1. mkdir svn
2. cd svn
3. svn co (or whatever Svn Repo)
4. cd test
5. echo REVIEWBOARD_URL = '' >
6. post-review -d

What is the expected output?
Should submit review

What do you see instead?
>>> svn info
>>> repository info: Path:, Base
path: /, Supports changesets: False
>>> svn diff --diff-cmd=diff
>>> Looking for ' /reviews/' cookie in
>>> Couldn't load cookie file: [Errno 2] No such file or directory:
==> Review Board Login Required
Enter username and password for Review Board at
Username: gears
>>> Logging in with username "gears"
>>> HTTP POSTing to {'username':
'gears', 'password': '**************'}
Traceback (most recent call last):
   File "/usr/bin/post-review", line 5, in ?
     pkg_resources.run_script('RBTools==0.2beta1', 'post-review')
line 448, in run_script
     self.require(requires)[0].run_script(script_name, ns)
line 1173, in run_script
     exec script_code in namespace, namespace
   File "/usr/bin/post-review", line 2313, in ?

   File "/usr/bin/post-review", line 2291, in main

   File "/usr/bin/post-review", line 306, in login

   File "/usr/bin/post-review", line 569, in api_post

   File "/usr/bin/post-review", line 542, in http_post

   File "/usr/bin/post-review", line 575, in _encode_multipart_formdata

   File "/usr/lib64/python2.4/", line 130, in choose_boundary
     hostid = socket.gethostbyname(socket.gethostname())
socket.gaierror: (-2, 'Name or service not known')

What operating system are you using? What browser?
Red Hat Enterprise Linux 5.3

Please provide any additional information below.
I will provide faster responses if you email for requests
for addtiional information.

You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:

You received this message because you are subscribed to the Google Groups 
"reviewboard-issues" group.
To post to this group, send email to
To unsubscribe from this group, send email to
For more options, visit this group at

Reply via email to