[1.0.1] Error Traceback Display Wrong Line when FindFailed in imported script --- fixed in 1.1.0
Bug #1230928 reported by
shawn kirsch
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SikuliX |
Fix Committed
|
Critical
|
RaiMan |
Bug Description
If I have a lib called testLib and I import it into another moduel say curModule and then call a function in testLib, if it fails in the function I'm calling to testLib it will say there was an error in curModule on line whatever, although it's actually failing on a separate line in the testLib. Can sikuli not inspect it deep enough? this make debugging a pain in the ass.
summary: |
[1.0.1] Error Traceback Display Wrong Line when FindFailed in imported - script + script --- fixed in 1.1.0 |
Changed in sikuli: | |
importance: | High → Critical |
To post a comment you must log in.
you should get an error message like this:
[error] script [ main ] stopped with error in line 7
[error] ZeroDivisionError ( integer division or modulo by zero )
[error] --- Traceback --- error source first
line: module ( function ) statement
6: sub ( test ) 1/0
[error] --- Traceback --- end --------------
... this might be a little bit mangled, but tells you, that the
[error] ZeroDivisionError ( integer division or modulo by zero )
happened at
line: module ( function ) statement
6: sub ( test ) 1/0
means at line 6 in module sub in function test showing the line content
So, what are you missing?