sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #25946
Re: [Bug 1318074] Re: Regression: 1.1.0 IDE wont load script with an image from a addImagePath()
Possibly another, one that works in 1.0.1 but not in 1.1.0:
In https://answers.launchpad.net/sikuli/+question/139475 I wrote:
@RaiMan, this broke in 1.1.0? I've had issues with finding text on
screen,
m = r.exists("534438",0)
because it's looking for 534438.png, not the text. I built with Tesseract,
and have preferences set to do OCR, but still nothing. (Mavericks, Java 7,
Sikuli 1.1.0). Bug?
On Fri, May 9, 2014 at 4:38 PM, RaiMan <rmhdevelop@xxxxxx> wrote:
> confirmed. thanks for finding.
>
> … but this is a general problem with not existing images
>
> The problem can be reproduced with a simple one-liner.
> "foo.png"
>
> the script can be saved, but the IDE does not get back to a normal state.
> when trying to open, the script is not loaded into the editor tab.
>
> I will check and fix it as soon as possible.
>
> ** Summary changed:
>
> - Regression: 1.1.0 IDE wont load script with an image from a
> addImagePath()
> + [1.1.0-Beta1] IDE wont load script with an image from a addImagePath()
> or with a not existing image
>
> ** Changed in: sikuli
> Status: New => In Progress
>
> ** Changed in: sikuli
> Importance: Undecided => Critical
>
> ** Changed in: sikuli
> Assignee: (unassigned) => RaiMan (raimund-hocke)
>
> ** Changed in: sikuli
> Milestone: None => 1.1.0
>
> ** Changed in: sikuli
> Status: In Progress => Confirmed
>
> --
> 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
>
--
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
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
References