← 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: Answered => Open

Mark McGuinn is still having a problem:
Here is the simplest test case:

result = test()
print result

which calls:


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

The image it is calling is just the "Sikuli" link on the page above. The
error as reported is:


[error] ImagePath: find: not there: 1578666326196.png
[error] script [ call_bug_routine ] stopped with error in line 1
[error] FindFailed ( 1578666326196.png not loaded )
[error] --- Traceback --- error source first
line: module ( function ) statement 
2: bug_routine (  test )     click("1578666326196.png")
1: main (  <module> )     resu8lt = test()
[error] --- Traceback --- end --------------

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