sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #48441
Re: [Question #673348]: using xlrd: Error attempting to delete file after wb.release_resources()
Question #673348 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/673348
RaiMan proposed the following answer:
I digged a bit deeper into the xlsx handling:
(xlrd::xlsx.py::open_workbook_2007_xml)
When processing the internal xml-files in the xlsx-zip, they use only
del file_handle
... which does not guarantee to close the file behind the handle (and
apparently does not in the Jython/Jave environment)
... and with the standard XLSX workbook, there seem to be at least 4
xml-files, that need to be processed (your handle-tool result ;-)
I added a
file_Handle.close()
before each
del file_handle
... but did not test wether it helps (but should do).
Please test with the build from today (build #79)
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.