New question #294711 on Sikuli:
https://answers.launchpad.net/sikuli/+question/294711

Hello,

I am using Sikuli 1.1.0 and i find that SyntaxError is correctly reporting file 
and line, whereas NameError is not.

For instance, if i import a file toto.py (with import toto), and toto.py 
contains a syntax error, i can have:

  [error] SyntaxError ( ("mismatched input '\\n' expecting LPAREN", 
('D:\\project\\mytest.sikuli\\toto.py', 1, 10, 'def blabla\n'))

But for a NameError, i will only get:

  [error] NameError ( global name 'self' is not defined )

And no clue about the file that is guilty. I have a first error saying that 
import toto fails (and i have file and line of this import). But if this toto 
file itself imports other files, i have to look into each of them to find where 
my issue is. 

It is really not convenient for the debugging. Is it a know issue? Is there 
plan to fix it?

Thanks,

  Ronan


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

_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to     : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp

Reply via email to