html-to-xlsx recipe: invalid signature: 0x74202a2f
-
Hi
We are doing some tests using the html-to-xlsx recipe and getting the below errors.
Do you know what could be reasons for this error ?
Thanks
AnibalError while executing html-to-xlsx recipe. invalid signature: 0x74202a2f
logs:
+0 Starting rendering request 1 (user: admin)
+7 Rendering template { name: report-writer, recipe: html-to-xlsx, engine: handlebars, preview: true }
+12 Data item not defined for this template.
+12 Resources not defined for this template.
+20 Executing script report-writer-script using http-server strategy
+484 Report writer - column count: 5 data columns: 4
+505 Base url not specified, skipping its injection.
+525 Replaced assets ["report-writer.css","global.css"]
+526 Rendering engine handlebars using http-server strategy
+630 Compiled template not found in the cache, compiling
+686 Executing recipe html-to-xlsx
+687 html-to-xlsx generation is starting
+687 html-to-xlsx is going to insert table generation into base xlsx template
+2348 Rendering request 1 finished with error in 2348 ms
Error: Error while executing html-to-xlsx recipe. invalid signature: 0x74202a2f
at module.exports (/home/anibal/realtimereport/node_modules/jsreport-core/lib/util/createError.js:11:13)
at Reporter.createError (/home/anibal/realtimereport/node_modules/jsreport-core/lib/reporter.js:332:12)
at Object.execute (/home/anibal/realtimereport/node_modules/jsreport/node_modules/jsreport-html-to-xlsx/lib/recipe.js:159:20)
at process._tickCallback (internal/process/next_tick.js:68:7)
caused by: Error: invalid signature: 0x74202a2f
at /home/anibal/realtimereport/node_modules/unzipper/lib/parse.js:62:26
at bound (domain.js:402:14)
at runBound (domain.js:415:12)
at tryCatcher (/home/anibal/realtimereport/node_modules/unzipper/node_modules/bluebird/js/release/util.js:16:23)
at Promise._settlePromiseFromHandler (/home/anibal/realtimereport/node_modules/unzipper/node_modules/bluebird/js/release/promise.js:510:31)
at Promise._settlePromise (/home/anibal/realtimereport/node_modules/unzipper/node_modules/bluebird/js/release/promise.js:567:18)
at Promise._settlePromise0 (/home/anibal/realtimereport/node_modules/unzipper/node_modules/bluebird/js/release/promise.js:612:10)
at Promise._settlePromises (/home/anibal/realtimereport/node_modules/unzipper/node_modules/bluebird/js/release/promise.js:691:18)
at Async._drainQueue (/home/anibal/realtimereport/node_modules/unzipper/node_modules/bluebird/js/release/async.js:133:16)
at Async._drainQueues (/home/anibal/realtimereport/node_modules/unzipper/node_modules/bluebird/js/release/async.js:143:10)
at Immediate.Async.drainQueues (/home/anibal/realtimereport/node_modules/unzipper/node_modules/bluebird/js/release/async.js:17:14)
at runCallback (timers.js:705:18)
at tryOnImmediate (timers.js:676:5)
at processImmediate (timers.js:658:5)
at process.topLevelDomainCallback (domain.js:126:23)
-
It seems you are trying to insert your table into the existing xlsx template you've uploaded.
However, this xlsx template is invalid (invalid zip).
Please try to check the associated xlsx template.