Comment 4 for bug 1267381

Revision history for this message
Chow Loong Jin (hyperair) wrote : Re: [Bug 1267381] Re: crash on start "dropbox start -i" Error: [Errno 8] _ssl.c:509: EOF occurred in violation of protocol

On Thu, Mar 20, 2014 at 05:24:39PM -0000, Rüdiger Kupper wrote:
> Please not especially the line
> > http_proxy = http://10.32.1.250:8080https_proxy = https://10.32.1.250:8080
>
> This looks as if environments variables for http_proxy and https_proxy
> get falsely concatenated (programmer forgot a ";" ???)

Looks like just an error in constructing the error message:

def get_download_debug_info(url, e):
    msg = "\nURL that failed to download: %s\nError: %s\n" % (url, e.strerror)
    if "http_proxy" in os.environ:
        msg += "http_proxy = %s" % os.environ["http_proxy"]
    if "https_proxy" in os.environ:
        msg += "https_proxy = %s" % os.environ["https_proxy"]
    return msg

--
Kind regards,
Loong Jin