← Back to team overview

sikuli-driver team mailing list archive

[Question #146308]: import .sikuli

 

New question #146308 on Sikuli:
https://answers.launchpad.net/sikuli/+question/146308

Hi,
    i try import sikuli script in other sikuli script.
When i try execute the sikuli script, the ide launch me the next error.

Traceback (most recent call last): File "/tmp/sikuli-tmp3411706798997898423.py", line 37, in   from mountPanel import * File "/home/jantogni/Documentos/automatic_test/sikuli/Sikuli-X-1.0rc2-linux/Sikuli-IDE/sikuli-script.jar/Lib/sikuli/SikuliImporter.py", line 42, in load_module File "/home/jantogni/Documentos/automatic_test/sikuli/Sikuli-X-1.0rc2-linux/Sikuli-IDE/sikuli-script.jar/Lib/sikuli/SikuliImporter.py", line 26, in _load_module ImportError: Errors in loading sikuli module: mountPanel You may need to add "from sikuli.Sikuli import *" in the module. Non-ASCII character in file '/home/jantogni/Test/sikuli/mountPanel.sikuli/mountPanel.py', but no encoding declared; see http://www.python.org/peps/pep-0263.html for details

Thank =).

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.