← Back to team overview

sikuli-driver team mailing list archive

[Question #683931]: Can't use xlrd

 

New question #683931 on Sikuli:
https://answers.launchpad.net/sikuli/+question/683931

I am running on sikuli 1.3 IDE.

When I try:
import xlrd
book = xlrd.open_workbook("C:\\Users\\Luan\\Desktop\\myfile.xlsx")

I get this error message:
[error] script [ teste ] stopped with error at line --unknown--
[error] Error caused by: Traceback (most recent call last): File "C:\Users\Luan\AppData\Local\Temp\Sikulix_1163514701\sikuli-3059982452821972468.py", line 2, in <module> book = xlrd.open_workbook("C:\\Users\\Luan\\Desktop\\myfile.xlsx") File "C:\Users\Luan\AppData\Roaming\Sikulix\Lib\xlrd\__init__.py", line 408, in open_workbook bk = xlsx.open_workbook_2007_xml( File "C:\Users\Luan\AppData\Roaming\Sikulix\Lib\xlrd\xlsx.py", line 791, in open_workbook_2007_xml x12sheet.process_stream(zflo, heading) File "C:\Users\Luan\AppData\Roaming\Sikulix\Lib\xlrd\xlsx.py", line 528, in own_process_stream self_do_row(elem) File "C:\Users\Luan\AppData\Roaming\Sikulix\Lib\xlrd\xlsx.py", line 722, in do_row assert tvalue is not None AssertionError 

Any idea on how to solve this?
for e in sys.path: print e returns

C:\Users\Luan\Desktop\teste.sikuli
C:\Users\Luan\AppData\Roaming\Sikulix\Lib
C:\Users\Luan\Downloads\New folder\Lib
C:\Users\Luan\Downloads\New folder\sikulix.jar\Lib
__classpath__
__pyclasspath__/




-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.