google-code-export / yabi

Automatically exported from code.google.com/p/yabi
0 stars 1 forks source link

Running Frontend with no Admin, need better error #93

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Run up FE with no admin
2. Try to log in
3. FE throws exception from YAPHC

{{{
AttributeError at /login
'NoneType' object has no attribute 'makefile'

[snip]

/usr/lib/python2.6/httplib.py in getresponse
                                           method=self._method) ...
/usr/lib/python2.6/httplib.py in __init__
        self.fp = sock.makefile('rb', 0) ...
}}}

Original issue reported on code.google.com by amacgregor on 26 Oct 2011 at 1:36

GoogleCodeExporter commented 9 years ago

Original comment by amacgregor on 26 Oct 2011 at 1:37

GoogleCodeExporter commented 9 years ago

Original comment by retrogra...@gmail.com on 31 Oct 2011 at 6:29

GoogleCodeExporter commented 9 years ago
This is a problem with yaphc. Error handling is not very complete.

yaphc/__init__.py in make_request line 57 says: # TODO more error handling 
required here

I'll leave this ticket open until I fix yaphc

Original comment by retrogra...@gmail.com on 31 Oct 2011 at 8:39

GoogleCodeExporter commented 9 years ago
fixed in svn r12 of yaphc.

Original comment by retrogra...@gmail.com on 31 Oct 2011 at 8:50

GoogleCodeExporter commented 9 years ago
fixed revision a823cbf3bf55

Original comment by retrogra...@gmail.com on 1 Nov 2011 at 8:55