I've updated the config code in previous comment...
Jan Blaha
@admin
Posts made by admin
-
RE: Rendering error on AWS but not on local docker
-
RE: Rendering error on AWS but not on local docker
You need to use also the config
"extensions": { "chrome-pdf": { "launchOptions": { "protocolTimeout": 600000 } } }
This became useful in the later versions of Chrome, we will set this for you in the next release https://github.com/jsreport/jsreport/issues/1202
-
RE: Changing parameters of xslx document in html-2-xslx recipe
The html-to-xlsx doesn't support natively changing the page size yet, it is in the backlog so far.
However, you can reach this with postprocessing.
Documentation
https://jsreport.net/learn/html-to-xlsx#postprocess-using-xlsx-recipeDemo setting page size
https://playground.jsreport.net/w/admin/C3ERuayUNot sure what you mean with "enter the sheet on one page"...
-
RE: 504 Gateway Time-out
I see, the playground got stuck somehow, we will analyze how it happened.
It is running now... I apologize for the inconvenience.Please note the playground service doesn't have HA.
It is just a fiddling tool to replicate issues and demonstrate features.
You shouldn't depend on it in production deployments. -
RE: 504 Gateway Time-out
I am not sure what service do you mean? The jsreportonline? Or do you mean your on prem jsreport installation?
If you use jsreportonlione, please email me what is your account(subdomain) name to
support@jsreport.net
.The 504 Gateway Time-out is a web server timeout, not jsreport one. It means that the web server was waiting for response from jsreport, but it didn't response in time. You will find logs in
app/logs
for your on prem application. Or in the studio profiler in jsreportonliner. -
RE: Deno V2 support ?
I'm afraid the compatibility will never be 100%.
I've tried to give it a look... There is some problem with the
chrome/puppeteer
compatibility. If I skip chrome based recipes, the app boots, but shortly exits. Not sure what is the problem...Maybe a heavy deno user from the community can give it a try?
We are currently focusing on adding recipes features and improving performance. The support for other runtimes isn't a big priority.
-
RE: Module Read Error
It seems like you use somewhere the module helper
{{module "a path"}}
but don't provide the argument as a string.
Are you able to reproduce the problem in the playground?
https://playground.jsreport.net/ -
RE: Xlsx receipe each
Yes, I see.
tried many different scenarios but the second table always starts from the last row of the first table.
Unfortunately, this is how it works by design. We have no way of knowing if you want the content at the end of the first table or not. I've submitted a task to check if we can add a new option that would allow having two tables next to each other.
https://github.com/jsreport/jsreport/issues/1198At this moment, one solution is to define cells contents including headers in the helper, and use a single
each
. To keep formatting, you will need to postprocess the xlsx using xlsx transformation helpers
https://jsreport.net/learn/xlsx#transformationDemo
https://playground.jsreport.net/w/anon/t9UNZpS4The other option is to use just xlsx transformation helpers from the beginning as this gives you the most flexibility.
-
RE: Xlsx receipe each
Hmm, it should still work in my example...
A different number of items in both arrays works there.
If you want a header for one and not for the other, you can just prepend the header and heave#each
on the second row.
If you need to have it dynamic, you will have#if
for first item which will display header. -
RE: Xlsx receipe each
It is Christmas vacation time, so getting the right people online will take some time. :)
At first glance, there seems to be a problem with multiple
each
in one row. Maybe you can just use oneeach
and use a helper call to merge those two arrays into one. Like here
https://playground.jsreport.net/w/anon/5r07l9Fq