[Reproducible-builds] Bug#805774: diffoscope AttributeError processing bnd/2.1.0-2

Mattia Rizzolo mattia at mapreri.org
Sun Nov 22 11:11:49 UTC 2015


Package: diffoscope
Version: 42


Seen on rb.d.n with bnd/2.1.0-2 on both testing and unstable:

Sun Nov 22 10:47:06 UTC 2015 - diffoscope 42 will be used to compare the two builds:
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/diffoscope/__main__.py", line 146, in main
    sys.exit(run_diffoscope(parsed_args))
  File "/usr/lib/python3/dist-packages/diffoscope/__main__.py", line 122, in run_diffoscope
    parsed_args.file1, parsed_args.file2)
  File "/usr/lib/python3/dist-packages/diffoscope/comparators/__init__.py", line 89, in compare_root_paths
    return compare_files(file1, file2)
  File "/usr/lib/python3/dist-packages/diffoscope/comparators/__init__.py", line 106, in compare_files
    return file1.compare(file2, source)
  File "/usr/lib/python3/dist-packages/diffoscope/comparators/binary.py", line 80, in wrapper
    return original_method(self, other, *args, **kwargs)
  File "/usr/lib/python3/dist-packages/diffoscope/comparators/binary.py", line 197, in compare
    difference = self._compare_using_details(other, source)
  File "/usr/lib/python3/dist-packages/diffoscope/comparators/binary.py", line 170, in _compare_using_details
    details = [d for d in self.compare_details(other, source) if d is not None]
  File "/usr/lib/python3/dist-packages/diffoscope/comparators/binary.py", line 80, in wrapper
    return original_method(self, other, *args, **kwargs)
  File "/usr/lib/python3/dist-packages/diffoscope/comparators/debian.py", line 134, in compare_details
    differences.extend(my_container.compare(other_container))
  File "/usr/lib/python3/dist-packages/diffoscope/comparators/utils.py", line 209, in compare
    return list(starmap(diffoscope.comparators.compare_commented_files, self.comparisons(other)))
  File "/usr/lib/python3/dist-packages/diffoscope/comparators/__init__.py", line 109, in compare_commented_files
    difference = compare_files(file1, file2, source=source)
  File "/usr/lib/python3/dist-packages/diffoscope/comparators/__init__.py", line 106, in compare_files
    return file1.compare(file2, source)
  File "/usr/lib/python3/dist-packages/diffoscope/comparators/binary.py", line 80, in wrapper
    return original_method(self, other, *args, **kwargs)
  File "/usr/lib/python3/dist-packages/diffoscope/comparators/binary.py", line 197, in compare
    difference = self._compare_using_details(other, source)
  File "/usr/lib/python3/dist-packages/diffoscope/comparators/binary.py", line 170, in _compare_using_details
    details = [d for d in self.compare_details(other, source) if d is not None]
  File "/usr/lib/python3/dist-packages/diffoscope/comparators/binary.py", line 80, in wrapper
    return original_method(self, other, *args, **kwargs)
  File "/usr/lib/python3/dist-packages/diffoscope/comparators/deb.py", line 61, in compare_details
    differences.extend(my_container.compare(other_container))
  File "/usr/lib/python3/dist-packages/diffoscope/comparators/utils.py", line 209, in compare
    return list(starmap(diffoscope.comparators.compare_commented_files, self.comparisons(other)))
  File "/usr/lib/python3/dist-packages/diffoscope/comparators/__init__.py", line 109, in compare_commented_files
    difference = compare_files(file1, file2, source=source)
  File "/usr/lib/python3/dist-packages/diffoscope/comparators/__init__.py", line 106, in compare_files
    return file1.compare(file2, source)
  File "/usr/lib/python3/dist-packages/diffoscope/comparators/binary.py", line 80, in wrapper
    return original_method(self, other, *args, **kwargs)
  File "/usr/lib/python3/dist-packages/diffoscope/comparators/binary.py", line 197, in compare
    difference = self._compare_using_details(other, source)
  File "/usr/lib/python3/dist-packages/diffoscope/comparators/binary.py", line 170, in _compare_using_details
    details = [d for d in self.compare_details(other, source) if d is not None]
  File "/usr/lib/python3/dist-packages/diffoscope/comparators/binary.py", line 80, in wrapper
    return original_method(self, other, *args, **kwargs)
  File "/usr/lib/python3/dist-packages/diffoscope/comparators/xz.py", line 69, in compare_details
    return my_container.compare(other_container)
  File "/usr/lib/python3/dist-packages/diffoscope/comparators/utils.py", line 209, in compare
    return list(starmap(diffoscope.comparators.compare_commented_files, self.comparisons(other)))
  File "/usr/lib/python3/dist-packages/diffoscope/comparators/__init__.py", line 109, in compare_commented_files
    difference = compare_files(file1, file2, source=source)
  File "/usr/lib/python3/dist-packages/diffoscope/comparators/__init__.py", line 106, in compare_files
    return file1.compare(file2, source)
  File "/usr/lib/python3/dist-packages/diffoscope/comparators/binary.py", line 80, in wrapper
    return original_method(self, other, *args, **kwargs)
  File "/usr/lib/python3/dist-packages/diffoscope/comparators/binary.py", line 197, in compare
    difference = self._compare_using_details(other, source)
  File "/usr/lib/python3/dist-packages/diffoscope/comparators/binary.py", line 170, in _compare_using_details
    details = [d for d in self.compare_details(other, source) if d is not None]
  File "/usr/lib/python3/dist-packages/diffoscope/comparators/binary.py", line 80, in wrapper
    return original_method(self, other, *args, **kwargs)
  File "/usr/lib/python3/dist-packages/diffoscope/comparators/deb.py", line 132, in compare_details
    differences.extend(my_container.compare(other_container))
  File "/usr/lib/python3/dist-packages/diffoscope/comparators/utils.py", line 209, in compare
    return list(starmap(diffoscope.comparators.compare_commented_files, self.comparisons(other)))
  File "/usr/lib/python3/dist-packages/diffoscope/comparators/__init__.py", line 109, in compare_commented_files
    difference = compare_files(file1, file2, source=source)
  File "/usr/lib/python3/dist-packages/diffoscope/comparators/__init__.py", line 106, in compare_files
    return file1.compare(file2, source)
  File "/usr/lib/python3/dist-packages/diffoscope/comparators/binary.py", line 80, in wrapper
    return original_method(self, other, *args, **kwargs)
  File "/usr/lib/python3/dist-packages/diffoscope/comparators/binary.py", line 197, in compare
    difference = self._compare_using_details(other, source)
  File "/usr/lib/python3/dist-packages/diffoscope/comparators/binary.py", line 170, in _compare_using_details
    details = [d for d in self.compare_details(other, source) if d is not None]
  File "/usr/lib/python3/dist-packages/diffoscope/comparators/binary.py", line 80, in wrapper
    return original_method(self, other, *args, **kwargs)
  File "/usr/lib/python3/dist-packages/diffoscope/comparators/zip.py", line 118, in compare_details
    differences.extend(my_container.compare(other_container))
  File "/usr/lib/python3/dist-packages/diffoscope/comparators/utils.py", line 209, in compare
    return list(starmap(diffoscope.comparators.compare_commented_files, self.comparisons(other)))
  File "/usr/lib/python3/dist-packages/diffoscope/comparators/__init__.py", line 109, in compare_commented_files
    difference = compare_files(file1, file2, source=source)
  File "/usr/lib/python3/dist-packages/diffoscope/comparators/__init__.py", line 106, in compare_files
    return file1.compare(file2, source)
  File "/usr/lib/python3/dist-packages/diffoscope/comparators/binary.py", line 80, in wrapper
    return original_method(self, other, *args, **kwargs)
  File "/usr/lib/python3/dist-packages/diffoscope/comparators/binary.py", line 197, in compare
    difference = self._compare_using_details(other, source)
  File "/usr/lib/python3/dist-packages/diffoscope/comparators/binary.py", line 170, in _compare_using_details
    details = [d for d in self.compare_details(other, source) if d is not None]
  File "/usr/lib/python3/dist-packages/diffoscope/comparators/binary.py", line 80, in wrapper
    return original_method(self, other, *args, **kwargs)
  File "/usr/lib/python3/dist-packages/diffoscope/comparators/zip.py", line 116, in compare_details
    with ZipContainer(self).open() as my_container, \
  File "/usr/lib/python3.4/contextlib.py", line 59, in __enter__
    return next(self.gen)
  File "/usr/lib/python3/dist-packages/diffoscope/comparators/utils.py", line 261, in open
    self._archive = self.open_archive(self.source.path)
  File "/usr/lib/python3/dist-packages/diffoscope/comparators/zip.py", line 77, in open_archive
    return zipfile.ZipFile(path, 'r')
  File "/usr/lib/python3.4/zipfile.py", line 937, in __init__
    self._RealGetContents()
  File "/usr/lib/python3.4/zipfile.py", line 974, in _RealGetContents
    endrec = _EndRecData(fp)
  File "/usr/lib/python3.4/zipfile.py", line 237, in _EndRecData
    fpin.seek(0, 2)
AttributeError: 'bytes' object has no attribute 'seek'


-- 
regards,
                        Mattia Rizzolo

GPG Key: 66AE 2B4A FCCF 3F52 DA18  4D18 4B04 3FCD B944 4540      .''`.
more about me:  http://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/20151122/44d624bd/attachment.sig>


More information about the Reproducible-builds mailing list