Comment 2 for bug 1464225

Revision history for this message
RaiMan (raimund-hocke) wrote :

--- You want to make the switch
There is no switch. The problem I fixed, was just a problem on Windows matching file name separators.
So now you get the correct traceback info when running your script using SikuliX (either from GUI or from command line).

in the related question comment #6 I tried to elaborate, that when running scripts with SikuliX, the excepthook apparently does not work and how one should run scripts, to get it working (which in turn does not show the SikuliX special traceback and needs some other special treatments).

To clarify:
- the excepthook is used in case WHILE the script runs
- the evaluation of the traceback by SikuliX is done AFTER scriptrun (the interpreter has stopped running and returned to the Java layer)

so currently I can do nothing in SikuliX, to make your excepthook working, when you run your scripts with SikuliX.