2020-04-20 07:23:48 |
umesh |
bug |
|
|
added bug |
2020-04-20 11:58:58 |
RaiMan |
summary |
error when importing xlrd module in 2.0.5 nightly |
[2.0.4] error when importing xlrd module (encoding error) |
|
2020-04-20 11:59:09 |
RaiMan |
sikuli: status |
New |
Fix Committed |
|
2020-04-20 11:59:15 |
RaiMan |
sikuli: importance |
Undecided |
High |
|
2020-04-20 11:59:19 |
RaiMan |
sikuli: assignee |
|
RaiMan (raimund-hocke) |
|
2020-04-20 11:59:22 |
RaiMan |
sikuli: milestone |
|
2.0.5 |
|
2020-04-20 11:59:39 |
RaiMan |
summary |
[2.0.4] error when importing xlrd module (encoding error) |
[2.0.4] error when importing xlrd module (encoding error) --- workaround |
|
2020-04-20 12:00:46 |
RaiMan |
description |
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 -------------- |
----------------- 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 -------------- |
|
2021-02-09 16:12:56 |
RaiMan |
sikuli: status |
Fix Committed |
In Progress |
|
2021-02-14 15:05:20 |
RaiMan |
sikuli: status |
In Progress |
Fix Committed |
|
2021-02-14 15:05:24 |
RaiMan |
sikuli: importance |
High |
Critical |
|
2021-02-14 15:05:28 |
RaiMan |
summary |
[2.0.4] error when importing xlrd module (encoding error) --- workaround |
[2.0.4] error when importing xlrd module (encoding error) --- workaround --- fixed in 2.0.5 |
|