On 1/14/23 13:57, Lucas Nussbaum wrote:
=================================== FAILURES =================================== _____________________________ TestSuite.test_32bit _____________________________self = <tests.test_tiff2jp2.TestSuite testMethod=test_32bit> def test_32bit(self): """ SCENARIO: The sample format is 32bit integer.EXPECTED RESULT: RuntimeError""" infile = _file_helper('uint32.tif', module='tests.data.tiff')with Tiff2Jp2k(infile, self.temp_jp2_filename) as j:../../../tests/test_tiff2jp2.py:630: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../glymur/tiff.py:178: in __enter__ self.tiff_fp = libtiff.open(self.tiff_filename) ../../../glymur/lib/tiff.py:581: in open err_handler, warn_handler = _set_error_warning_handlers() ../../../glymur/lib/tiff.py:232: in _set_error_warning_handlers old_warning_handler = setWarningHandler() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ func = <CFunctionType object at 0x7f63e9976d40> def setWarningHandler(func=_WARNING_HANDLER): # The signature of the warning handler is # const char *module, const char *fmt, va_list ap # # The return type is void *_LIBTIFF.TIFFSetWarningHandler.argtypes = [_WFUNCTYPE]E AttributeError: 'NoneType' object has no attribute 'TIFFSetWarningHandler' ../../../glymur/lib/tiff.py:633: AttributeError
This is caused by python3-pil no longer pulling in libtiff, after the binNMU for the tiff transition it lost the tiff support, from its buildlog:
*** LIBTIFF support not available https://buildd.debian.org/status/fetch.php?pkg=pillow&arch=amd64&ver=9.4.0-1%2Bb1&stamp=1673592099&raw=0 Kind Regards, Bas -- GPG Key ID: 4096R/6750F10AE88D4AF1 Fingerprint: 8182 DE41 7056 408D 6146 50D1 6750 F10A E88D 4AF1

