sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #57164
Re: [Question #697041]: Run error - [error] AttributeError ( 'NoneType' object has no attribute 'getX' )
Question #697041 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/697041
Status: Open => Answered
Manfred Hampl proposed the following answer:
[error] AttributeError ( 'NoneType' object has no attribute 'getX' )
...
54: logger ( passed ) region = (last_match.getX(), last_match.getY(), last_match.getW(),
Apparently last_match is undefined or empty in that moment. Where was
this meant to be set?
Eventually you should use getLastMatch().getX() etc.
--
You received this question notification because your team Sikuli Drivers
is an answer contact for SikuliX.