exit() Function gives Runtime Error from Command Line
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SikuliX |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
The exit() function introduced in Sikuli v0.10 is causing a runtime error when running the command line sikuli-ide.bat.
When exit() is executed from the (while running from command line), a runtime error is given in a popup window:
"Runtime Error when running debug_exit.skl
Traceback (most recent call last):
File "C:\...
exit(1)
File "C:\...
SystemExit: 1"
The popup error is not given when running the script from the Sikuli IDE.
"[sikuli] Exited with code 1" is given in the Sikuli IDE message window.
Does not matter if I use exit(), exit(1), etc.
Sample Script:
click("
sleep(2)
type('R')
sleep(2)
type('notepad.exe')
type(Key.ENTER)
exit(1)
Sikuli 0.10
Windows XP, SP3
English
Changed in sikuli: | |
status: | In Progress → Fix Committed |
Changed in sikuli: | |
status: | Fix Committed → Fix Released |
Any comments on this one from the developers or the community? Has anyone been able to reproduce this? Thanks.