Re: On Windows getting an error referencing macox.10.8

21 views
Skip to first unread message

Christian Hammond

unread,
May 17, 2013, 2:48:26 PM5/17/13
to revie...@googlegroups.com
Hi James,

That "macosx" bit is likely just due to me building the Python eggs on my Mac.

What you have is a separate problem. Your server is giving you an Unauthorized response, but for some reason, Python's retry function for this is failing to return an object we can use to make any decisions. Very odd. Haven't seen that one before.

Can you run with --debug and paste the results?

Christian

--
Christian Hammond - chi...@chipx86.com
Review Board - http://www.reviewboard.org


On Fri, May 17, 2013 at 10:13 AM, James Gale <jpg...@gmail.com> wrote:
When trying to post a review on windows I am getting the following stack trace.  This is a windows vista 64 bit machine.

==> HTTP Authentication Required
Enter authorization information for "Web API" at nfsrevbrd01.eng.yousendit.com
Password:
Traceback (most recent call last):
  File "C:\Python27\Scripts\post-review-script.py", line 8, in <module>
    load_entry_point('RBTools==0.5', 'console_scripts', 'post-review')()
  File "build/bdist.macosx-10.8-intel/egg/rbtools/postreview.py", line 1280, in
main
  File "build/bdist.macosx-10.8-intel/egg/rbtools/postreview.py", line 266, in l
oad_capabilities
  File "build/bdist.macosx-10.8-intel/egg/rbtools/postreview.py", line 698, in a
pi_get
  File "build/bdist.macosx-10.8-intel/egg/rbtools/postreview.py", line 668, in h
ttp_get
  File "C:\Python27\lib\urllib2.py", line 127, in urlopen
    return _opener.open(url, data, timeout)
  File "C:\Python27\lib\urllib2.py", line 410, in open
    response = meth(req, response)
  File "build/bdist.macosx-10.8-intel/egg/rbtools/postreview.py", line 100, in h
ttp_response
  File "C:\Python27\lib\urllib2.py", line 442, in error
    result = self._call_chain(*args)
  File "C:\Python27\lib\urllib2.py", line 382, in _call_chain
    result = func(*args)
  File "C:\Python27\lib\urllib2.py", line 897, in http_error_401
    url, req, headers)
  File "C:\Python27\lib\urllib2.py", line 872, in http_error_auth_reqed
    response = self.retry_http_basic_auth(host, req, realm)
  File "build/bdist.macosx-10.8-intel/egg/rbtools/postreview.py", line 132, in r
etry_http_basic_auth
AttributeError: 'NoneType' object has no attribute 'code'

Does anybody know what is going on here, and why is the file build/bdist.macosx-10.8-intel for a windows machine.

Thanks

James

--
Want to help the Review Board project? Donate today at http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~----------~----~----~----~------~----~------~--~---
To unsubscribe from this group, send email to reviewboard...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/reviewboard?hl=en
---
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...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Reply all
Reply to author
Forward
0 new messages