← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #687794]: Calling a click from a sub-routine causes an exception.

 

Question #687794 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/687794

    Status: Open => Needs information

RaiMan requested more information:
-  I discovered that the image path does not contain the sub-routine folder as it apparently should
This can only mean, that the function is not in the same file as the calling statement.

Did you use 
from subScript import *
print test() 

having a 
subScript.sikuli

containing
def test():
    click("1578666326196.png")
    return(0)

and did you create subScript.sikuli regularly in the IDE including the
image capture?

All this information was missing along your posts. sorry.

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.