sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #24492
[Bug 1286146] [NEW] Traceback ----end----
Public bug reported:
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 --------------
** Affects: sikuli
Importance: Undecided
Status: New
** Attachment added: "Sikuli error.bmp"
https://bugs.launchpad.net/bugs/1286146/+attachment/4000788/+files/Sikuli%20error.bmp
--
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1286146
Title:
Traceback ----end----
Status in Sikuli:
New
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/1286146/+subscriptions
Follow ups
References