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

Bug #1873743 reported by umesh
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
SikuliX
Fix Committed
Critical
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)
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
RaiMan (raimund-hocke)
Changed in sikuli:
status: Fix Committed → In Progress
RaiMan (raimund-hocke)
Changed in sikuli:
status: In Progress → Fix Committed
importance: High → Critical
summary: [2.0.4] error when importing xlrd module (encoding error) --- workaround
+ --- fixed in 2.0.5
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.