On 10-Feb-2019, Dima Kogan wrote: > Ben Finney <bign...@debian.org> writes: > > On 20-Oct-2018, Dima Kogan wrote: > >> dima@scrawny:~/debianstuff/python-gnuplotlib$ dput ftp-master > >> ../python-gnuplotlib_0.23-1_amd64.changes > > > > Can you attach (to a message on this bug report) the file you used? > > Attached.
Thank you. For those reading afterward: Dima's attached package changes file (‘….changes’) refers to a source control file (‘….dsc’) that is not on this bug report; but, that's not relevant. The reason it's not relevant is that the reported behaviour – a UnicodeDecodeError from the ‘parse_changes’ function – would occur *before* attempting to verify the GnuPG signature or read the source control file. If you see an error about either of those, the reported behaviour in this bug report is not occurring. With that said, I am unable to reproduce the behaviour using that package changes file. Instead, I get:: ===== $ dput --version dput 1.0.3 $ LANG=C LC_ALL=C dput mentors ../bug-911500/python-gnuplotlib_0.23-1_amd64.changes Checking signature on .changes gpg: ../bug-911500/python-gnuplotlib_0.23-1_amd64.changes: Error checking signature from ED63B6125A1D1561: SignatureVerifyError: 0 Checking signature on .dsc Traceback (most recent call last): File "/usr/bin/dput", line 11, in <module> load_entry_point('dput==1.0.3', 'console_scripts', 'execute-dput')() File "/usr/share/dput/dput/dput.py", line 1014, in main config, check_only, check_version, unsigned_upload, debug) File "/usr/share/dput/dput/dput.py", line 376, in verify_files config, check_only, unsigned_upload, binary_upload, debug) File "/usr/share/dput/dput/dput.py", line 277, in verify_signature assert_good_signature_or_exit(dsc_file_path) File "/usr/share/dput/dput/dput.py", line 257, in assert_good_signature_or_exit with open(path) as infile: FileNotFoundError: [Errno 2] No such file or directory: '../bug-911500/python-gnuplotlib_0.23-1.dsc' ===== So, the ‘parse_changes’ call has succeeded (because ‘verify_signature’ does not occur until after ‘parse_changes’ succeeds). Apparently there is more to the problem than setting locale environment variables. Are you able to narrow down a series of steps that will allow me to reproduce the behaviour you're seeing, using this same file and DPut version 1.0.3? -- \ “Think for yourselves and let others enjoy the privilege to do | `\ so too.” —Voltaire, _Essay On Tolerance_ | _o__) | Ben Finney <bign...@debian.org>
signature.asc
Description: PGP signature