← Back to team overview

sikuli-driver team mailing list archive

[Question #668125]: (Portuguese) Alguém pode me ajudar? É urgente..

 

A question was asked in a language (Portuguese) spoken by
none of the registered Sikuli answer contacts.

https://answers.launchpad.net/sikuli/+question/668125

Gostaria de entender porque só roda o primeiro script e ainda surge os erros abaixo. Sou muito novo nisto  e quero muito entender.

popup("hello, I am script1")
import script2
script2.myPop() # call function myPop in script2

Script2
from sikuli import *
popup("hello, I am script2")
def myPop(): # this defines a function
    popup("hello, I am script2")

Error: [error] script [ Script1 ] stopped with error at line --unknown--
[error] Error caused by: Traceback (most recent call last): File "C:\Testes\Script1.sikuli\Script1.py", line 2, in <module> import script2 File "C:\Users\Silvio Aulik\Desktop\sikulix.jar\Lib\sikuli\SikuliImporter.py", line 45, in load_module File "C:\Users\Silvio Aulik\Desktop\sikulix.jar\Lib\sikuli\SikuliImporter.py", line 27, in _load_module ImportError: script2.sikuli has no script2.py

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