[Reproducible-builds] Bug#794347: "AttributeError: 'NoneType' object has no attribute 'add_details'" while processing dh-ocaml_1.0.9_amd64.changes

Mattia Rizzolo mattia at mapreri.org
Sat Aug 1 21:39:20 UTC 2015


Package: debbindiff
Version: 27
Severity: normal

Saw on rb.d.n:

Sat Aug  1 21:07:20 UTC 2015 - debbindiff 27 will be used to compare the two builds:
+ timeout 30m schroot --directory /srv/reproducible-results/tmp.wN3zcbKY6k -c source:jenkins-reproducible-unstable-debbindiff -- sh -c 'export TMPDIR=/srv/reproducible-results/tmp.wN3zcbKY6k/dbd-tmp-G5legJK ; debbindiff             --html /srv/reproducible-results/tmp.wN3zcbKY6k/dh-ocaml_1.0.9.debbindiff.html          --text /srv/reproducible-results/tmp.wN3zcbKY6k/dh-ocaml_1.0.9.debbindiff.txt           /srv/reproducible-results/tmp.wN3zcbKY6k/b1/dh-ocaml_1.0.9_amd64.changes            /srv/reproducible-results/tmp.wN3zcbKY6k/b2/dh-ocaml_1.0.9_amd64.changes'
Traceback (most recent call last):
  File "/usr/bin/debbindiff", line 108, in <module>
    sys.exit(main())
  File "/usr/bin/debbindiff", line 94, in main
    parsed_args.file1, parsed_args.file2)
  File "/usr/lib/python2.7/dist-packages/debbindiff/comparators/__init__.py", line 66, in compare_root_paths
    return compare_files(FilesystemFile(path1), FilesystemFile(path2))
  File "/usr/lib/python2.7/dist-packages/debbindiff/comparators/__init__.py", line 79, in compare_files
    return file1.compare(file2, source)
  File "/usr/lib/python2.7/dist-packages/debbindiff/comparators/binary.py", line 75, in wrapper
    return original_method(self, other, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/debbindiff/comparators/binary.py", line 171, in compare
    difference = self._compare_using_details(other, source)
  File "/usr/lib/python2.7/dist-packages/debbindiff/comparators/binary.py", line 144, in _compare_using_details
    details = [d for d in self.compare_details(other, source) if d is not None]
  File "/usr/lib/python2.7/dist-packages/debbindiff/comparators/binary.py", line 75, in wrapper
    return original_method(self, other, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/debbindiff/comparators/debian.py", line 140, in compare_details
    differences.extend(my_container.compare(other_container, source))
  File "/usr/lib/python2.7/dist-packages/debbindiff/comparators/debian.py", line 104, in compare
    debbindiff.comparators.compare_files(my_file, other_file, source=source))
  File "/usr/lib/python2.7/dist-packages/debbindiff/comparators/__init__.py", line 79, in compare_files
    return file1.compare(file2, source)
  File "/usr/lib/python2.7/dist-packages/debbindiff/comparators/binary.py", line 75, in wrapper
    return original_method(self, other, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/debbindiff/comparators/binary.py", line 171, in compare
    difference = self._compare_using_details(other, source)
  File "/usr/lib/python2.7/dist-packages/debbindiff/comparators/binary.py", line 144, in _compare_using_details
    details = [d for d in self.compare_details(other, source) if d is not None]
  File "/usr/lib/python2.7/dist-packages/debbindiff/comparators/binary.py", line 75, in wrapper
    return original_method(self, other, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/debbindiff/comparators/deb.py", line 87, in compare_details
    differences.extend(my_container.compare(other_container, source))
  File "/usr/lib/python2.7/dist-packages/debbindiff/comparators/utils.py", line 180, in compare
    my_file, other_file, source=name))
  File "/usr/lib/python2.7/dist-packages/debbindiff/comparators/__init__.py", line 79, in compare_files
    return file1.compare(file2, source)
  File "/usr/lib/python2.7/dist-packages/debbindiff/comparators/binary.py", line 75, in wrapper
    return original_method(self, other, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/debbindiff/comparators/binary.py", line 171, in compare
    difference = self._compare_using_details(other, source)
  File "/usr/lib/python2.7/dist-packages/debbindiff/comparators/binary.py", line 144, in _compare_using_details
    details = [d for d in self.compare_details(other, source) if d is not None]
  File "/usr/lib/python2.7/dist-packages/debbindiff/comparators/binary.py", line 75, in wrapper
    return original_method(self, other, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/debbindiff/comparators/xz.py", line 73, in compare_details
    return my_container.compare(other_container, source)
  File "/usr/lib/python2.7/dist-packages/debbindiff/comparators/xz.py", line 59, in compare
    return [debbindiff.comparators.compare_files(my_file, other_file, source)]
  File "/usr/lib/python2.7/dist-packages/debbindiff/comparators/__init__.py", line 79, in compare_files
    return file1.compare(file2, source)
  File "/usr/lib/python2.7/dist-packages/debbindiff/comparators/binary.py", line 75, in wrapper
    return original_method(self, other, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/debbindiff/comparators/binary.py", line 171, in compare
    difference = self._compare_using_details(other, source)
  File "/usr/lib/python2.7/dist-packages/debbindiff/comparators/binary.py", line 144, in _compare_using_details
    details = [d for d in self.compare_details(other, source) if d is not None]
  File "/usr/lib/python2.7/dist-packages/debbindiff/comparators/binary.py", line 75, in wrapper
    return original_method(self, other, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/debbindiff/comparators/deb.py", line 161, in compare_details
    differences.extend(my_container.compare(other_container, source))
  File "/usr/lib/python2.7/dist-packages/debbindiff/comparators/utils.py", line 180, in compare
    my_file, other_file, source=name))
  File "/usr/lib/python2.7/dist-packages/debbindiff/comparators/__init__.py", line 79, in compare_files
    return file1.compare(file2, source)
  File "/usr/lib/python2.7/dist-packages/debbindiff/comparators/binary.py", line 75, in wrapper
    return original_method(self, other, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/debbindiff/comparators/binary.py", line 171, in compare
    difference = self._compare_using_details(other, source)
  File "/usr/lib/python2.7/dist-packages/debbindiff/comparators/binary.py", line 144, in _compare_using_details
    details = [d for d in self.compare_details(other, source) if d is not None]
  File "/usr/lib/python2.7/dist-packages/debbindiff/comparators/binary.py", line 75, in wrapper
    return original_method(self, other, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/debbindiff/comparators/gzip.py", line 77, in compare_details
    differences.extend(my_container.compare(other_container, source))
  File "/usr/lib/python2.7/dist-packages/debbindiff/comparators/gzip.py", line 60, in compare
    return [debbindiff.comparators.compare_files(my_file, other_file, source)]
  File "/usr/lib/python2.7/dist-packages/debbindiff/comparators/__init__.py", line 79, in compare_files
    return file1.compare(file2, source)
  File "/usr/lib/python2.7/dist-packages/debbindiff/comparators/binary.py", line 75, in wrapper
    return original_method(self, other, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/debbindiff/comparators/text.py", line 50, in compare
    difference.add_details([Difference.from_unicode(my_encoding, other_encoding, None, None, source='encoding')])
AttributeError: 'NoneType' object has no attribute 'add_details'
+ RESULT=2

-- 
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: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/reproducible-builds/attachments/20150801/c96fa76a/attachment.sig>


More information about the Reproducible-builds mailing list