Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 933782 - [guru] dev-python/pillow-heif-0.15.0 fails tests: FAILED RGB_16__29x100.png-10] - AttributeError: NoneType object has no attribute shape
Summary: [guru] dev-python/pillow-heif-0.15.0 fails tests: FAILED RGB_16__29x100.png-1...
Status: RESOLVED FIXED
Alias: None
Product: GURU
Classification: Unclassified
Component: Package issues (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Takuya Wakazono
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2024-06-08 05:56 UTC by Agostino Sarubbo
Modified: 2024-06-08 13:21 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,246.14 KB, text/plain)
2024-06-08 05:56 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2024-06-08 05:56:57 UTC
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
Comment 1 Agostino Sarubbo gentoo-dev 2024-06-08 05:56:58 UTC
Created attachment 895378 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2024-06-08 05:56:59 UTC
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'
Comment 3 Larry the Git Cow gentoo-dev 2024-06-08 13:21:11 UTC
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(-)