HelloZeroNet / HelloZeroNet/ZeroNet

FileNotFoundError: [Errno 2] No such file or directory - BigfilePlugin.py

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

描述

### Step 1: Please describe your environment

* ZeroNet version: 4397
* Operating system: W10
* Web browser: FF beta
* Tor status: available
* Opened port: no

### Step 2: Describe the problem:

> ERROR - Unhandled exception: FileNotFoundError: [Errno 2] No such file or directory: 'U:/ZeroNet-win-dist-win64/data/1N77kxgd29cR8w9xt481JDJEtYdX1hCqAR/data/users/1GrTv5QgmApo9jMgoWFFq1RwUpQWqtbhnQ/Arkadij-i-Boris-Strugackie-Hishchnye-veshchi-veka.mp3.piecemap.msgpack' in greenlet.py line 766 > core/src/Worker/Worker.py line 208 > ... > Bigfile/BigfilePlugin.py line 356 > 343 > 338 > core/src/Site/SiteStorage.py line 257

I see the error "FileNotFoundError: [Errno 2]" 6 times in debug.log for total 2 sites
Maybe this is not a big problem and can be ignored?

贡献指南

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

调研方向

首先,使用 debug.log 中的详细信息和缺失的 .piecemap.msgpack 路径,跟踪经过 Bigfile/BigfilePlugin.py 第 356 行和 core/src/Site/SiteStorage.py 第 257 行的报告调用路径。确定对于这些站点而言该文件缺失是否属于预期情况,并定义对重复出现的 FileNotFoundError 所需的处理方式。

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

评估

技术栈
python
领域
backend
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
需要澄清
新手友好度
25/100

把新 issue 发到你的邮箱

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