sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #24497
[Bug 1286148] Re: Traceback ----end----
not a bug
** Changed in: sikuli
Status: New => Invalid
** Converted to question:
https://answers.launchpad.net/sikuli/+question/244755
--
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1286148
Title:
Traceback ----end----
Status in Sikuli:
Invalid
Bug description:
My script stopped work properly, some error occurs in Sikuli that
returned an exception
look...
my script...
try:
openTrackingItem()
print("Test 1 - Passed")
filename = "Test01Passed.png"
printScreen(filename)
testOk = testOk +1;
except:
print("Test 1 Failed")
filename = "Test01Failed.png"
printScreen(filename)
testNok = testNok +1;
print ("Test OK",testOk)
print ("Test Not OK",testNok)
ERROR:
Test 1 - Passed
Test 1 Failed
[error] script [ *Sanity_ePM ] stopped with error in line 60
[error] NameError ( global name 'exception' is not defined )
[error] --- Traceback --- error source first line: module ( function ) statement 6: main ( printScreen ) raise exception
[error] --- Traceback --- end --------------
To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1286148/+subscriptions
References