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

Asked by Linda

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

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

Question information

Language:
English Edit question
Status:
Answered
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:

This question was reopened

Revision history for this message
RaiMan (raimund-hocke) said :
#1

what exactly are you doing before this happens?

Revision history for this message
Linda (kkea55534) said :
#2

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

Revision history for this message
Linda (kkea55534) said :
#4

Hi,RaiMain
I add command 'print getImagePath' to debug.

I find that

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

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

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?

Revision history for this message
Linda (kkea55534) said :
#5

Hi,RainMain
I try with sikuli 1.1.4 , there is same situation.

Thanks.

Revision history for this message
RaiMan (raimund-hocke) said :
#6

ok, thanks for the detailed information.

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

Revision history for this message
Linda (kkea55534) said :
#7

Hi,RaiMan
Is there any update about this?

Thanks

Revision history for this message
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.