sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #17369
Re: [Question #226007]: how do i for create one switch test in sikuli?
Question #226007 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/226007
Status: Answered => Open
Raphael Silva is still having a problem:
when I run the script displays the following error. can you helpe me
#main.sikuli
import os
dir = os.path.dirname(getBundlePath()) # our working dir with the scripts
# run some scripts in sequence
# run some scripts in sequence
for script in ("LancarItem", "Login"):
scriptsik = script + ".sikuli"
scriptpy = os.path.join(scriptsik, script + ".py")
setBundlePath(os.path.join(dir, scriptsik)) # folder for images
[error in line] execfile(os.path.join(dir, scriptpy)) # runs the code
[error] Mensagem de erro: Traceback (most recent call last):
File "C:\DOCUME~1\RAPHAE~1.SIL\CONFIG~1\Temp\sikuli-tmp2386847713184182220.py", line 10, in
execfile(os.path.join(dir, scriptpy)) # runs the code
SyntaxError: Non-ASCII character in file 'C:\mylib\LancarItem.sikuli\LancarItem.py', but no encoding declared; see http://www.python.org/peps/pep-0263.html for details
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.