← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #706071]: Sikuli 2.0.5 IDE after change i need to restart IDE

 

Question #706071 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/706071

Filipe Barbosa posted a new comment:
This is my example code:

______________________________________________

#main.sikuli
import staticUtils as su

print("in main")
su.test1()

_________________________________________________

# sub.sikuli
from sikuli import *


def test1():
    print("in subx")

_________________________________________

after change the print "in sub" to "in subx" i receive:


Traceback (most recent call last):
  File "<string>", line 1, in <module>
NameError: name 'staticUtils' is not defined
[error] IDE: Run Script: internal error:

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