1130: Running the post-review command on windows following log is displayed

jan****@gmai***** (Google Code) (Is this you? Claim this profile.)
July 26, 2009
What version are you running?
Sub Version : 1.5.6
Setup Tools : 0.6c9
Python : 2.5.4
Apache : 2.2.11

What steps will reproduce the problem?
1. Using the SVN command "propset", defined the Repository_URL
2. Ran the post-review command from the code base folder, following trace
is developed.


What is the expected output? What do you see instead?
Running the post review, drafts should be created and can be seen in UI sot
that the user can post the review

What operating system are you using? What browser?
Windows, Firefox

Please provide any additional information below.

Log generated:

D:\projects\subversion\project\HelloWorld>python C:\Python25\Scripts\pos
t-review
==> Review Board Login Required
Enter username and password for Review Board at http://15.213.145.12/
Username: admin
Password:
Traceback (most recent call last):

  File "C:\Python25\Scripts\post-review", line 5, in <module>
pkg_resources.run_script('RBTools==0.2beta1', 'post-review')

  File "C:\Python25\Lib\site-packages\pkg_resources.py", line 448, in
run_script

  self.require(requires)[0].run_script(script_name, ns)

  File "C:\Python25\Lib\site-packages\pkg_resources.py", line 1173, in
run_script exec script_code in namespace, namespace

  File "C:\Python25\Scripts\post-review", line 2313, in <module>

  File "C:\Python25\Scripts\post-review", line 2291, in main

  File "C:\Python25\Scripts\post-review", line 308, in login

  File "C:\Python25\Scripts\post-review", line 569, in api_post

  File "C:\Python25\Scripts\post-review", line 550, in http_post

  File "C:\Python25\lib\urllib2.py", line 124, in urlopen return
_opener.open(url, data)

  File "C:\Python25\lib\urllib2.py", line 387, in open response = meth(req,
response)

  File "C:\Python25\lib\urllib2.py", line 498, in http_response 'http',
request, response, code, msg, hdrs)

  File "C:\Python25\lib\urllib2.py", line 419, in error result =
self._call_chain(*args)

  File "C:\Python25\lib\urllib2.py", line 360, in _call_chain result =
func(*args)

  File "C:\Python25\lib\urllib2.py", line 582, in http_error_302 return
self.parent.open(new)

  File "C:\Python25\lib\urllib2.py", line 381, in open response =
self._open(req, data)

  File "C:\Python25\lib\urllib2.py", line 399, in _open '_open', req)

  File "C:\Python25\lib\urllib2.py", line 360, in _call_chain result =
func(*args)

  File "C:\Python25\lib\urllib2.py", line 1107, in http_open return
self.do_open(httplib.HTTPConnection, req)

  File "C:\Python25\lib\urllib2.py", line 1080, in do_open r = h.getresponse()

  File "C:\Python25\lib\httplib.py", line 928, in getresponse response.begin()

  File "C:\Python25\lib\httplib.py", line 385, in begin version, status,
reason = self._read_status()

  File "C:\Python25\lib\httplib.py", line 349, in _read_status raise
BadStatusLine(line) httplib.BadStatusLine
chipx86
#1 chipx86
Sounds like an issue between your system and the Review Board server. It's quite
possible that it's due to your proxy setup. Try temporarily disabling your proxy
configuration on Windows and see if it works. Also try adding the Review Board server
to your proxy exception list.

This is all going through Python's HTTP handling code, so I don't know how to disable
this or add an exception on Windows, unless it takes into consideration the Windows
exception list.
  • +NeedInfo
chipx86
#2 chipx86
Any update on this?
david
#3 david
  • -NeedInfo
    +Incomplete