Re: 'NoneType' object has no attribute 'rfind'

2009-02-04 Thread bfellows
eturn HttpClient._prepare_connection(self, url, headers) > > File "/usr/lib/python2.5/site-packages/atom/http.py" in > > _prepare_connection > > 161. return httplib.HTTPConnection(url.host) > > File "/usr/lib/python2.5/httplib.py" in __init__ > > 639. s

Re: 'NoneType' object has no attribute 'rfind'

2009-02-04 Thread Karen Tracey
> File "/usr/lib/python2.5/httplib.py" in _set_hostport > 645. i = host.rfind(':') > And the exception info from your other message is: > Exception Type: AttributeError at /app/blah/ > Exception Value: 'NoneType' object has no attribute 'rfind&#x

Re: 'NoneType' object has no attribute 'rfind'

2009-02-04 Thread bfellows
Traceback: File "/var/lib/python-support/python2.5/django/core/handlers/base.py" in get_response 86. response = callback(request, *callback_args, **callback_kwargs) File "/var/django/.../views.py" in display 33. photos = gd_client.GetFeed(f) File "/usr/lib/python2.5/site-packages/gdata/photos/serv

'NoneType' object has no attribute 'rfind'

2009-02-04 Thread bfellows
and python throws: Exception Type: AttributeError at /app/blah/ Exception Value: 'NoneType' object has no attribute 'rfind' The line at fault appears to be the one with the GetFeed query. While shuffling the code around, I can return a HttpResponse(blah_id) and it will display the tex