[debexpo-devel] dput failing

Pau Garcia i Quiles pgquiles at elpauer.org
Tue Dec 15 08:14:57 CET 2009


Hello,

I have installed debexpo following the instructions in the HTML
documentation but when I try to upload, dput fails after entering my
password:

pgquiles at mcpau:~/arisnova/deb/cmake$ dput debexpo
cmake_2.8.0-1~karmic~pgquiles2_source.changes
/usr/bin/dput:22: DeprecationWarning: the md5 module is deprecated;
use hashlib instead
  import pwd, stat, md5, sha, rfc822
/usr/bin/dput:22: DeprecationWarning: the sha module is deprecated;
use the hashlib module instead
  import pwd, stat, md5, sha, rfc822
Checking signature on .changes
gpg: Signature made Thu 19 Nov 2009 05:52:35 PM CET using DSA key ID D886273B
gpg: Good signature from "Pau Garcia i Quiles <pgquiles at elpauer.org>"
gpg:                 aka "Pau Garcia i Quiles (el tio pau)
<pgquiles at elpauer.org>"
Good signature on
/home/pgquiles/arisnova/deb/cmake/cmake_2.8.0-1~karmic~pgquiles2_source.changes.
Checking signature on .dsc
gpg: Signature made Thu 19 Nov 2009 05:52:10 PM CET using DSA key ID D886273B
gpg: Good signature from "Pau Garcia i Quiles <pgquiles at elpauer.org>"
gpg:                 aka "Pau Garcia i Quiles (el tio pau)
<pgquiles at elpauer.org>"
Good signature on
/home/pgquiles/arisnova/deb/cmake/cmake_2.8.0-1~karmic~pgquiles2.dsc.
Package includes an .orig.tar.gz file although the debian revision suggests
that it might not be required. Multiple uploads of the .orig.tar.gz may be
rejected by the upload queue management software.
Uploading to debexpo (via http to localhost:5000):
  Uploading cmake_2.8.0-1~karmic~pgquiles2.dsc: need authentication.
    Password for debexpo:
Traceback (most recent call last):
  File "/usr/bin/dput", line 925, in <module>
    main()
  File "/usr/bin/dput", line 888, in main
    files_to_upload, debug, 0, progress=progress)
  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)
AttributeError: AuthHandlerHackAround instance has no attribute 'timeout'


This is on Kubuntu Karmic, with dput 0.9.4. I have tried with dput
0.9.5.1 but it fails too.

-- 
Pau Garcia i Quiles
http://www.elpauer.org
(Due to my workload, I may need 10 days to answer)


More information about the debexpo-devel mailing list