2013-08-24 15:31:34 |
RaiMan |
bug |
|
|
added bug |
2013-08-24 15:31:41 |
RaiMan |
sikuli: status |
New |
Fix Committed |
|
2013-08-24 15:31:46 |
RaiMan |
sikuli: importance |
Undecided |
High |
|
2013-08-24 15:31:49 |
RaiMan |
sikuli: assignee |
|
RaiMan (raimund-hocke) |
|
2013-08-24 15:31:52 |
RaiMan |
sikuli: milestone |
|
1.1.0 |
|
2013-08-24 15:33:08 |
RaiMan |
description |
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. |
----- workaround:
either add
import org.sikuli.script.FindFailed as FindFailed
at the beginning of the script
or use a plain except: without mentioning FindFailed
----------------------------------------------------------
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. |
|
2013-08-24 18:13:14 |
RaiMan |
sikuli: importance |
High |
Critical |
|
2013-08-25 17:43:54 |
RaiMan |
summary |
[1.0.1] NameError ( name 'FindFailed' is not defined ) -- workaround |
[1.0.1 ok] NameError ( name 'FindFailed' is not defined ) -- workaround |
|
2013-09-04 07:31:17 |
RaiMan |
summary |
[1.0.1 ok] NameError ( name 'FindFailed' is not defined ) -- workaround |
[1.0.1 ok] NameError ( name 'FindFailed' is not defined ) |
|
2013-09-04 07:32:16 |
RaiMan |
description |
----- workaround:
either add
import org.sikuli.script.FindFailed as FindFailed
at the beginning of the script
or use a plain except: without mentioning FindFailed
----------------------------------------------------------
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. |
---- 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. |
|