sikuli script stops randomly with the following error: org.opencv.core.CvException: CvException [org.opencv.core.CvException: cv::Exception: OpenCV(3.4.2)
im using a sikuli script that is executed on a host machine (Windows 7 64) using sikuli 2.0.4. the script monitors changes of a program that is run on a windows 7 64 VM. though out the execution, the script tends to shut down randomly with these error messages:
[07:55:45][Step 16/17] File "C:\cp\
[07:55:45][Step 16/17] if exists(
[07:55:45][Step 16/17]
[07:55:45][Step 16/17] at org.opencv.
[07:55:45][Step 16/17] at org.opencv.
[07:55:45][Step 16/17] at org.sikuli.
[07:55:45][Step 16/17] at org.sikuli.
[07:55:45][Step 16/17] at org.sikuli.
[07:55:45][Step 16/17] at org.sikuli.
[07:55:45][Step 16/17] at org.sikuli.
[07:55:45][Step 16/17] at org.sikuli.
[07:55:45][Step 16/17] at org.sikuli.
[07:55:45][Step 16/17] at org.sikuli.
[07:55:45][Step 16/17] at org.sikuli.
[07:55:45][Step 16/17] at org.sikuli.
[07:55:45][Step 16/17] at sun.reflect.
[07:55:45][Step 16/17] at sun.reflect.
[07:55:45][Step 16/17] at java.lang.
[07:55:45][Step 16/17] org.opencv.
i looked arround and found similar cases where these error messages are being reported; the issue that is mostly discussed is memory shortage, and how it impacts openCV. so since i was running the VM with 23G RAM, i decreased it to 8G to provide the host with more RAM . unfortunatly that did not help much. i then, tried the to decrease the size of the image where the error is triggered as suggested here: https:/
are there any tips you could give me to help overcome this ? or maybe alterations in within the script code if necessary?
thanks in advance .
Question information
- Language:
- English Edit question
- Status:
- Expired
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply: