[error] --- Traceback --- end --------------
Hi,
I 'm having some problems in my script...
I don't have any idea whats happening that a traceback is happening
....Thats the part of my script....
(LINE 1 TO 6)
def printScreen(
try:
import shutil
except:
raise exception
HERE, i'm having problem
testOk = 0;
testNok = 0;
try:
openTrackin
print("Test 1 - Passed")
filename = "Test01Passed.png"
printScreen
testOk = testOk +1;
except:
print("Test 1 - Failed")
filename = "Test01Failed.png"
printScreen
testOk = testNok +1;
[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 --------------
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Leonardo Carvalho Sobral dos Santos for more information if necessary.