Package: dput
Version: 0.10.2
Severity: grave
Justification: renders package unusable

Hello,

every time I try to upload something I get the following:

>  % dput local-desktop_0.83_amd64.changes
> Trying to upload package to ghedini.me
> Checking signature on .changes
> Traceback (most recent call last):
>   File "/usr/bin/dput", line 11, in <module>
>     load_entry_point('dput==0.10.2', 'console_scripts', 'execute-dput')()
>   File "/usr/share/dput/dput/dput.py", line 1053, in main
>     config, check_only, check_version, unsigned_upload, debug)
>   File "/usr/share/dput/dput/dput.py", line 415, in verify_files
>     config, check_only, unsigned_upload, binary_upload, debug)
>   File "/usr/share/dput/dput/dput.py", line 313, in verify_signature
>     check_signature(changes_file)
>   File "/usr/share/dput/dput/dput.py", line 248, in check_signature
>     gnupg_stdout = dputhelper.make_text_stream(gnupg_subprocess.stdout)
>   File "/usr/share/dput/dput/helper/dputhelper.py", line 188, in 
> make_text_stream
>     result = io.TextIOWrapper(stream, encoding=encoding)
> AttributeError: 'file' object has no attribute 'readable'
> gpg: Signature made Sat 03 Sep 2016 12:33:10 BST
> gpg:                using RSA key 6F0CCBE021624728
> gpg:                issuer "gh...@debian.org"
> gpg: Good signature from "Alessandro Ghedini <alessan...@ghedini.me>" 
> [unknown]            
> gpg:                 aka "Alessandro Ghedini <alex...@cpan.org>" [unknown]
> gpg:                 aka "Alessandro Ghedini <gh...@debian.org>" [unknown]

then dput dies and the pckage does not get uploaded.

Cheers

-- System Information:
Debian Release: stretch/sid
  APT prefers buildd-unstable
  APT policy: (500, 'buildd-unstable'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.7.0-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages dput depends on:
ii  gnupg                 2.1.15-2
ii  python-debian         0.1.29
ii  python-pkg-resources  26.1.1-1
pn  python:any            <none>

dput recommends no packages.

Versions of packages dput suggests:
pn  lintian         <none>
pn  mini-dinstall   <none>
ii  openssh-client  1:7.3p1-1
pn  rsync           <none>

-- no debconf information

Attachment: signature.asc
Description: PGP signature

Reply via email to