sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #20581
[Bug 1216338] Re: [1.0.1 ok] NameError ( name 'FindFailed' is not defined )
** Summary changed:
- [1.0.1 ok] NameError ( name 'FindFailed' is not defined ) -- workaround
+ [1.0.1 ok] NameError ( name 'FindFailed' is not defined )
** Description changed:
- ----- workaround:
-
- either add
- import org.sikuli.script.FindFailed as FindFailed
-
- at the beginning of the script
- or use a plain except: without mentioning FindFailed
-
- ----------------------------------------------------------
+ ---- fixed in 1.0.1 per Sep 2 at 20 pm gmt+1
+ run setup again after that time to get the fix
+ ----------------------------------------------
Hello!
I've just downloaded the newest version of Sikuli - 1.0.1. I'm glad many work has been done (though saving the project doesn't work sometimes, as in the previous versions), now I don't need to click a few times on the sikuli-ide to have it finally opened. I really appreciate your work!
However, I have a problem with try except blocks. When I open my
project, run it and it doesn't find an object to click on, it stops and
I get
[error] NameError ( name 'FindFailed' is not defined )
It occures in the line where I want the script to double click on
something. This part of my code in short looks like that:
try:
doubleClick(photo)
except FindFailed:
exit()
I'm really dying to get to know the problem and solve it because it's
quite important for my work.
Greetings,
Daniel
EDIT:
Just to make sure there are no qustions about that - it all worked well with the previous version.
--
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1216338
Title:
[1.0.1 ok] NameError ( name 'FindFailed' is not defined )
Status in Sikuli:
Fix Committed
Bug description:
---- fixed in 1.0.1 per Sep 2 at 20 pm gmt+1
run setup again after that time to get the fix
----------------------------------------------
Hello!
I've just downloaded the newest version of Sikuli - 1.0.1. I'm glad many work has been done (though saving the project doesn't work sometimes, as in the previous versions), now I don't need to click a few times on the sikuli-ide to have it finally opened. I really appreciate your work!
However, I have a problem with try except blocks. When I open my
project, run it and it doesn't find an object to click on, it stops
and I get
[error] NameError ( name 'FindFailed' is not defined )
It occures in the line where I want the script to double click on
something. This part of my code in short looks like that:
try:
doubleClick(photo)
except FindFailed:
exit()
I'm really dying to get to know the problem and solve it because it's
quite important for my work.
Greetings,
Daniel
EDIT:
Just to make sure there are no qustions about that - it all worked well with the previous version.
To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1216338/+subscriptions
References