HelloZeroNet / HelloZeroNet/ZeroNet

Zeronet fault

未关闭
#2,850 5 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

主要语言
JavaScript
星标
18.8k
派生
2.3k
PR 合并指标
30 天内没有已合并 PR

描述

  • Starting ZeroNet...
    [14:07:18] PluginManager Plugin AnnounceBitTorrent load error: ModuleNotFoundError: No module named 'bencode' in PluginManager.py line 138 > AnnounceBitTorrent/init.py line 1 > AnnounceBitTorrent/AnnounceBitTorrentPlugin.py line 6
    [14:07:18] PluginManager Plugin Bigfile load error: ModuleNotFoundError: No module named 'merkletools' in PluginManager.py line 138 > Bigfile/init.py line 1 > Bigfile/BigfilePlugin.py line 20
    [14:07:18] - Libsecp256k1 load failed: No module named 'coincurve', try to load OpenSSL
    [14:07:18] - OpenSSL load failed: No module named 'bitcoin', falling back to slow bitcoin verify
    [14:07:18] - Version: 0.7.0 r4206, Python 3.11.9 (main, Aug 13 2024, 13:46:46) [Clang 18.0.1 (https://android.googlesource.com/toolchain/llvm-project d8003a456, Gevent: 24.2.1
    [14:07:18] - Unhandled exception: No module named 'socks'
    Traceback (most recent call last):
    File "/data/data/com.termux/files/usr/opt/zeronet/zeronet.py", line 17, in main
    main.start() File "/data/data/com.termux/files/usr/opt/zeronet/src/main.py", line 537, in start
    actions.call(config.action, action_kwargs)
    File "/data/data/com.termux/files/usr/opt/zeronet/src/main.py", line 121, in call
    back = func(**kwargs)
    ^^^^^^^^^^^^^^
    File "/data/data/com.termux/files/usr/opt/zeronet/src/main.py", line 128, in main
    from File import FileServer
    File "/data/data/com.termux/files/usr/opt/zeronet/src/File/init.py", line 1, in
    from .FileServer import FileServer File "/data/data/com.termux/files/usr/opt/zeronet/src/File/FileServer.py", line 16, in
    from Connection import ConnectionServer
    File "/data/data/com.termux/files/usr/opt/zeronet/src/Connection/init.py", line 1, in
    from .ConnectionServer import ConnectionServer
    File "/data/data/com.termux/files/usr/opt/zeronet/src/Connection/ConnectionServer.py", line 19, in
    from Tor import TorManager File "/data/data/com.termux/files/usr/opt/zeronet/src/Tor/init.py", line 1, in
    from .TorManager import TorManager File "/data/data/com.termux/files/usr/opt/zeronet/src/Tor/TorManager.py", line 17, in
    import socks
    ModuleNotFoundError: No module named 'socks'

贡献指南

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

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

从 src/Tor/TorManager.py 开始,该文件中的启动回溯导入了 socks,然后沿着 src/main.py 和 src/File/FileServer.py 追踪启动路径。检查必需的 Python 模块是如何声明或安装的,然后验证 ZeroNet 在受影响的环境中启动时不会出现报告的模块缺失错误。

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

评估

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

把新 issue 发到你的邮箱

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