dput HTTP(S) auth fails with stack trace on 2.6.4-0ubuntu1 (karmic) and 0.9.5.1ubuntu1 (lucid)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
dput (Debian) |
Fix Released
|
Unknown
|
|||
dput (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: dput
Uploading via HTTP(S) is currently broken when auth is enabled, and bails with the following stack trace:
Uploading to hostname (via https to host.domain.tld):
Uploading packagename.dsc: need authentication.
Password for Host Package Upload:
Traceback (most recent call last):
File "/usr/bin/dput", line 944, in <module>
main()
File "/usr/bin/dput", line 907, in main
files_
File "/usr/share/
return real_upload(fqdn, login, incoming, files_to_upload, debug, dummy, progress, protocol="https")
File "/usr/share/
auth_headers = AuthHandlerHack
File "/usr/share/
ah.
File "/usr/lib/
url, req, headers)
File "/usr/lib/
return self.retry_
File "/usr/lib/
return self.parent.
ProblemType: Bug
Architecture: amd64
Date: Thu Mar 4 17:46:33 2010
DistroRelease: Ubuntu 9.10
NonfreeKernelMo
Package: dput 0.9.4ubuntu2
PackageArchitec
ProcEnviron:
SHELL=/bin/bash
PATH=(custom, user)
LANG=en_AU.UTF-8
ProcVersionSign
SourcePackage: dput
Uname: Linux 2.6.31-19-generic x86_64
tags: | added: patch |
summary: |
- dput HTTP(S) auth fails with stack trace on 2.6.4-0ubuntu1 + dput HTTP(S) auth fails with stack trace on 2.6.4-0ubuntu1 (karmic) and + 0.9.5.1ubuntu1 (lucid) |
tags: | added: patch-forwarded-debian |
Changed in dput (Debian): | |
status: | Unknown → New |
Changed in dput (Debian): | |
status: | New → Fix Committed |
Changed in dput (Debian): | |
status: | Fix Committed → Fix Released |
Changed in dput (Ubuntu): | |
status: | New → Fix Released |
Attached patch resolves the problem by adding timeout, and allowing keyword arguments to AuthHandlerHack Around. open(), should be backwards- compatible also.