[1.1.4] IDE: getting ImageMissing with multiple imports depending on what is main

Asked by Linda on 2019-10-14

I run script A with B.png.
I sometimes run fail,show

If I encounter this situation,I need to reopen sikuliX.IDE.
Rerun script will pass.
This situation is reproduced randomly.

Question information

English Edit question
Sikuli Edit question
No assignee Edit question
Last query:
Last reply:

This question was reopened

RaiMan (raimund-hocke) said : #1

what exactly are you doing before this happens?

Linda (kkea55534) said : #2

I maybe run script C.
But these two scripts do not have any relation.

Linda (kkea55534) said : #4

I add command 'print getImagePath' to debug.

I find that

If script A :
Import C
Import D
Import E
def Afunction():
if __name__ == __main__:

script B:
Import C
Import D
Import E
def Bfunction():
if __name__ == __main__:

If I first run B.sikuli , it run normally. (getImagePath: B,C,D,E)
But I run A.sikuli,then run B.sikuli , it will show ImageMissing XXX.png(getImagePath:B,C,E)XXX.png is import from D

Do you have any comment about this?

Linda (kkea55534) said : #5

I try with sikuli 1.1.4 , there is same situation.


RaiMan (raimund-hocke) said : #6

ok, thanks for the detailed information.

I will check, fix anything needed asap and answer here.

Linda (kkea55534) said : #7

Is there any update about this?


RaiMan (raimund-hocke) said : #8

sorry, no.

It moved to lower priority, but will move up again the next days, when I have finished the works around the release of 2.0.0.

Can you help with this problem?

Provide an answer of your own, or ask Linda for more information if necessary.

To post a message you must log in.