sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #38448
[Question #294980]: HTMLTestRunner generates error in shutil (move)
New question #294980 on Sikuli:
https://answers.launchpad.net/sikuli/+question/294980
Hey there.
A little while ago I transitioned from 1.1.0 to nightly 1.1.1 builds. Since then I've been trying to figure out a problem where my scripts end on an error instead of generating a report using HTMLTestRunner.
This is exactly what I get:
[error] script [ /Volumes/UserShares/msansregret/sikuliScripts/SA_mobile_testsuite_dev.sikuli ] stopped with error in line 75
[error] TypeError ( coercing to Unicode: need string, org.sikuli.script.ScreenImage type found )
[error] --- Traceback --- error source first
line: module ( function ) statement
197: shutil ( move ) TypeError: coercing to Unicode: need string, org.sikuli.script.ScreenImage type found
651: HTMLTestRunner ( generateTestScreenshot ) File "/Applications/SikuliX.app/Contents/Java/sikulix.jar/Lib/shutil.py", line 197, in move
263: unittest ( run ) File "/Applications/SikuliX.app/Contents/Java/sikulix.jar/Lib/HTMLTestRunner.py", line 634, in addFailure
433: unittest ( run ) File "/Applications/SikuliX.app/Contents/Java/sikulix.jar/Lib/unittest.py", line 281, in __call__
678: HTMLTestRunner ( run ) File "/Applications/SikuliX.app/Contents/Java/sikulix.jar/Lib/unittest.py", line 437, in __call__
59: main ( main ) runner.run(suite)
[error] --- Traceback --- end --------------
I'm running this on a Mac with OSX 10.11.5 and Sikuli 1.1.1 2016-06-06_01:00nightly. I tried re-doing the install and using the older version of Jython due to that warning dialogue about Unicode characters during install, but I still ran into the issue.
Any help is appreciated,
Thanks!
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.