Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Built-in FileHandler saying the file cannot open PDF page because it's already in use. #343

Open
Eroiica opened this issue Feb 11, 2025 · 0 comments

Comments

@Eroiica
Copy link

Eroiica commented Feb 11, 2025

My code globs pdfs from an input directory and runs extract_tables on the pdf. The program crashes on the last page of the pdf on say file number 7/10.

The error points to a temp directory that's already in use.

I have isolated this issue to be independent of the pdfs I'm using.

I am using a file handler to open and close the file. I have tried killing the process in each loop. I have also tried to delete the tables object and use gc. I have cleaned out tmp directory and restarted pc.

Is this a know issue or limitation with the library or am I missing something?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant