can't update code

Asked by Ju1+i-我. on 2019-06-03

dear, below is original code and can be executed normally

def login_snow():
    log1.write_log("start login_Snow.")
    type('d', Key.WIN)
    if exists("1501554816480.png", 3):
        doubleClick("1501554816480.png")
        wait(2)

i added " wait(2) " , but failed when i click save button ,
def login_snow():
    log1.write_log("start login_Snow.")
    type('d', Key.WIN)
    wait(2)
    if exists("1501554816480.png", 3):
        doubleClick("1501554816480.png")
        wait(2)

log as below :
[error] IDE: Problem when trying to invoke menu action doSave Error: null
 can you pls help me on this ? thanks in advance

Question information

Language:
English Edit question
Status:
Answered
For:
Sikuli Edit question
Assignee:
No assignee Edit question
Last query:
2019-06-05
Last reply:
2019-06-05
Ju1+i-我. (1ju2+i-a.) said : #1

dear , i found that code was updated even though there's error when save , is there any issue ?

masuo (masuo-ohara) said : #2

what sikulix version ?

Ju1+i-我. (1ju2+i-a.) said : #3

it's 1.1.2

Ju1+i-我. (1ju2+i-a.) said : #4

windows x86_64-bit

masuo (masuo-ohara) said : #5

Can you help with this problem?

Provide an answer of your own, or ask Ju1+i-我. for more information if necessary.

To post a message you must log in.