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

File not found exception when generating a large report #734

Closed
iamanoopmk opened this issue Jul 3, 2020 · 7 comments
Closed

File not found exception when generating a large report #734

iamanoopmk opened this issue Jul 3, 2020 · 7 comments

Comments

@iamanoopmk
Copy link

iamanoopmk commented Jul 3, 2020

I am trying to generate a long PDF report using chrome-pdf recipe. After fetching the data I get the error

Error: net::ERR_FILE_NOT_FOUND at file:///tmp/jsreport/autocleanup/e0de1feb-45f8-4579-a659-5e3ada544524-chrome-pdf.html

This only happens when the report being generated is a very large one. Maybe more than 100 pages.

Any settings that I can use to stop autocleanup of files before rendering?

@pofider
Copy link
Contributor

pofider commented Jul 6, 2020

Thank you for the bug report.
We clean files after constant 3minutes it was modified the last time.
However, the HTML is created and immediately read by chrome so it shouldn't happen it gets cleaned.
Are you able to consistently replicate the problem?
Would you be able to share with use your template/export or a repo with problem replication?
Thank you

@iamanoopmk
Copy link
Author

This has been happening for a large report we are generating. Definitely consistent.

The template and data cannot be publically exposed. I will try to see if I can replicate the problem with an example template

@pofider
Copy link
Contributor

pofider commented Jul 7, 2020

Thank you, that would be great.
I tried various thousands of pages long reports but wasn't able to replicate the problem.

@pofider
Copy link
Contributor

pofider commented Aug 25, 2020

Closing as it wasn't possible to replicate. Don't hesitate to reopen when you have more details

@pofider pofider closed this as completed Aug 25, 2020
@lichutin-st
Copy link

lichutin-st commented Dec 24, 2021

@pofider looks like it's still reproducible on jsreport v2 with one worker (v3 works fine in that case). Are there any chances you fix it in the 2.xx version?

I encountered the error when tried to generate a small pdf when a large one was being generated. The large report completed with success whereas the small one completed with an error.

@pofider
Copy link
Contributor

pofider commented Dec 26, 2021

@lichutin-st
I apologize, but currently, we don't plan to merge updates back to v2.
Also, I'm not sure what commit in v3 did actually fix this for you.

@lichutin-st
Copy link

Ok, thanks for the reply.

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

3 participants