sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #51354
Re: [Question #272509]: Images could not be loaded
Question #272509 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/272509
RaiMan posted a new comment:
This setup works fine with version 1.1.4 latest build (I do not support
earlier versions anymore with such problems):
#main.sikuli
folder = "/Users/raimundhocke/SikuliX/SX1/SX114/testMainSub/level1/level2"
addImportPath(folder) # 1.1.4: convenience feature
import farSub # 1.1.4: no reload() needed
farSub.show()
print "BPath:", getBundlePath()
for e in getImagePath(): print "IPath:", e
for e in sys.path: print "SPath:", e
img = "img.png"
hover(img)
#farSub.sikuli (stored at .../level2)
from sikuli import *
imgSub = "imgSub.png"
def show():
print "hello from farSub"
hover(imgSub)
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.