sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #21311
[Bug 1230928] Re: Error Tracebacks Display Wrong Line
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?
--
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1230928
Title:
Error Tracebacks Display Wrong Line
Status in Sikuli:
New
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.
To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1230928/+subscriptions
References