[2.0.4] error when importing xlrd module (encoding error) --- workaround

Bug #1873743 reported by umesh on 2020-04-20
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Sikuli
High
RaiMan

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 --------------

RaiMan (raimund-hocke) on 2020-04-20
summary: - error when importing xlrd module in 2.0.5 nightly
+ [2.0.4] error when importing xlrd module (encoding error)
Changed in sikuli:
status: New → Fix Committed
importance: Undecided → High
assignee: nobody → RaiMan (raimund-hocke)
milestone: none → 2.0.5
summary: - [2.0.4] error when importing xlrd module (encoding error)
+ [2.0.4] error when importing xlrd module (encoding error) --- workaround
description: updated
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers