My appologies.... of course it WAS what I thought it wasn't. If I have
my HTTP_PROXY environment variables set, it fails, I assume because
our companies proxy is not smart enough to know what IP's our computer
names are mapped to. If I don't export my HTTP_PROXY variables,
everything works great!

On Apr 14, 3:19 pm, rrivard <rivi...@gmail.com> wrote:
> Well, I'm back again with a new issue for post-review. This is a fresh
> install of reviewboard, but comes with some complications. Our
> department decided it would be best to run reviewboard through a
> virtual machine of Ubuntu. On top of this company proxies lead to even
> more issues. I don't actually think either of these are related, but I
> mention them for completeness.
>
> Anyways, my issue is this:
>
> post-review -d>>> svn info
> >>> repository info: Path:http://ip/repos/path, Base path: /path, Supports 
> >>> changesets: False
> >>> svn diff --diff-cmd=diff
> >>> svn info YtdEdtF4.pas
> >>> svn info YtdEdtF4.pas
> >>> svn info YtdEdtF4.pas
> >>> svn info YtdEdtF4.pas
> >>> Looking for 'site /' cookie in /home/reviewboard/.post-review-cookies.txt
> >>> Couldn't load cookie file: [Errno 2] No such file or directory: 
> >>> '/home/reviewboard/.post-review-cookies.txt'
>
> ==> Review Board Login Required
> Enter username and password for Review Board at site/
> Username: admin
> Password:>>> Logging in with username "admin"
> >>> HTTP POSTing tohttp://site.com/api/json/accounts/login/:{'username': 
> >>> 'admin', 'password': '*****************'}
>
> Traceback (most recent call last):
>   File "/usr/bin/post-review", line 5, in <module>
>     pkg_resources.run_script('RBTools==0.2beta1', 'post-review')
>   File "/usr/lib/python2.5/site-packages/pkg_resources.py", line 448,
> in run_script
>     self.require(requires)[0].run_script(script_name, ns)
>   File "/usr/lib/python2.5/site-packages/pkg_resources.py", line 1173,
> in run_script
>     exec script_code in namespace, namespace
>   File "/usr/bin/post-review", line 2313, in <module>
>
>   File "/usr/bin/post-review", line 2291, in main
>
>   File "/usr/bin/post-review", line 308, in login
>
>   File "/usr/bin/post-review", line 569, in api_post
>
>   File "/usr/bin/post-review", line 550, in http_post
>
>   File "/usr/lib/python2.5/urllib2.py", line 124, in urlopen
>     return _opener.open(url, data)
>   File "/usr/lib/python2.5/urllib2.py", line 387, in open
>     response = meth(req, response)
>   File "/usr/lib/python2.5/urllib2.py", line 498, in http_response
>     'http', request, response, code, msg, hdrs)
>   File "/usr/lib/python2.5/urllib2.py", line 419, in error
>     result = self._call_chain(*args)
>   File "/usr/lib/python2.5/urllib2.py", line 360, in _call_chain
>     result = func(*args)
>   File "/usr/lib/python2.5/urllib2.py", line 582, in http_error_302
>     return self.parent.open(new)
>   File "/usr/lib/python2.5/urllib2.py", line 381, in open
>     response = self._open(req, data)
>   File "/usr/lib/python2.5/urllib2.py", line 399, in _open
>     '_open', req)
>   File "/usr/lib/python2.5/urllib2.py", line 360, in _call_chain
>     result = func(*args)
>   File "/usr/lib/python2.5/urllib2.py", line 1107, in http_open
>     return self.do_open(httplib.HTTPConnection, req)
>   File "/usr/lib/python2.5/urllib2.py", line 1080, in do_open
>     r = h.getresponse()
>   File "/usr/lib/python2.5/httplib.py", line 928, in getresponse
>     response.begin()
>   File "/usr/lib/python2.5/httplib.py", line 385, in begin
>     version, status, reason = self._read_status()
>   File "/usr/lib/python2.5/httplib.py", line 349, in _read_status
>     raise BadStatusLine(line)
> httplib.BadStatusLine
>
> Here are the things I have installed:
> post-review 0.8
> modpython 3.3.1
> mysql 5.0.67
> apache2 2.2.9
> memcached 1.2.2
> subversion 1.5.1
> python-svn 1.6.0
> pylucene 2.3.1
> python 2.5
>
> I just installed everything today, so they're as new as they can be
> probably (except python)
>
> I am also using a .reviewboardrc file in my HOME directory
> REVIEWBOARD_URL = "http://site-name.com";
>
> I noticed a similar thread 
> here:http://groups.google.com/group/reviewboard/browse_thread/thread/b42d1...
>
> but their issue seems different than mine, and there didn't seem to be
> a solution posted anyways. Thanks for any help you can offer!
>
>  - Ryan
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To post to this group, send email to reviewboard@googlegroups.com
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to