https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: dev-python/pillow-heif-0.15.0 fails tests. Discovered on: amd64 (internal ref: guru_ci) Info about the issue: https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0015
Created attachment 895378 [details] build.log build log and emerge --info
Error(s) that match a know pattern in addition to what has been reported in the summary: E AttributeError: 'NoneType' object has no attribute 'shape' E AttributeError: 'NoneType' object has no attribute 'shape' E cv2.error: OpenCV(4.9.0) /var/tmp/portage/media-libs/opencv-4.9.0-r1/work/opencv-4.9.0/modules/imgcodecs/src/loadsave.cpp:1128: error: (-2:Unspecified error) could not find encoder for the specified extension in function 'imencode' ERROR setuptools_scm._file_finders.git listing git files failed - pretending there aren't any FAILED tests/opencv_test.py::test_read_8_10_12_bit[images/heif/LA_8__128x128.heif] - cv2.error: OpenCV(4.9.0) /var/tmp/portage/media-libs/opencv-4.9.0-r1/work/opencv-4.9.0/modules/imgcodecs/src/loadsave.cpp:1128: error: (-2:Unspecified error) could not find encoder for the specified extension in function 'imencode' FAILED tests/opencv_test.py::test_read_8_10_12_bit[images/heif/LA_8__29x100.heif] - cv2.error: OpenCV(4.9.0) /var/tmp/portage/media-libs/opencv-4.9.0-r1/work/opencv-4.9.0/modules/imgcodecs/src/loadsave.cpp:1128: error: (-2:Unspecified error) could not find encoder for the specified extension in function 'imencode' FAILED tests/opencv_test.py::test_read_8_10_12_bit[images/heif/L_10__128x128.heif] - cv2.error: OpenCV(4.9.0) /var/tmp/portage/media-libs/opencv-4.9.0-r1/work/opencv-4.9.0/modules/imgcodecs/src/loadsave.cpp:1128: error: (-2:Unspecified error) could not find encoder for the specified extension in function 'imencode' FAILED tests/opencv_test.py::test_read_8_10_12_bit[images/heif/L_10__29x100.heif] - cv2.error: OpenCV(4.9.0) /var/tmp/portage/media-libs/opencv-4.9.0-r1/work/opencv-4.9.0/modules/imgcodecs/src/loadsave.cpp:1128: error: (-2:Unspecified error) could not find encoder for the specified extension in function 'imencode' FAILED tests/opencv_test.py::test_read_8_10_12_bit[images/heif/L_12__128x128.heif] - cv2.error: OpenCV(4.9.0) /var/tmp/portage/media-libs/opencv-4.9.0-r1/work/opencv-4.9.0/modules/imgcodecs/src/loadsave.cpp:1128: error: (-2:Unspecified error) could not find encoder for the specified extension in function 'imencode' FAILED tests/opencv_test.py::test_read_8_10_12_bit[images/heif/L_12__29x100.heif] - cv2.error: OpenCV(4.9.0) /var/tmp/portage/media-libs/opencv-4.9.0-r1/work/opencv-4.9.0/modules/imgcodecs/src/loadsave.cpp:1128: error: (-2:Unspecified error) could not find encoder for the specified extension in function 'imencode' FAILED tests/opencv_test.py::test_read_8_10_12_bit[images/heif/L_8__128x128.heif] - cv2.error: OpenCV(4.9.0) /var/tmp/portage/media-libs/opencv-4.9.0-r1/work/opencv-4.9.0/modules/imgcodecs/src/loadsave.cpp:1128: error: (-2:Unspecified error) could not find encoder for the specified extension in function 'imencode' FAILED tests/opencv_test.py::test_read_8_10_12_bit[images/heif/L_8__29x100.heif] - cv2.error: OpenCV(4.9.0) /var/tmp/portage/media-libs/opencv-4.9.0-r1/work/opencv-4.9.0/modules/imgcodecs/src/loadsave.cpp:1128: error: (-2:Unspecified error) could not find encoder for the specified extension in function 'imencode' FAILED tests/opencv_test.py::test_read_8_10_12_bit[images/heif/RGBA_10__128x128.heif] - cv2.error: OpenCV(4.9.0) /var/tmp/portage/media-libs/opencv-4.9.0-r1/work/opencv-4.9.0/modules/imgcodecs/src/loadsave.cpp:1128: error: (-2:Unspecified error) could not find encoder for the specified extension in function 'imencode' FAILED tests/opencv_test.py::test_read_8_10_12_bit[images/heif/RGBA_10__29x100.heif] - cv2.error: OpenCV(4.9.0) /var/tmp/portage/media-libs/opencv-4.9.0-r1/work/opencv-4.9.0/modules/imgcodecs/src/loadsave.cpp:1128: error: (-2:Unspecified error) could not find encoder for the specified extension in function 'imencode' FAILED tests/opencv_test.py::test_read_8_10_12_bit[images/heif/RGBA_12__128x128.heif] - cv2.error: OpenCV(4.9.0) /var/tmp/portage/media-libs/opencv-4.9.0-r1/work/opencv-4.9.0/modules/imgcodecs/src/loadsave.cpp:1128: error: (-2:Unspecified error) could not find encoder for the specified extension in function 'imencode' FAILED tests/opencv_test.py::test_read_8_10_12_bit[images/heif/RGBA_12__29x100.heif] - cv2.error: OpenCV(4.9.0) /var/tmp/portage/media-libs/opencv-4.9.0-r1/work/opencv-4.9.0/modules/imgcodecs/src/loadsave.cpp:1128: error: (-2:Unspecified error) could not find encoder for the specified extension in function 'imencode' FAILED tests/opencv_test.py::test_read_8_10_12_bit[images/heif/RGBA_8__128x128.heif] - cv2.error: OpenCV(4.9.0) /var/tmp/portage/media-libs/opencv-4.9.0-r1/work/opencv-4.9.0/modules/imgcodecs/src/loadsave.cpp:1128: error: (-2:Unspecified error) could not find encoder for the specified extension in function 'imencode' FAILED tests/opencv_test.py::test_read_8_10_12_bit[images/heif/RGBA_8__29x100.heif] - cv2.error: OpenCV(4.9.0) /var/tmp/portage/media-libs/opencv-4.9.0-r1/work/opencv-4.9.0/modules/imgcodecs/src/loadsave.cpp:1128: error: (-2:Unspecified error) could not find encoder for the specified extension in function 'imencode' FAILED tests/opencv_test.py::test_read_8_10_12_bit[images/heif/RGB_10__128x128.heif] - cv2.error: OpenCV(4.9.0) /var/tmp/portage/media-libs/opencv-4.9.0-r1/work/opencv-4.9.0/modules/imgcodecs/src/loadsave.cpp:1128: error: (-2:Unspecified error) could not find encoder for the specified extension in function 'imencode' FAILED tests/opencv_test.py::test_read_8_10_12_bit[images/heif/RGB_10__29x100.heif] - cv2.error: OpenCV(4.9.0) /var/tmp/portage/media-libs/opencv-4.9.0-r1/work/opencv-4.9.0/modules/imgcodecs/src/loadsave.cpp:1128: error: (-2:Unspecified error) could not find encoder for the specified extension in function 'imencode' FAILED tests/opencv_test.py::test_read_8_10_12_bit[images/heif/RGB_12__128x128.heif] - cv2.error: OpenCV(4.9.0) /var/tmp/portage/media-libs/opencv-4.9.0-r1/work/opencv-4.9.0/modules/imgcodecs/src/loadsave.cpp:1128: error: (-2:Unspecified error) could not find encoder for the specified extension in function 'imencode' FAILED tests/opencv_test.py::test_read_8_10_12_bit[images/heif/RGB_12__29x100.heif] - cv2.error: OpenCV(4.9.0) /var/tmp/portage/media-libs/opencv-4.9.0-r1/work/opencv-4.9.0/modules/imgcodecs/src/loadsave.cpp:1128: error: (-2:Unspecified error) could not find encoder for the specified extension in function 'imencode' FAILED tests/opencv_test.py::test_read_8_10_12_bit[images/heif/RGB_8__128x128.heif] - cv2.error: OpenCV(4.9.0) /var/tmp/portage/media-libs/opencv-4.9.0-r1/work/opencv-4.9.0/modules/imgcodecs/src/loadsave.cpp:1128: error: (-2:Unspecified error) could not find encoder for the specified extension in function 'imencode' FAILED tests/opencv_test.py::test_read_8_10_12_bit[images/heif/RGB_8__29x100.heif] - cv2.error: OpenCV(4.9.0) /var/tmp/portage/media-libs/opencv-4.9.0-r1/work/opencv-4.9.0/modules/imgcodecs/src/loadsave.cpp:1128: error: (-2:Unspecified error) could not find encoder for the specified extension in function 'imencode' FAILED tests/opencv_test.py::test_save_bgr_16bit_to_10_12_bit[images/non_heif/RGB_16__128x128.png-10] - AttributeError: 'NoneType' object has no attribute 'shape' FAILED tests/opencv_test.py::test_save_bgr_16bit_to_10_12_bit[images/non_heif/RGB_16__128x128.png-12] - AttributeError: 'NoneType' object has no attribute 'shape' FAILED tests/opencv_test.py::test_save_bgr_16bit_to_10_12_bit[images/non_heif/RGB_16__29x100.png-10] - AttributeError: 'NoneType' object has no attribute 'shape' FAILED tests/opencv_test.py::test_save_bgr_16bit_to_10_12_bit[images/non_heif/RGB_16__29x100.png-12] - AttributeError: 'NoneType' object has no attribute 'shape' FAILED tests/opencv_test.py::test_save_bgr_8bit_color_mode[images/non_heif/RGB_8__128x128.png] - AttributeError: 'NoneType' object has no attribute 'shape' FAILED tests/opencv_test.py::test_save_bgr_8bit_color_mode[images/non_heif/RGB_8__29x100.png] - AttributeError: 'NoneType' object has no attribute 'shape' FAILED tests/opencv_test.py::test_save_bgra_16bit_to_10_12_bit[images/non_heif/RGBA_16__128x128.png-10] - AttributeError: 'NoneType' object has no attribute 'shape' FAILED tests/opencv_test.py::test_save_bgra_16bit_to_10_12_bit[images/non_heif/RGBA_16__128x128.png-12] - AttributeError: 'NoneType' object has no attribute 'shape' FAILED tests/opencv_test.py::test_save_bgra_16bit_to_10_12_bit[images/non_heif/RGBA_16__29x100.png-10] - AttributeError: 'NoneType' object has no attribute 'shape' FAILED tests/opencv_test.py::test_save_bgra_16bit_to_10_12_bit[images/non_heif/RGBA_16__29x100.png-12] - AttributeError: 'NoneType' object has no attribute 'shape' FAILED tests/opencv_test.py::test_save_bgra_8bit_color_mode[images/non_heif/RGBA_8__128x128.png] - AttributeError: 'NoneType' object has no attribute 'shape' FAILED tests/opencv_test.py::test_save_bgra_8bit_color_mode[images/non_heif/RGBA_8__29x100.png] - AttributeError: 'NoneType' object has no attribute 'shape' tests/opencv_test.py::test_read_8_10_12_bit[images/heif/LA_8__128x128.heif] FAILED [336/690] tests/opencv_test.py::test_read_8_10_12_bit[images/heif/LA_8__29x100.heif] FAILED [335/690] tests/opencv_test.py::test_read_8_10_12_bit[images/heif/L_10__128x128.heif] FAILED [332/690] tests/opencv_test.py::test_read_8_10_12_bit[images/heif/L_10__29x100.heif] FAILED [331/690] tests/opencv_test.py::test_read_8_10_12_bit[images/heif/L_12__128x128.heif] FAILED [334/690] tests/opencv_test.py::test_read_8_10_12_bit[images/heif/L_12__29x100.heif] FAILED [333/690] tests/opencv_test.py::test_read_8_10_12_bit[images/heif/L_8__128x128.heif] FAILED [330/690] tests/opencv_test.py::test_read_8_10_12_bit[images/heif/L_8__29x100.heif] FAILED [329/690] tests/opencv_test.py::test_read_8_10_12_bit[images/heif/RGBA_10__128x128.heif] FAILED [346/690] tests/opencv_test.py::test_read_8_10_12_bit[images/heif/RGBA_10__29x100.heif] FAILED [345/690] tests/opencv_test.py::test_read_8_10_12_bit[images/heif/RGBA_12__128x128.heif] FAILED [348/690] tests/opencv_test.py::test_read_8_10_12_bit[images/heif/RGBA_12__29x100.heif] FAILED [347/690] tests/opencv_test.py::test_read_8_10_12_bit[images/heif/RGBA_8__128x128.heif] FAILED [344/690] tests/opencv_test.py::test_read_8_10_12_bit[images/heif/RGBA_8__29x100.heif] FAILED [343/690] tests/opencv_test.py::test_read_8_10_12_bit[images/heif/RGB_10__128x128.heif] FAILED [340/690] tests/opencv_test.py::test_read_8_10_12_bit[images/heif/RGB_10__29x100.heif] FAILED [339/690] tests/opencv_test.py::test_read_8_10_12_bit[images/heif/RGB_12__128x128.heif] FAILED [342/690] tests/opencv_test.py::test_read_8_10_12_bit[images/heif/RGB_12__29x100.heif] FAILED [341/690] tests/opencv_test.py::test_read_8_10_12_bit[images/heif/RGB_8__128x128.heif] FAILED [338/690] tests/opencv_test.py::test_read_8_10_12_bit[images/heif/RGB_8__29x100.heif] FAILED [337/690] tests/opencv_test.py::test_save_bgr_16bit_to_10_12_bit[images/non_heif/RGB_16__128x128.png-10] FAILED [319/690] tests/opencv_test.py::test_save_bgr_16bit_to_10_12_bit[images/non_heif/RGB_16__128x128.png-12] FAILED [320/690] tests/opencv_test.py::test_save_bgr_16bit_to_10_12_bit[images/non_heif/RGB_16__29x100.png-10] FAILED [317/690] tests/opencv_test.py::test_save_bgr_16bit_to_10_12_bit[images/non_heif/RGB_16__29x100.png-12] FAILED [318/690] tests/opencv_test.py::test_save_bgr_8bit_color_mode[images/non_heif/RGB_8__128x128.png] FAILED [326/690] tests/opencv_test.py::test_save_bgr_8bit_color_mode[images/non_heif/RGB_8__29x100.png] FAILED [325/690] tests/opencv_test.py::test_save_bgra_16bit_to_10_12_bit[images/non_heif/RGBA_16__128x128.png-10] FAILED [323/690] tests/opencv_test.py::test_save_bgra_16bit_to_10_12_bit[images/non_heif/RGBA_16__128x128.png-12] FAILED [324/690] tests/opencv_test.py::test_save_bgra_16bit_to_10_12_bit[images/non_heif/RGBA_16__29x100.png-10] FAILED [321/690] tests/opencv_test.py::test_save_bgra_16bit_to_10_12_bit[images/non_heif/RGBA_16__29x100.png-12] FAILED [322/690] tests/opencv_test.py::test_save_bgra_8bit_color_mode[images/non_heif/RGBA_8__128x128.png] FAILED [328/690] tests/opencv_test.py::test_save_bgra_8bit_color_mode[images/non_heif/RGBA_8__29x100.png] FAILED [327/690] E cv2.error: OpenCV(4.9.0) /var/tmp/portage/media-libs/opencv-4.9.0-r1/work/opencv-4.9.0/modules/imgcodecs/src/loadsave.cpp:1128: error: (-2:Unspecified error) could not find encoder for the specified extension in function 'imencode'
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=376a93b5e689b3b230bd404d9a587191f27972e3 commit 376a93b5e689b3b230bd404d9a587191f27972e3 Author: Takuya Wakazono <pastalian46@gmail.com> AuthorDate: 2024-06-08 12:48:43 +0000 Commit: Takuya Wakazono <pastalian46@gmail.com> CommitDate: 2024-06-08 13:01:50 +0000 dev-python/pillow-heif: fix test dependency Closes: https://bugs.gentoo.org/933782 Signed-off-by: Takuya Wakazono <pastalian46@gmail.com> dev-python/pillow-heif/pillow-heif-0.15.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)