← Back to team overview

sikuli-driver team mailing list archive

[Bug 1873743] Re: [2.0.4] error when importing xlrd module (encoding error) --- workaround

 

** Changed in: sikuli
       Status: In Progress => Fix Committed

** Changed in: sikuli
   Importance: High => Critical

** Summary changed:

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

-- 
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 --- fixed in 2.0.5

Status in Sikuli:
  Fix Committed

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