Comment 2 for bug 1065155

Revision history for this message
Jonathan Thomas (echidnaman) wrote : Re: Flash doesn't work after upgrading it with Muon

If the http_proxy environment variable is set but empty, python's urllib craps its pants and tries to concatenate a string with a NoneType object:

Traceback (most recent call last):
  File "/usr/lib/update-notifier/package-data-downloader", line 234, in process_download_requests
    dest_file = urllib.urlretrieve(files[i])[0]
  File "/usr/lib/python2.7/urllib.py", line 93, in urlretrieve
    return _urlopener.retrieve(url, filename, reporthook, data)
  File "/usr/lib/python2.7/urllib.py", line 243, in retrieve
    fp = self.open(url, data)
  File "/usr/lib/python2.7/urllib.py", line 201, in open
    name = 'open_' + urltype
TypeError: cannot concatenate 'str' and 'NoneType' objects

That's what is causing the bug.