[Reproducible-builds] Bug#823874: diffoscope: UnicodeDecodeError
Mattia Rizzolo
mattia at debian.org
Mon May 9 21:21:16 UTC 2016
Source: diffoscope
Version: 52
Seen on rb.d.n with:
- openocd/0.9.0-1 (all suites/archs)
- psychtoolbox-3/3.0.12.20160414.dfsg1-1 (unstable/armhf)
- publican/4.3.2-1 (all suites/archs)
Fri May 6 07:44:58 UTC 2016 - diffoscope 52 will be used to compare the two builds:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/diffoscope/__main__.py", line 177, in main
sys.exit(run_diffoscope(parsed_args))
File "/usr/lib/python3/dist-packages/diffoscope/__main__.py", line 148, in run_diffoscope
parsed_args.file1, parsed_args.file2)
File "/usr/lib/python3/dist-packages/diffoscope/comparators/__init__.py", line 97, in compare_root_paths
return compare_files(file1, file2)
File "/usr/lib/python3/dist-packages/diffoscope/comparators/__init__.py", line 113, in compare_files
return file1.compare(file2, source)
File "/usr/lib/python3/dist-packages/diffoscope/comparators/binary.py", line 199, in compare
difference = self._compare_using_details(other, source)
File "/usr/lib/python3/dist-packages/diffoscope/comparators/binary.py", line 174, in _compare_using_details
details.extend(filter(None, self.as_container.compare(other.as_container)))
File "/usr/lib/python3/dist-packages/diffoscope/comparators/__init__.py", line 116, in compare_commented_files
difference = compare_files(file1, file2, source=source)
File "/usr/lib/python3/dist-packages/diffoscope/comparators/__init__.py", line 113, in compare_files
return file1.compare(file2, source)
File "/usr/lib/python3/dist-packages/diffoscope/comparators/binary.py", line 199, in compare
difference = self._compare_using_details(other, source)
File "/usr/lib/python3/dist-packages/diffoscope/comparators/binary.py", line 174, in _compare_using_details
details.extend(filter(None, self.as_container.compare(other.as_container)))
File "/usr/lib/python3/dist-packages/diffoscope/comparators/__init__.py", line 116, in compare_commented_files
difference = compare_files(file1, file2, source=source)
File "/usr/lib/python3/dist-packages/diffoscope/comparators/__init__.py", line 113, in compare_files
return file1.compare(file2, source)
File "/usr/lib/python3/dist-packages/diffoscope/comparators/binary.py", line 199, in compare
difference = self._compare_using_details(other, source)
File "/usr/lib/python3/dist-packages/diffoscope/comparators/binary.py", line 174, in _compare_using_details
details.extend(filter(None, self.as_container.compare(other.as_container)))
File "/usr/lib/python3/dist-packages/diffoscope/comparators/__init__.py", line 116, in compare_commented_files
difference = compare_files(file1, file2, source=source)
File "/usr/lib/python3/dist-packages/diffoscope/comparators/__init__.py", line 113, in compare_files
return file1.compare(file2, source)
File "/usr/lib/python3/dist-packages/diffoscope/comparators/binary.py", line 199, in compare
difference = self._compare_using_details(other, source)
File "/usr/lib/python3/dist-packages/diffoscope/comparators/binary.py", line 174, in _compare_using_details
details.extend(filter(None, self.as_container.compare(other.as_container)))
File "/usr/lib/python3/dist-packages/diffoscope/comparators/__init__.py", line 116, in compare_commented_files
difference = compare_files(file1, file2, source=source)
File "/usr/lib/python3/dist-packages/diffoscope/comparators/__init__.py", line 113, in compare_files
return file1.compare(file2, source)
File "/usr/lib/python3/dist-packages/diffoscope/comparators/binary.py", line 199, in compare
difference = self._compare_using_details(other, source)
File "/usr/lib/python3/dist-packages/diffoscope/comparators/binary.py", line 172, in _compare_using_details
details.extend(filter(None, self.compare_details(other, source)))
File "/usr/lib/python3/dist-packages/diffoscope/comparators/deb.py", line 128, in compare_details
self.path, other.path, source="line order")]
File "/usr/lib/python3/dist-packages/diffoscope/difference.py", line 330, in from_text_readers
*args, **kwargs)
File "/usr/lib/python3/dist-packages/diffoscope/difference.py", line 303, in from_feeder
unified_diff = diff(feeder1, feeder2)
File "/usr/lib/python3/dist-packages/diffoscope/difference.py", line 272, in diff
return run_diff(fd1, fd2, end_nl_q1, end_nl_q2)
File "/usr/lib/python3.5/contextlib.py", line 66, in __exit__
next(self.gen)
File "/usr/lib/python3/dist-packages/diffoscope/difference.py", line 207, in fd_from_feeder
t.join()
File "/usr/lib/python3/dist-packages/diffoscope/difference.py", line 185, in join
raise ex
File "/usr/lib/python3/dist-packages/diffoscope/difference.py", line 171, in run
super().run(*args, **kwargs)
File "/usr/lib/python3.5/threading.py", line 862, in run
self._target(*self._args, **self._kwargs)
File "/usr/lib/python3/dist-packages/diffoscope/difference.py", line 192, in feed
end_nl = feeder(f)
File "/usr/lib/python3/dist-packages/diffoscope/difference.py", line 234, in feeder
for buf in in_file:
File "/usr/lib/python3/dist-packages/diffoscope/comparators/deb.py", line 122, in strip_checksum
for line in f:
File "/usr/lib/python3.5/encodings/ascii.py", line 26, in decode
return codecs.ascii_decode(input, self.errors)[0]
UnicodeDecodeError: 'ascii' codec can't decode byte 0xd0 in position 5691: ordinal not in range(128)
Actually the affected character was different (e.g. 0xe2) but the error
was the same in the same place.
--
regards,
Mattia Rizzolo
GPG Key: 66AE 2B4A FCCF 3F52 DA18 4D18 4B04 3FCD B944 4540 .''`.
more about me: https://mapreri.org : :' :
Launchpad user: https://launchpad.net/~mapreri `. `'`
Debian QA page: https://qa.debian.org/developer.php?login=mattia `-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/reproducible-builds/attachments/20160509/ae8f021b/attachment.sig>
More information about the Reproducible-builds
mailing list