Comment 4 for bug 512691

Revision history for this message
NeilGreenwood (neil-greenwood) wrote : Re: [Bug 512691] Re: dl-ubuntu-test-iso doesn't work behind a non-transparent proxy

On 12 April 2010 08:42, Steve Beattie <email address hidden> wrote:
> Right, the reason httplib is used in some places is because urllib2
> doesn't appear to provide an obvious interface to do an HTTP HEAD
> request in order to get whether or not a file exists on the server
> without pulling down the whole thing. That said, I've come up with a way
> that I think is working, but it would be nice to get verification from
> someone actually using a proxy. Can someone please test the version in
> https://code.launchpad.net/~ubuntu-bugcontrol/ubuntu-qa-tools/master ,
> revision 334 or newer? Thanks!
>
> --
> dl-ubuntu-test-iso doesn't work behind a non-transparent proxy
> https://bugs.launchpad.net/bugs/512691
> You received this bug notification because you are a direct subscriber
> of the bug.
>

Testing revision 340, I got the following:

$ ./dl-ubuntu-test-iso
Traceback (most recent call last):
  File "./dl-ubuntu-test-iso", line 615, in <module>
    main()
  File "./dl-ubuntu-test-iso", line 604, in main
    update_release()
  File "./dl-ubuntu-test-iso", line 78, in update_release
    lp_release = get_devel_release()
  File "./dl-ubuntu-test-iso", line 66, in get_devel_release
    launchpad = Launchpad.login_anonymously("Ubuntu QA iso downloader", "edge")
AttributeError: type object 'Launchpad' has no attribute 'login_anonymously'