<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Error about creating Excel reports]]></title><description><![CDATA[<p>Hi <a class="plugin-mentions-a" href="https://forum.jsreport.net/uid/2">@jan_blaha</a> ,</p>
<p>I do not know what happened - but all the Excel reports suddenly did not work on my computer.</p>
<p>Here is an error example:</p>
<p><img src="/uploads/files/1638985564747-upload-40cc0c39-d993-4e0e-972d-4cb21b641fe8-resized.png" alt="0_1638985562976_upload-40cc0c39-d993-4e0e-972d-4cb21b641fe8" class="img-responsive img-markdown" /></p>
<p>The exact same report is working on another machine:</p>
<p><img src="/uploads/files/1638985632953-upload-eba8ff40-8433-460f-be80-0fd0587d554e-resized.png" alt="0_1638985632378_upload-eba8ff40-8433-460f-be80-0fd0587d554e" class="img-responsive img-markdown" /></p>
<p>All PDF reports are working fine.</p>
<p>Do you have any suggestions that I can follow to debug the issue?</p>
<p>Thank you,<br />
Genhan</p>
]]></description><link>https://forum.jsreport.net/topic/2228/error-about-creating-excel-reports</link><generator>RSS for Node</generator><lastBuildDate>Thu, 05 Mar 2026 14:57:00 GMT</lastBuildDate><atom:link href="https://forum.jsreport.net/topic/2228.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 08 Dec 2021 17:49:57 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Error about creating Excel reports on Invalid Date]]></title><description><![CDATA[<p>Hi <a class="plugin-mentions-a" href="https://forum.jsreport.net/uid/2">@jan_blaha</a> ,</p>
<p>I do not know what happened - but all the Excel reports suddenly did not work on my computer.</p>
<p>Here is an error example:</p>
<p><img src="/uploads/files/1638985564747-upload-40cc0c39-d993-4e0e-972d-4cb21b641fe8-resized.png" alt="0_1638985562976_upload-40cc0c39-d993-4e0e-972d-4cb21b641fe8" class="img-responsive img-markdown" /></p>
<p>The exact same report is working on another machine:</p>
<p><img src="/uploads/files/1638985632953-upload-eba8ff40-8433-460f-be80-0fd0587d554e-resized.png" alt="0_1638985632378_upload-eba8ff40-8433-460f-be80-0fd0587d554e" class="img-responsive img-markdown" /></p>
<p>All PDF reports are working fine.</p>
<p>Do you have any suggestions that I can follow to debug the issue?</p>
<p>Thank you,<br />
Genhan</p>
]]></description><link>https://forum.jsreport.net/post/9707</link><guid isPermaLink="true">https://forum.jsreport.net/post/9707</guid><dc:creator><![CDATA[Genhan]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to Error about creating Excel reports on Wed, 08 Dec 2021 17:53:24 GMT]]></title><description><![CDATA[<p>Didn't you update to the node 16?<br />
You need to use the node 14 in jsreport v2 to have office recipes working.<br />
Downgrade node or upgrade jsreport to v3.</p>
]]></description><link>https://forum.jsreport.net/post/9708</link><guid isPermaLink="true">https://forum.jsreport.net/post/9708</guid><dc:creator><![CDATA[jan_blaha]]></dc:creator><pubDate>Wed, 08 Dec 2021 17:53:24 GMT</pubDate></item><item><title><![CDATA[Reply to Error about creating Excel reports on Wed, 08 Dec 2021 18:37:48 GMT]]></title><description><![CDATA[<p>Thank you, <a class="plugin-mentions-a" href="https://forum.jsreport.net/uid/2">@jan_blaha</a>. I am using Node 16.</p>
<p>After upgrading jsReport to version 3.1.1, a new error occurred:</p>
<p><img src="/uploads/files/1638988300329-upload-df7342bf-ea4b-4791-8038-362355cdb64c-resized.png" alt="0_1638988299609_upload-df7342bf-ea4b-4791-8038-362355cdb64c" class="img-responsive img-markdown" /></p>
<p>Here is the full error message:</p>
<pre><code>Error when evaluating engine handlebars for template /templates/PublicPrjs_Maps
Cannot read properties of undefined (reading '1')

(sandbox.js)

  150 |     const obj = ctx.root.$xlsxTemplate[filePath]
  151 |     const collection = evalGet(obj, path)
&gt; 152 |     ctx.root.$removedItem = collection[index]
      |                                       ^
  153 |     collection.splice(index, 1)
  154 |     return ''
  155 |   }

(sandbox.js)

  462 |       }
  463 |
&gt; 464 |       return fn.apply(this, arguments)
      |                 ^
  465 |     }
  466 |   }
  467 |

(sandbox.js)

  489 | }
  490 | function xlsxRemove (...args) {
&gt; 491 |   return __xlsx.xlsxRemove.call(this, ...args)
      |                            ^
  492 | }
  493 | function xlsxAddImage (...args) {
  494 |   return __xlsx.xlsxAddImage.call(this, ...args)

TypeError: Cannot read properties of undefined (reading '1')
    at Proxy.remove (sandbox.js:152:39)
    at Proxy.&lt;anonymous&gt; (sandbox.js:464:17)
    at Proxy.xlsxRemove (sandbox.js:491:28)
    at Object.base.apply (C:\CPMS\iroot-new\cpms-reporting\node_modules\vm2\lib/contextify.js:246:34)
    at Object.&lt;anonymous&gt; (C:\CPMS\iroot-new\cpms-reporting\node_modules\@jsreport\jsreport-core\lib\worker\render\executeEngine.js:195:27)
    at Object.wrapper (C:\CPMS\iroot-new\cpms-reporting\node_modules\handlebars\dist\cjs\handlebars\internal\wrapHelper.js:15:19)
    at Object.main (eval at compile (C:\CPMS\iroot-new\cpms-reporting\node_modules\@jsreport\jsreport-handlebars\lib\handlebarsEngine.js:34:30), &lt;anonymous&gt;:71:113)
    at main (C:\CPMS\iroot-new\cpms-reporting\node_modules\handlebars\dist\cjs\handlebars\runtime.js:208:32)
    at ret (C:\CPMS\iroot-new\cpms-reporting\node_modules\handlebars\dist\cjs\handlebars\runtime.js:212:12)
    at Object.execute (C:\CPMS\iroot-new\cpms-reporting\node_modules\@jsreport\jsreport-handlebars\lib\handlebarsEngine.js:66:20)
</code></pre>
<p>Any other updates shall I do?</p>
<p>Many thanks,<br />
Genhan</p>
]]></description><link>https://forum.jsreport.net/post/9709</link><guid isPermaLink="true">https://forum.jsreport.net/post/9709</guid><dc:creator><![CDATA[Genhan]]></dc:creator><pubDate>Wed, 08 Dec 2021 18:37:48 GMT</pubDate></item><item><title><![CDATA[Reply to Error about creating Excel reports on Invalid Date]]></title><description><![CDATA[<p>Better to downgrade the node. It will be a more seamless fix.</p>
<p>Regarding v3 update problem,  are you able to replicate this in playground?</p>
]]></description><link>https://forum.jsreport.net/post/9710</link><guid isPermaLink="true">https://forum.jsreport.net/post/9710</guid><dc:creator><![CDATA[jan_blaha]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to Error about creating Excel reports on Invalid Date]]></title><description><![CDATA[<p>I looked more at the detail, and it seems that your template has lost the reference to the &quot;xlsx template&quot;.<br />
The v3 during the startup process automatically migration and converts the old xlsxTemplate entities to assets.<br />
<a href="https://jsreport.net/learn/v3-migration-guide#xlsxtemplates" rel="nofollow">https://jsreport.net/learn/v3-migration-guide#xlsxtemplates</a><br />
Maybe there was some error during this. You should be able to manually edit the template and add the xlsx template reference.</p>
<p>It would be great if you email me your original v2 data in export. I would love to take a look at why the migration didn't process it correctly.</p>
]]></description><link>https://forum.jsreport.net/post/9711</link><guid isPermaLink="true">https://forum.jsreport.net/post/9711</guid><dc:creator><![CDATA[jan_blaha]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to Error about creating Excel reports on Invalid Date]]></title><description><![CDATA[<p>Hi <a class="plugin-mentions-a" href="https://forum.jsreport.net/uid/2">@jan_blaha</a>,</p>
<p>Downgrading Node to 14 resolved this issue, but we do need to update them in the near future</p>
<p>I will try your suggestion about linking xlsx templates manually. I think that it might resolve the issue - since I tried the same report in the playground and it works: <a href="https://playground.jsreport.net/w/anon/8iI_gl82" rel="nofollow">https://playground.jsreport.net/w/anon/8iI_gl82</a> .</p>
<p>Sure. Where should I drop the original v2 data?</p>
<p>Thank you,<br />
Genhan</p>
]]></description><link>https://forum.jsreport.net/post/9713</link><guid isPermaLink="true">https://forum.jsreport.net/post/9713</guid><dc:creator><![CDATA[Genhan]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to Error about creating Excel reports on Invalid Date]]></title><description><![CDATA[<p>Hi <a class="plugin-mentions-a" href="https://forum.jsreport.net/uid/2">@jan_blaha</a> ,</p>
<p>I upgraded to v3 again and captured the v3 template folder structure in the following screenshot:<br />
<img src="/uploads/files/1638995124243-upload-9be672ed-2d09-4880-8334-6bdda2b0606e.png" alt="0_1638995123962_upload-9be672ed-2d09-4880-8334-6bdda2b0606e" class="img-responsive img-markdown" /></p>
<p>The v2 structure in the xlsxTemplates folder is like:<br />
<img src="/uploads/files/1638995171135-upload-4cc6f215-99ee-4981-8a37-225dbb39200e.png" alt="0_1638995171014_upload-4cc6f215-99ee-4981-8a37-225dbb39200e" class="img-responsive img-markdown" /></p>
<p>Those <code>***.xlsx</code> folders were created by the migration process.</p>
<p>Thank you,<br />
Genhan</p>
]]></description><link>https://forum.jsreport.net/post/9714</link><guid isPermaLink="true">https://forum.jsreport.net/post/9714</guid><dc:creator><![CDATA[Genhan]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to Error about creating Excel reports on Invalid Date]]></title><description><![CDATA[<p>Hi <a class="plugin-mentions-a" href="https://forum.jsreport.net/uid/2">@jan_blaha</a> , do you have a guide about how to add the xlsx template reference manually? I copied xlsx templates (e.g. PublicPrjXlsxTpl) into the <code>assets</code> folder manually - but it did not work.</p>
]]></description><link>https://forum.jsreport.net/post/9715</link><guid isPermaLink="true">https://forum.jsreport.net/post/9715</guid><dc:creator><![CDATA[Genhan]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to Error about creating Excel reports on Invalid Date]]></title><description><![CDATA[<p>The reference to the excel template is set in the template properties.<br />
<img src="/uploads/files/1639046390038-upload-23e3f59e-f87e-4bec-a398-c55da30c188f.png" alt="0_1639046391052_upload-23e3f59e-f87e-4bec-a398-c55da30c188f" class="img-responsive img-markdown" /></p>
<p>If it's possible, please send me the v2 data to <a href="mailto:jan.blaha@jsreport.net" rel="nofollow">jan.blaha@jsreport.net</a></p>
]]></description><link>https://forum.jsreport.net/post/9719</link><guid isPermaLink="true">https://forum.jsreport.net/post/9719</guid><dc:creator><![CDATA[jan_blaha]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to Error about creating Excel reports on Invalid Date]]></title><description><![CDATA[<p>Thank you, <a class="plugin-mentions-a" href="https://forum.jsreport.net/uid/2">@jan_blaha</a>. I emailed you the v2 data zip. Let me know if you received it.</p>
<p>Best,<br />
Genhan</p>
]]></description><link>https://forum.jsreport.net/post/9731</link><guid isPermaLink="true">https://forum.jsreport.net/post/9731</guid><dc:creator><![CDATA[Genhan]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to Error about creating Excel reports on Invalid Date]]></title><description><![CDATA[<p>I apologize for the delay. I found the email but the attachment was removed by some email servers on the way.<br />
Could you please zip the attachment and send it again to these two email addresses? Thank you</p>
<p><a href="mailto:jan.blaha@jsreport.net" rel="nofollow">jan.blaha@jsreport.net</a><br />
<a href="mailto:jan.blaha@hotmail.com" rel="nofollow">jan.blaha@hotmail.com</a></p>
]]></description><link>https://forum.jsreport.net/post/9761</link><guid isPermaLink="true">https://forum.jsreport.net/post/9761</guid><dc:creator><![CDATA[jan_blaha]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to Error about creating Excel reports on Invalid Date]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="https://forum.jsreport.net/uid/2">@jan_blaha</a> , I shared the zipped data folder in Dropbox with you. Let me know if you received the share link.</p>
<p>Thank you,<br />
Genhan</p>
]]></description><link>https://forum.jsreport.net/post/9762</link><guid isPermaLink="true">https://forum.jsreport.net/post/9762</guid><dc:creator><![CDATA[Genhan]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to Error about creating Excel reports on Invalid Date]]></title><description><![CDATA[<p>Thank you, I received your data.</p>
<p>I analyzed the migration of data there and it looks fine.<br />
The problem is that the data already includes a flag that data were migrated so it doesn't run again.<br />
Please remove file <code>data/settings</code> and start jsreport v3 again. It should migrate properly the xlsx templates to assets and fill the references for you.</p>
]]></description><link>https://forum.jsreport.net/post/9768</link><guid isPermaLink="true">https://forum.jsreport.net/post/9768</guid><dc:creator><![CDATA[jan_blaha]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to Error about creating Excel reports on Invalid Date]]></title><description><![CDATA[<p>Thank you so much, <a class="plugin-mentions-a" href="https://forum.jsreport.net/uid/2">@jan_blaha</a>! Removing <code>data/setting</code> resolved the issue.</p>
]]></description><link>https://forum.jsreport.net/post/9785</link><guid isPermaLink="true">https://forum.jsreport.net/post/9785</guid><dc:creator><![CDATA[Genhan]]></dc:creator><pubDate>Invalid Date</pubDate></item></channel></rss>