sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #54425
[Question #689144]: SyntaxError Non-ASCII character in file
New question #689144 on Sikuli:
https://answers.launchpad.net/sikuli/+question/689144
Hi RaiMan,
Am having SikuliX 2.0.3 and xlrd 1.2.0.
Using xlrd to read excel file. But getting error at the begining itself.
--------------------------------------------------
error] script [ Excel_Read ] stopped with error in line 1
[error] SyntaxError ( Non-ASCII character in file 'C:\Users\tibco2\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 --------------
--------------------------------------------------
By refering other threads; have modified the licences.py, __init__ .py. with " # -*- coding: utf-8 -*- ".
Still getting the same error.
What could be the reason and possible solution for above error.
Regards,
Nitin Chaudhari
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.