sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #56931
[Question #696043]: [error] AttributeError ( 'javapackage' object has no attribute 'TextIOBase' )
New question #696043 on SikuliX:
https://answers.launchpad.net/sikuli/+question/696043
Trying to move to SikuliX 2.0.5, currently using 1.1.2 successfully.
I get this error when trying to run a successful script in SikuliX 1.1.2 with SikuliX 2.0.5…
[error] AttributeError ( 'javapackage' object has no attribute 'TextIOBase' )
[error] --- Traceback --- error source first
line: module ( function ) statement
86: result ( <module> ) class _DuplicateWriter(io.TextIOBase):
6: runner ( <module> ) from .result import _XMLTestResult
11: __init__ ( <module> ) from .runner import XMLTestRunner
9: TC_library ( <module> ) import xmlrunner
5: main ( <module> ) from TC_library import *
[error] --- Traceback --- end --------------
It is failing on the line “from TC_library import *” in my script where TC_library has the following….
import unittest
import sikuli
import shutil
import os
import sys
import xmlrunner
import timeit
import stat
from sikuli import *
def x()
.
.
.
--
You received this question notification because your team Sikuli Drivers
is an answer contact for SikuliX.