Package: dput Version: 0.12.1 Severity: important Control: fixed -1 dput/1.0.1-1
Hi, Sometimes dput 0.12.1 fails to upload with the following error/traceback: Traceback (most recent call last): File "/usr/bin/dput", line 11, in <module> load_entry_point('dput==0.12.1', 'console_scripts', 'execute-dput')() File "/usr/share/dput/dput/dput.py", line 1012, in main config, check_only, check_version, unsigned_upload, debug) File "/usr/share/dput/dput/dput.py", line 366, in verify_files version_check(path, changes, debug) File "/usr/share/dput/dput/dput.py", line 670, in version_check dpkg_fields = email.parser.HeaderParser().parsestr(dpkg_output) File "/usr/lib/python2.7/email/parser.py", line 91, in parsestr return Parser.parsestr(self, text, True) File "/usr/lib/python2.7/email/parser.py", line 82, in parsestr return self.parse(StringIO(text), headersonly=headersonly) UnicodeEncodeError: 'ascii' codec can't encode character u'\u2019' in position 492: ordinal not in range(128) I just created a local backport of dput-1.0.1, and have confirmed that this bug is fixed in that version. There is already a--perhaps unofficial--recommendation for developers on stable to use a backported lintian, so I think that this bug can be closed with an official backport with an additional--perhaps unofficial--recommendation to additionally use a backported dput. Thank you, Nicholas -- System Information: Debian Release: 9.1 APT prefers stable-debug APT policy: (500, 'stable-debug'), (500, 'stable') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.4.88.20170921 (SMP w/4 CPU cores; PREEMPT) Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8), LANGUAGE=en_CA:en (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages dput depends on: ii python 2.7.13-2 ii python-debian 0.1.30 ii python-gpg 1.8.0-3+b2 ii python-pkg-resources 33.1.1-1 dput recommends no packages. Versions of packages dput suggests: ii lintian 2.5.51~bpo9+1 pn mini-dinstall <none> ii openssh-client 1:7.4p1-10+deb9u1 ii rsync 3.1.2-1 -- Configuration Files: /etc/dput.cf changed: [mentors] fqdn = mentors.debian.net incoming = /upload method = http allow_unsigned_uploads = 0 progress_indicator = 2 allowed_distributions = .* [backports] fqdn = ftp.upload.debian.org incoming = /pub/UploadQueue/ login = anonymous allow_unsigned_uploads = 0 allow_dcut = 1 check_version = 1 method = ftp allowed_distributions = jessie-backports [experimental] fqdn = ftp.upload.debian.org incoming = /pub/UploadQueue/ login = anonymous allow_unsigned_uploads = 0 allow_dcut = 1 check_version = 1 method = ftp allowed_distributions = experimental [unstable] fqdn = ftp.upload.debian.org incoming = /pub/UploadQueue/ login = anonymous allow_unsigned_uploads = 0 allow_dcut = 1 check_version = 1 method = ftp allowed_distributions = unstable -- no debconf information