HelloZeroNet / HelloZeroNet/ZeroNet

File write error: undefined

未关闭
#689 4 条评论 2 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
JavaScript
星标
18.8k
派生
2.3k
PR 合并指标
30 天内没有已合并 PR

描述

The command `Page.cmd "fileWrite"` is showing a UI message error with the text: `File write error: undefined` but there is nothing in the debug logs nor console.

**To Reproduce:**

1 - Download the site Antilibrary.bit and add the spanish DB (just because it is the smallest one)
2 - Import this CSV ([goodreads_library_export.txt](https://github.com/HelloZeroNet/ZeroNet/files/627852/goodreads_library_export.txt)) on the Goodreads CSV Importer in Antilibrary.bit (inside My Books)

The file will import and you should get this error after 2 or 3 seconds.
I can't find a way to debug this problem because it seems that this error is showing just in the UI.

贡献指南

这个仓库没有索引到贡献指南

调研方向

Start by reproducing the Goodreads CSV Importer failure in Antilibrary.bit with the linked export, then trace the Page.cmd "fileWrite" entry point and the UI path that displays the error. Check how the underlying file-write failure is propagated and logged; done means the import no longer reports an undefined error and useful diagnostic output is available.

由索引模型根据 Issue 内容生成。

评估

技术栈
javascript
领域
frontend
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
30/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。