sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #47714
Re: [Question #670801]: Unable to use Finder with Jython where Screen works OK
Question #670801 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/670801
Status: Answered => Open
forrest is still having a problem:
Yes, I would expect that but it does not.
Here is same code with prints to demonstrate:
import org.sikuli.script.SikulixForJython
from org.sikuli.script import Region, Finder
imageview = Finder("emsample/emsample_screenshot.png")
topLeft = imageview.find("emsample/rtviewLeftMenu.png")
topRight = imageview.find("emsample/rtviewRightMenu.png")
print("topLeft: %s, class: %s" % (topLeft, topLeft.__class__.__name__))
print("topRight: %s, class: %s" % (topRight, topRight.__class__.__name__))
pass
Eclipse Console Output:
console: Failed to install '': java.nio.charset.UnsupportedCharsetException: cp0.
topLeft: C:\forrest\workspace\slqa_jython\slqa\sikuli\emsample\rtviewLeftMenu.png, class: unicode
topRight: C:\forrest\workspace\slqa_jython\slqa\sikuli\emsample\rtviewRightMenu.png, class: unicode
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.