Skip to content

close method on ole object does not work in Python 2.7 #15

@decalage2

Description

@decalage2

Originally reported by: Anonymous


The close method is not working on a ole object.
Doing this command
*ole = OleFileIO_PL.OleFileIO('myfile.doc')
ole.close()
*

does not close the file and release the file handle.
I know this because I am running a script that does a directory crawl using OleFileIO to extract information from certain files. The script crashes with a ioerror 24, too many open files.
I have also tested this in IDLE with the same result.
Idle capture
**>>> ole=OleFileIO_PL.OleFileIO(mxd_file)

ole.close(
512
ole.close
ole.SectorSize
512**


Metadata

Metadata

Assignees

Labels

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions