Gaaaar, that fixed it. I've been trying to find a solution for a couple of days-worth of time for the past week, so thank you!
lcrumb
@lcrumb
Posts made by lcrumb
-
RE: chrome pdf generation timed out
-
chrome pdf generation timed out
Hello,
Just installed the latest version of JSReport Server. When i start it from the command line using "jsreport start" everything works fine. However, when running from a service after running "jsreport win-install", none of the chrome-pdf or chrome-image recipes work. The error is:
*Report "test" render failed.
chrome pdf generation timed out
Error: chrome pdf generation timed out
at module.exports (C:\jsreport\node_modules@jsreport\jsreport-core\lib\shared\createError.js:10:13)
at WorkerReporter.createError (C:\jsreport\node_modules@jsreport\jsreport-core\lib\shared\reporter.js:53:12)
at Timeout._onTimeout (C:\jsreport\node_modules@jsreport\jsreport-chrome-pdf\lib\conversion.js:423:30)
at listOnTimeout (node:internal/timers:581:17)
at process.processTimers (node:internal/timers:519:7)*I've copied the puppeteer folder to the appropriate user profile of the profile used to run the installation of jsreport.
-
RE: v2.x "Enterprise License Expired"
Ok, we never had a license for the enterprise version, so it's strange that this message just started showing this morning. Even stranger that it was working with 8 templates without an enterprise license. In any case, I removed 4 (they were the included samples) and it works again.
-
v2.x "Enterprise License Expired"
Hi All,
We're getting that message in the error log. It's been a while since we installed it. I don't even remember the licensing process, but what can I do to at least get it running again, even if it's in "free" mode?
-
RE: Xlsx Chart
By "taking into account the variables that I've pointed out above" I mean there can be x number of market categories and x number of months. This is where I'm stuck.
-
Xlsx Chart
Hello,
I've been tasked to create an XLSX report. The image below is the desired result, with the "..." added by me in order to indicate to you that a report can have any number of columns (market category) and rows (month of a year). In this case, there are two market categories (Survey - Energy Field and Survey - Energy Office) and the first 10 months of 2020. But a report could contain more market categories and more (or less) months. And the title of the chart could be anything (in this case it is Energy 2020).
I've looked at the example Xlsx Chart report, and it is somewhat helpful. I can create the basic template, but I would like to know how to generate the report taking into account the variables that I've pointed out above.
-
RE: Async = true and output name
duh, nevermind. That's what the "blobName" field is for. Thanks Jan.
-
RE: Async = true and output name
I see that the subsequent files of the same name are overwritten on the server. What if two different users create two different reports with the same name? If the first user doesn't download theirs in time, the may end up downloading the second users report instead. Is that right? That may have been something you've addressed before, but I'm not sure.
-
RE: Async = true and output name
That works! A mouthful, and maybe not super intuitive, but it works. Thanks Jan.
-
RE: Async = true and output name
Actually, no. The filename indicated in the response header when requesting the attachment is the template name (that is, the name of the template in the jsreport studio). It isn't the name indicated when setting the "blobName" property in the request.
For example, say i've got a template named RevenueReport. I make the request for the report, setting options:
{ "options": { "reports": { "async": true, "blobName": "LastQuarterRevenueReport" } }
This creates a file called "LastQuarterRevenueReport.xlsx" on the server as expected, but when the file is requested with http://myjsereportserver/reports/8X2FZ2iqphQZp7uR/attachment, the file is named "RevenueReport.xlsx", not LastQuarterRevenueReport.xlsx. The response header doesn't say Content-Disposition: attachment; filename="LastQuarterRevenueReport.xlsx", it says Content-Disposition: attachment; filename="RevenueReport.xlsx".
Shouldn't it say Content-Disposition: attachment; filename="LastQuarterRevenueReport.xlsx", as indicated in the "blobName" property?