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

SystemError: GetTempFileName #87

Closed
ValeriiBaidin opened this issue Mar 19, 2020 · 5 comments
Closed

SystemError: GetTempFileName #87

ValeriiBaidin opened this issue Mar 19, 2020 · 5 comments

Comments

@ValeriiBaidin
Copy link

I read a lot of pdf documents.
After around 20-36 I have this error: SystemError: GetTempFileName, when I try to get page by it's number.
After reopening Julia, the same pdf file opens correctly.

@sambitdash
Copy link
Owner

Please provide complete stack trace of the error or isolated file where you are observing this issue. Hard to guess the reason of failure otherwise.

@ValeriiBaidin
Copy link
Author

Please provide complete stack trace of the error or isolated file where you are observing this issue. Hard to guess the reason of failure otherwise.

it's hard to replicate.
I have a folder with 100 pdf files. Each file is around 800-900 pages. Everything is work good, until I have read around 30files.
So I think you have some problems with temporary files. Maybe it isn't deleted?

@sambitdash
Copy link
Owner

@vbaidin from your previous comment, I do not get enough information to reproduce the issue nor have enough resources to replicate your use case. I can see you have some conjecture based on certain observations. If you can establish it with a code snippet with code suggestions we will be happy to take the PR.

@ValeriiBaidin
Copy link
Author

@vbaidin from your previous comment, I do not get enough information to reproduce the issue nor have enough resources to replicate your use case. I can see you have some conjecture based on certain observations. If you can establish it with a code snippet with code suggestions we will be happy to take the PR.

Thank you for your replay. As I mentioned, I can't reproduce it, since it happened only after I have worked with 30 pdf (1000 pages for file).

I hope. I find the error. I didn't close the document pdDocClose(doc_pdf), so it was my fault. I am sorry

@sambitdash
Copy link
Owner

sambitdash commented Mar 20, 2020

@vbaidin if you didn't close opened PDF files, it's only logical to expect all the temporary file handles will be exhausted. With that information known, I will close the issue. If the issue persists even after closing the files you can reopen the issue.

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

2 participants