SamhammerAG / TrxToHtml

7 stars 4 forks source link

Exceeding number of iteration limit `1000` for statement: for result in run.Results ... end #1

Open chenghuang-mdsol opened 3 years ago

chenghuang-mdsol commented 3 years ago

it could not handle/render large trx file.

Unhandled exception. <input>(48,13) : error : Exceeding number of iteration limit `1000` for statement: for result in run.Results ... end

I think this is from Scriban which you used to render HTML result file

agentschmitt commented 3 years ago

I had a short look in scriban and it seems to that LoopLimit 1000 is set as default configuration. Changing this in our tool should fix it. https://github.com/scriban/scriban/blob/9fd39703b4a15d97f0ef4b7546f61f3fc3cc2357/doc/runtime.md#safe-runtime

mcollins4551 commented 1 year ago

I created a PR to address this issue. ---> https://github.com/SamhammerAG/TrxToHtml/pull/3