sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #56709
[Bug 1873743] Re: [2.0.4] error when importing xlrd module (encoding error) --- workaround
** Changed in: sikuli
Status: Fix Committed => In Progress
--
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1873743
Title:
[2.0.4] error when importing xlrd module (encoding error) ---
workaround
Status in Sikuli:
In Progress
Bug description:
----------------- workaround
delete the SikuliX copyright comment from the offending .py-file
-------------------------------------------------
Delete content of %apppdata%/sikulix, launch sikuli 2.0.5 nightly
run following code:
import xlrd
we get following error:
[error] script [ sikulitemp-8174369599088720768 ] stopped with error in line 1
[error] SyntaxError ( Non-ASCII character in file 'C:\Users\...\AppData\Roaming\Sikulix\Lib\xlrd\licences.py', but no encoding declared; see http://www.python.org/peps/pep-0263.html for details )
[error] --- Traceback --- error source first
line: module ( function ) statement
11: __init__ ( <module> ) from . import licences
1: main ( <module> ) import xlrd
[error] --- Traceback --- end --------------
To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1873743/+subscriptions
References