Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Nicholas D'Autremont
    @Groumph
    use = using
    Jan Blaha
    @pofider
    I think there is some kind of default 76dpi, so to get the px same in word, you can set to the chrome scale 1.34
    image.png
    but dont know the theory much, and need to go offline for today, good luck...
    Nicholas D'Autremont
    @Groumph
    Thank you for the help! I will try that.
    Nicholas D'Autremont
    @Groumph
    @pofider, the scaling fixed it perfectly. Thank you.
    Fred
    @wastaz
    Im having a bit of an issue where many things call jsreport in parallell which in turn ends up with most requests getting a timeout error because pdf generation takes...well..time. Would switching to async help or not in this case?
    BJR Matos
    @bjrmatos
    hi @wastaz, it depends on the setup you have, your server resources, and how complex are the templates you are executing. does the requests you have are trying to render different templates or all request are just doing multiple executions of one template?
    Fred
    @wastaz
    @bjrmatos They are basically all doing multiple executions of the same template.
    Jan Blaha
    @pofider
    @wastaz Do you render pdf using chrome pdf? The chrome rendering is typically the bottleneck. Try this configuration and limit the number of concurent instances
    Fred
    @wastaz
    Ill give it a shot :)
    Jan Blaha
    @pofider
    in a more complex environments, you also typically employ a webserver like nginx to be used as reverse proxy to jsreport. And there are plenty of options to limit the number of parallel requests in nginx. But better to start with just with jsreport configs if you don't have web server running in front
    Fred
    @wastaz
    Sadly we dont have a webserver in front of it currently and if we did I think our ops team would insist on it being IIS instead of nginx :(
    Can probably limit stuff in IIS as well though somehow, just need to find the right clicky clickies...
    swiftinitdotcom
    @swiftinitdotcom
    is this really good tool for dotnet blazer
    projects
    Madhusudan
    @sudkhd
    I am trying add colspan on xlxs with cheerios page eval. does not seem to work. is there a way to merge cols
    ?
    Jan Blaha
    @pofider
    Madhusudan
    @sudkhd
    thanks, let me check
    May Thu Khaing
    @khine:matrix.org
    [m]
    hello ,how can i change custom report name
    Jan Blaha
    @pofider
    {
          "template": { ... },
          "options": { "reportName": "myreport" }
    }
    fedoranvar
    @fedoranvar:matrix.org
    [m]

    Good day to everyone!

    Is it possible to make {{childTemplate}} in handlebar's docx template
    or somehow insert docx-subreports in docx-report?

    I've tried {{childTemplate}} accroding to manual in documentation, but received errors

    Thankj you!

    fedoranvar
    @fedoranvar:matrix.org
    [m]

    :point_up: Edit: Good day to everyone!

    Is it possible to make {{childTemplate}} in handlebar's docx template
    or somehow insert docx-subreports in docx-report?

    I've tried {{childTemplate}} accroding to manual in documentation, but received errors

    Thank you!

    Jan Blaha
    @pofider
    @fedoranvar:matrix.org Hi, no, embedding docx into another docx using child templates isn't possible
    Mark Garrison
    @garrmark
    it there a way to limit the size of the TempFolder, I'm seeing 30GB used on disk for the folder and wonder if it's a cleanup issue
    I don't see any disk space requirements in the docs
    Jan Blaha
    @pofider
    don't you have some giant value in the "reportTimeout" config?
    there is automatic cleanup, to delete files older than 3min
    if you have higher value than 3min in the reportTimeout, than only files older than reportTimeout value are deleted automatically
    you should see thisl in the logs, how old files are deleted
    Starting temp files cleanup with ${threshold}ms threshold
    Mark Garrison
    @garrmark
    I'll try and take a look, thanks for the info
    Jan Blaha
    @pofider
    this info was for the jsreport v3, in the v2 there is strict 3min treshold
    Mark Garrison
    @garrmark
    there are definitely ~chrome folders that are days old, we're running this embedded in a netcore app, I'm guessing it's not hitting the cleanup properly
    Jan Blaha
    @pofider
    these aren't autocleaned up
    the binary jsreport.exe, wrapped in .net, during the start unzips chrome into ~chrome folder, when it is finished it renames it to the chrome
    if there are many of them, there were probably some issues during the start, that the operations were blocked by antivirus, the disk failed or something like that
    you can remove them manually now
    but if there is chrome folder without ~ prefix, there should be no new folders popping up
    Mark Garrison
    @garrmark
    ok, I'll keep an eye on it, there were around 9,000 ~chrome* folders created over the last 3 days, I do see the chrome folder too, we did run out of disk space because of this
    Mark Garrison
    @garrmark
    or maybe we ran low on disk space for some other reason and then the unzip got into a loop of failures, thanks again for the info
    Jan Blaha
    @pofider
    hm yes, interesting, that could be... good luck
    Cleadon
    @hep99_twitter
    Hi - are there any sample for address labels using the docx format? I need to have Record 1 in the first column and record 2 in the second column, if that makes sense.
    Cleadon
    @hep99_twitter
    Hi - anyone have any idea on the above ^
    Jan Blaha
    @pofider
    you can find some examples in the playground https://playground.jsreport.net/