sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #34596
[Bug 1495973] Re: fatal error 999 / doFind: invalid parameter
Result = wait("MyImage.png")
Pattern_Before_Remove = Result.nearby()
<various actions>
WaitResult = waitVanish(Pattern_Before_Remove,120)
In your workflow Pattern_Before_Remove is a Region object.
waitVanish() needs either an image filename or a Pattern object as parameter, to look for it to vanish.
Hence you have to capture the content of the region:
Pattern_Before_Remove = capture(Result.nearby())
** Changed in: sikuli
Status: New => Invalid
--
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1495973
Title:
fatal error 999 / doFind: invalid parameter
Status in Sikuli:
Invalid
Bug description:
+++ running this Java
java version "1.8.0_60"
Java(TM) SE Runtime Environment (build 1.8.0_60-b27)
Java HotSpot(TM) Client VM (build 25.60-b23, mixed mode, sharing)
+++ trying to run SikuliX
+++ using: -Xms64M -Xmx512M -Dfile.encoding=UTF-8 -Dsikuli.FromCommandLine -jar U:\generic\SIKULI\sikulix.jar -r C:\Users\Administrateur\AppData\Local\Temp\TAuto\Setup\Server_Uninstall.sikuli --stderr -d 3
[debug] RunTimeINIT: loadOptions: check: C:\Users\Administrateur\AppData\Local\Temp\TAuto\TESTDATA
[debug] RunTimeINIT: loadOptions: check: C:\Users\Administrateur
[debug] RunTimeINIT: loadOptions: check: C:\Users\Administrateur\AppData\Roaming\Sikulix\SikulixStore
[debug] RunTimeINIT: global init: entering as: IDE
[debug] RunTimeINIT: ScreenDevice 0 has (0,0) --- will be primary Screen(0)
[debug] RunTimeINIT: Monitor 0: (0, 0) 1280 x 960
[debug] RunTimeINIT: fSxBase: U:\generic\SIKULI
[debug] RunTimeINIT: runs as sikulix.jar in: U:\generic\SIKULI
[debug] RunTimeINIT: exists libs folder at: C:\Users\Administrateur\AppData\Roaming\Sikulix\SikulixLibs_201509150100
[debug] RunTimeINIT: addToWindowsSystemPath: added to systempath:
....
Result = wait("MyImage.png")
Pattern_Before_Remove = Result.nearby()
<various actions>
WaitResult = waitVanish(Pattern_Before_Remove,120)
[debug] Region: find: waiting 3,0 secs for R[473,385 282x118]@S(0)[0,0 1280x960] E:Y, T:3,0 to appear in R[0,0 1280x960]@S(0)
[error] Region: doFind: invalid parameter: R[473,385 282x118]@S(0)[0,0 1280x960] E:Y, T:3,0
[error] ***** Terminating SikuliX after a fatal error 999 *****
It makes no sense to continue!
If you do not have any idea about the error cause or solution, run again
with a Debug level of 3. You might paste the output to the Q&A board.
[debug] Sikulix: cleanUp: 0
[debug] RunTimeIDE: final cleanup
To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1495973/+subscriptions
References