← Back to team overview

sikuli-driver team mailing list archive

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: Answered => Open

Dev S is still having a problem:
It runs fine till this point- Self.log.passed, and passes the validation
but stops with an error.

                     type("n", KeyModifier.ALT)
                    wait(3)
                    type("m")
                    wait(7)
                    if exists("packagertab.png"):
                            click("packagertab.png")
                            self.log.passed("New media packager tab - passed")
                    else:
                            self.log.failed("New media packager tab - failed")
                            wait(2)


Error:
[log] ( Alt )  TYPE "n"
[log]  TYPE "m"
[log] CLICK on L[339,95]@S(0) (537 msec)
*INFO* PASS: New media packager tab - passed
[error] script [ LMP_automated_tests ] stopped with error in line 292
[error] AttributeError ( 'NoneType' object has no attribute 'getX' )
[error] --- Traceback --- error source first
line: module ( function ) statement 
54: logger (  passed )     region = (last_match.getX(), last_match.getY(), last_match.getW(), last_match.getH())
106: main (  lmp_publishing_package )     self.log.passed("New media packager tab - passed")
287: main (  runTest )     self.lmp_publishing_package()
292: main (  <module> )     story.runTest()
[error] --- Traceback --- end --------------

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for SikuliX.