wusung / googlecl

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

AttributeError: 'NoneType' object has no attribute 'rfind' #310

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. download version 0.9.10-1
2. issue picasa list and login
3. issue picasa list again
I use latest updated ubuntu x86_32 10.04 lycid lynx

error on any picasa(?) command.

> picasa list
Traceback (most recent call last):
  File "/usr/bin/google", line 398, in run_interactive
    run_once(options, args)
  File "/usr/bin/google", line 504, in run_once
    task.run(client, options, args)
  File "/usr/lib/pymodules/python2.6/googlecl/picasa/service.py", line 356, in _run_list
    force_photos=True)
  File "/usr/lib/pymodules/python2.6/googlecl/picasa/service.py", line 92, in build_entry_list
    album_entry = self.GetAlbum(user=user, title=title)
  File "/usr/lib/pymodules/python2.6/googlecl/picasa/service.py", line 204, in get_album
    return self.GetEntries(uri, title)
  File "/usr/lib/pymodules/python2.6/googlecl/base.py", line 181, in get_entries
    feed = self.GetFeed(uri)
  File "/usr/lib/pymodules/python2.6/gdata/photos/service.py", line 177, in GetFeed
    return self.Get(uri, converter=gdata.photos.AnyFeedFromString)
  File "/usr/lib/pymodules/python2.6/gdata/service.py", line 980, in Get
    headers=extra_headers)
  File "/usr/lib/pymodules/python2.6/atom/service.py", line 175, in request
    data=data, headers=all_headers)
  File "/usr/lib/pymodules/python2.6/gdata/auth.py", line 845, in perform_request
    return http_client.request(operation, url, data=data, headers=headers)
  File "/usr/lib/pymodules/python2.6/atom/http.py", line 93, in request
    connection = self._prepare_connection(url, all_headers)
  File "/usr/lib/pymodules/python2.6/atom/http.py", line 249, in _prepare_connection
    return HttpClient._prepare_connection(self, url, headers)
  File "/usr/lib/pymodules/python2.6/atom/http.py", line 161, in _prepare_connection
    return httplib.HTTPConnection(url.host)
  File "/usr/lib/python2.6/httplib.py", line 657, in __init__
    self._set_hostport(host, port)
  File "/usr/lib/python2.6/httplib.py", line 676, in _set_hostport
    i = host.rfind(':')
AttributeError: 'NoneType' object has no attribute 'rfind'

Original issue reported on code.google.com by socketp...@gmail.com on 7 Oct 2010 at 7:23

GoogleCodeExporter commented 8 years ago
sorry, DUP of issue 306

Original comment by socketp...@gmail.com on 7 Oct 2010 at 7:23

GoogleCodeExporter commented 8 years ago

Original comment by thmil...@google.com on 7 Oct 2010 at 5:37