[1.1.4] Exception when using grayscale images - fixed 2018-10-06 build #104
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SikuliX |
Fix Released
|
Critical
|
RaiMan |
Bug Description
I'm getting the following exception when checking if an image exists. From what I can tell, the image doesn't have any visible transparency but the image is a .png. If I switch the image to a .jpg, it won't throw the exception. This is happening way too often for me to continue using 1.1.4 since I'm using a library of 1,000+ images.
[error] script [ C:\Scripts\
[error] Error caused by: Traceback (most recent call last):
File "C:\Scripts\
gTest.run(main)
File "C:\Scripts\
if func(vnc, *args) == True:
File "C:\Scripts\
if func(vnc, *args) == True:
File "C:\Scripts\
findImage(reg, img.optionYes[
File "C:\Scripts\
match = reg.exists(n, 0)
]
at org.opencv.
at org.opencv.
at org.sikuli.
at org.sikuli.
at org.sikuli.
at org.sikuli.
at org.sikuli.
at org.sikuli.
at org.sikuli.
at org.sikuli.
at org.sikuli.
at org.sikuli.
at sun.reflect.
at sun.reflect.
at sun.reflect.
at java.lang.
org.opencv.
summary: |
- [1.1.4] Exception when using grayscale images - fixed 2018-10-05 + [1.1.4] Exception when using grayscale images - fixed 2018-10-05 build + #101 |
Changed in sikuli: | |
status: | Fix Committed → Fix Released |
milestone: | 1.1.4 → 2.0.0 |
Could you send me one of the offending .png files?
Might be an image type, that is not correctly converted to OpenCV Mat.