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'
On 12 April 2010 08:42, Steve Beattie <email address hidden> wrote: /code.launchpad .net/~ubuntu- bugcontrol/ ubuntu- qa-tools/ master , /bugs.launchpad .net/bugs/ 512691
> 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:/
> revision 334 or newer? Thanks!
>
> --
> dl-ubuntu-test-iso doesn't work behind a non-transparent proxy
> https:/
> 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 test-iso" , line 615, in <module> test-iso" , line 604, in main release( ) test-iso" , line 78, in update_release test-iso" , line 66, in get_devel_release login_anonymous ly("Ubuntu QA iso downloader", "edge")
Traceback (most recent call last):
File "./dl-ubuntu-
main()
File "./dl-ubuntu-
update_
File "./dl-ubuntu-
lp_release = get_devel_release()
File "./dl-ubuntu-
launchpad = Launchpad.
AttributeError: type object 'Launchpad' has no attribute 'login_anonymously'