[Bug 531758] Re: dput HTTP(S) auth fails with stack trace on 2.6.4-0ubuntu1 (karmic) and 0.9.5.1ubuntu1 (lucid)

pdf 531758 at bugs.launchpad.net
Tue Jan 15 06:30:27 UTC 2013


I don't see this fix being committed upstream, and as this is only
affecting Ubuntu's Python version, and is still (!) broken in current
releases, I'd really appreciate having this patched in Ubuntu so we
don't have to keep maintaining a local copy.  Appears this is still
unpatched in all subsequent versions of dput in Ubuntu releases.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to dput in Ubuntu.
https://bugs.launchpad.net/bugs/531758

Title:
  dput HTTP(S) auth fails with stack trace on 2.6.4-0ubuntu1 (karmic)
  and 0.9.5.1ubuntu1 (lucid)

Status in “dput” package in Ubuntu:
  New
Status in “dput” package in Debian:
  Fix Committed

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_to_upload, debug, 0, progress=progress)
    File "/usr/share/dput/https.py", line 7, in upload
      return real_upload(fqdn, login, incoming, files_to_upload, debug, dummy, progress, protocol="https")
    File "/usr/share/dput/http.py", line 117, in upload
      auth_headers = AuthHandlerHackAround(url, res.msg, pwman).get_auth_headers()
    File "/usr/share/dput/http.py", line 51, in get_auth_headers
      ah.http_error_401(self, None, 401, None, self.resp_headers)
    File "/usr/lib/python2.6/urllib2.py", line 853, in http_error_401
      url, req, headers)
    File "/usr/lib/python2.6/urllib2.py", line 831, in http_error_auth_reqed
      return self.retry_http_basic_auth(host, req, realm)
    File "/usr/lib/python2.6/urllib2.py", line 841, in retry_http_basic_auth
      return self.parent.open(req, timeout=req.timeout)

  ProblemType: Bug
  Architecture: amd64
  Date: Thu Mar  4 17:46:33 2010
  DistroRelease: Ubuntu 9.10
  NonfreeKernelModules: nvidia
  Package: dput 0.9.4ubuntu2
  PackageArchitecture: all
  ProcEnviron:
   SHELL=/bin/bash
   PATH=(custom, user)
   LANG=en_AU.UTF-8
  ProcVersionSignature: Ubuntu 2.6.31-19.56-generic
  SourcePackage: dput
  Uname: Linux 2.6.31-19-generic x86_64

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dput/+bug/531758/+subscriptions




More information about the foundations-bugs mailing list