sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #02501
[Bug 777037] [NEW] X-1.0rc2: findAll() fails instead of returning None
Public bug reported:
According to docs, findAll() should return None if images are not found, but it fails instead.
Docs: http://sikuli.org/docx/region.html#Region.findAll
Command: fields = findAll([image here])
[profile] Finder.findAll START
[profile] Finder.findAll END: 1074ms
[error] Stopped
[error] An error occurs at line 6
[error] Error message: Traceback (most recent call last):
File "C:\Users\useri\AppData\Local\Temp\sikuli-tmp2446174342086249181.py", line 6, in
lettu_fields = findAll("1304497590779.png")
File "C:\SikuliX\sikuli-script.jar\Lib\sikuli\Region.py", line 76, in findAll
Line 14, in file C:\Users\useri\AppData\Local\Temp\sikuli-tmp2446174342086249181.py
at org.sikuli.script.Region.handleFindFailed(Region.java:349)
at org.sikuli.script.Region.findAll(Region.java:386)
at org.python.proxies.sikuli.Region$Region$1.super__findAll(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
org.sikuli.script.FindFailed: FindFailed: can not find 1304497590779.png
Line 14
, in file C:\Users\useri\AppData\Local\Temp\sikuli-tmp2446174342086249181.py
** Affects: sikuli
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/777037
Title:
X-1.0rc2: findAll() fails instead of returning None
Status in Sikuli:
New
Bug description:
According to docs, findAll() should return None if images are not found, but it fails instead.
Docs: http://sikuli.org/docx/region.html#Region.findAll
Command: fields = findAll([image here])
[profile] Finder.findAll START
[profile] Finder.findAll END: 1074ms
[error] Stopped
[error] An error occurs at line 6
[error] Error message: Traceback (most recent call last):
File "C:\Users\useri\AppData\Local\Temp\sikuli-tmp2446174342086249181.py", line 6, in
lettu_fields = findAll("1304497590779.png")
File "C:\SikuliX\sikuli-script.jar\Lib\sikuli\Region.py", line 76, in findAll
Line 14, in file C:\Users\useri\AppData\Local\Temp\sikuli-tmp2446174342086249181.py
at org.sikuli.script.Region.handleFindFailed(Region.java:349)
at org.sikuli.script.Region.findAll(Region.java:386)
at org.python.proxies.sikuli.Region$Region$1.super__findAll(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
org.sikuli.script.FindFailed: FindFailed: can not find 1304497590779.png
Line 14
, in file C:\Users\useri\AppData\Local\Temp\sikuli-tmp2446174342086249181.py
Follow ups
-
[Bug 777037] Re: X-1.0rc2: findAll() fails instead of returning None --- doc updated
From: RaiMan, 2011-05-12
-
[Bug 777037] Re: X-1.0rc2: findAll() fails instead of returning None --- doc updated
From: anatoly techtonik, 2011-05-09
-
[Bug 777037] Re: X-1.0rc2: findAll() fails instead of returning None --- doc updated
From: RaiMan, 2011-05-07
-
[Bug 777037] Re: X-1.0rc2: findAll() fails instead of returning None --- doc updated
From: anatoly techtonik, 2011-05-07
-
[Bug 777037] Re: X-1.0rc2: findAll() fails instead of returning None --- doc updated
From: RaiMan, 2011-05-05
-
[Bug 777037] Re: X-1.0rc2: findAll() fails instead of returning None --- doc updated
From: anatoly techtonik, 2011-05-05
-
[Bug 777037] Re: X-1.0rc2: findAll() fails instead of returning None --- doc updated
From: anatoly techtonik, 2011-05-05
-
[Bug 777037] Re: X-1.0rc2: findAll() fails instead of returning None --- doc to be updated
From: RaiMan, 2011-05-05
-
[Bug 777037] Re: X-1.0rc2: findAll() fails instead of returning None --- doc to be updated
From: anatoly techtonik, 2011-05-05
-
[Bug 777037] Re: X-1.0rc2: findAll() fails instead of returning None --- doc to be updated
From: RaiMan, 2011-05-04
-
[Bug 777037] Re: X-1.0rc2: findAll() fails instead of returning None --- doc to be updated
From: RaiMan, 2011-05-04
-
[Bug 777037] Re: X-1.0rc2: findAll() fails instead of returning None --- doc to be updated
From: RaiMan, 2011-05-04
-
[Bug 777037] Re: X-1.0rc2: findAll() fails instead of returning None
From: RaiMan, 2011-05-04
-
[Bug 777037] [NEW] X-1.0rc2: findAll() fails instead of returning None
From: anatoly techtonik, 2011-05-04
References