备份失败,[ERR_BUFFER_OUT_OF_BOUNDS]报错
nightlanding opened this issue · comments
如题。在转换为PDF时提示
2022-09-21 11:56:42.519: [GenerateCustomer] 正在添加页面2019-05-10(第603/1455项)下,第1/1条微博 2022-09-21 11:56:42.522: [GenerateCustomer] 将页面2019-05-11(第604/1455项)添加到pdf文件中 2022-09-21 11:56:42.522: [GenerateCustomer] 正在添加页面2019-05-11(第604/1455项)下,第1/3条微博 2022-09-21 11:56:42.987: [GenerateCustomer] 正在添加页面2019-05-11(第604/1455项)下,第2/3条微博 2022-09-21 11:56:43.517: [GenerateCustomer] catch error **2022-09-21 11:56:43.518: [GenerateCustomer] RangeError [ERR_BUFFER_OUT_OF_BOUNDS]: Attempt to access memory outside buffer bounds** at new NodeError (node:internal/errors:371:5) at boundsError (node:internal/buffer:84:11) at Buffer.readUInt16LE (node:internal/buffer:243:5) at Object.validate (C:\Users\Marcel\AppData\Local\Programs\stablog\resources\app\node_modules\image-size\dist\types\cur.js:7:20) at finder (C:\Users\Marcel\AppData\Local\Programs\stablog\resources\app\node_modules\image-size\dist\detector.js:26:55) at Array.find (<anonymous>) at Object.detector (C:\Users\Marcel\AppData\Local\Programs\stablog\resources\app\node_modules\image-size\dist\detector.js:27:17) at lookup (C:\Users\Marcel\AppData\Local\Programs\stablog\resources\app\node_modules\image-size\dist\index.js:32:29) at Function.imageSize (C:\Users\Marcel\AppData\Local\Programs\stablog\resources\app\node_modules\image-size\dist\index.js:87:16) at C:\Users\Marcel\AppData\Local\Programs\stablog\resources\app\dist\command\generate\customer.js:1039:51 at Generator.next (<anonymous>) at asyncGeneratorStep (C:\Users\Marcel\AppData\Local\Programs\stablog\resources\app\dist\command\generate\customer.js:50:103) at _next (C:\Users\Marcel\AppData\Local\Programs\stablog\resources\app\dist\command\generate\customer.js:52:194) 2022-09-21 11:56:43.518: [GenerateCustomer] command finish 2022-09-21 11:56:43.518: [DispatchCommand] 生成电子书命令执行完毕 2022-09-21 11:56:43.519: [DispatchCommand] 所有命令执行完毕 2022-09-21 11:56:43.519: [DispatchCommand] command finish 2022-09-21 11:56:43.519: 所有任务执行完毕, 打开电子书文件夹 => C:\Users\Marcel\AppData\Local\Programs\stablog\resources\app\稳部落输出的电子书
打开电子书目录为空。