I installed Beta 1 with ALL packages, still failed. Here's the exact
script and exact output I get.
# Setup: Put the text 'BR549' in a TextEdit document
App.open('TextEdit')
wait(2)
Settings.OcrTextSearch = True
Settings.OcrTextRead = True
print Settings.OcrTextSearch
print Settings.OcrTextRead
print Settings.JavaVersion
print Settings.JREVersion
# select a region of text around BR549 to make sure it's not anything with
matching
r = selectRegion()
print r.text() # this works, we can read text from the screen
m = r.exists('BR549')
Output:
True
True
7
1.7.0_55-b13
BR549
[error] Image: could not be loaded from
/Users/bjanzen/Python/Sikuli/L10N-test.sikuli/BR549.png
over and over...
We're also seeing another bug on multiple machines: we're unable to grab /
find images in menus and window toolbars on Mac. I'll explore more and
file a bug. We're probably limited to going back to 1.0.1 for now.
On Tue, May 20, 2014 at 10:16 AM, RaiMan <email address hidden> wrote:
> Sorry, not yet checked this.
>
> Since it is another question as comment beneath something else, it
> vanished from my desk ;-)
>
> after having tried the new build of Beta1, you should post a bug on
> that.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1318074
>
> Title:
> [1.1.0-Beta1] IDE wont load script with an image from a addImagePath()
> or with a not existing image
>
> Status in Sikuli:
> Confirmed
>
> Bug description:
> Worse yet, commenting out this image in the script didn't work either.
>
> Mac Mavericks 10.9.2, Java 7, SikuliX 1.1.0
>
> Steps to repo:
>
> 1. Create an image in a folder to be loaded, e.g.
> /var/tmp/images/foo.png
> 2. Create a script /Users/me/bar.sikuli/bar.py that loads that image as
> so:
>
> addImagePath('/var/tmp/images')
> click('foo.png')
>
> 3. Save and open the script in the IDE:
> Expected: script to open
> Got:
> [error] Image: could not be loaded from /var/tmp/images/foo..png
> [error] Can't load file /Users/me/bar.sikuli/ --- check available
> runners!
>
> Open the same file in 1.0.1. It works.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/sikuli/+bug/1318074/+subscriptions
>
I installed Beta 1 with ALL packages, still failed. Here's the exact 'TextEdit' ) OcrTextSearch = True OcrTextRead = True OcrTextSearch OcrTextRead JavaVersion
script and exact output I get.
# Setup: Put the text 'BR549' in a TextEdit document
App.open(
wait(2)
Settings.
Settings.
print Settings.
print Settings.
print Settings.
print Settings.JREVersion
# select a region of text around BR549 to make sure it's not anything with
matching
r = selectRegion()
print r.text() # this works, we can read text from the screen
m = r.exists('BR549')
Output:
True
True
7
1.7.0_55-b13
BR549 bjanzen/ Python/ Sikuli/ L10N-test. sikuli/ BR549.png
[error] Image: could not be loaded from
/Users/
over and over...
We're also seeing another bug on multiple machines: we're unable to grab /
find images in menus and window toolbars on Mac. I'll explore more and
file a bug. We're probably limited to going back to 1.0.1 for now.
On Tue, May 20, 2014 at 10:16 AM, RaiMan <email address hidden> wrote:
> Sorry, not yet checked this. /bugs.launchpad .net/bugs/ 1318074 images/ foo.png me/bar. sikuli/ bar.py that loads that image as '/var/tmp/ images' ) images/ foo..png me/bar. sikuli/ --- check available /bugs.launchpad .net/sikuli/ +bug/1318074/ +subscriptions
>
> Since it is another question as comment beneath something else, it
> vanished from my desk ;-)
>
> after having tried the new build of Beta1, you should post a bug on
> that.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https:/
>
> Title:
> [1.1.0-Beta1] IDE wont load script with an image from a addImagePath()
> or with a not existing image
>
> Status in Sikuli:
> Confirmed
>
> Bug description:
> Worse yet, commenting out this image in the script didn't work either.
>
> Mac Mavericks 10.9.2, Java 7, SikuliX 1.1.0
>
> Steps to repo:
>
> 1. Create an image in a folder to be loaded, e.g.
> /var/tmp/
> 2. Create a script /Users/
> so:
>
> addImagePath(
> click('foo.png')
>
> 3. Save and open the script in the IDE:
> Expected: script to open
> Got:
> [error] Image: could not be loaded from /var/tmp/
> [error] Can't load file /Users/
> runners!
>
> Open the same file in 1.0.1. It works.
>
> To manage notifications about this bug go to:
> https:/
>