HelloZeroNet / HelloZeroNet/ZeroNet
Zeronet
- 主要语言
- JavaScript
- 星标
- 18.8k
- 派生
- 2.3k
- PR 合并指标
- 30 天内没有已合并 PR
描述
https://github.com/HelloZeroNet/ZeroNet/issues/new?assignees=&labels=&template=bug-report.md
~ $ zeronet
- Starting ZeroNet...
[17:45:45] 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
[17:45:45] 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
[17:45:45] Db:Chart Table keyvalue outdated...version: False need: 1, rebuilding...
[17:45:45] Db:Chart Table json outdated...version: 0 need: 1, rebuilding...
[17:45:45] Db:Chart Table data outdated...version: 0 need: 2, rebuilding...
[17:45:45] Db:Chart Table type outdated...version: 0 need: 1, rebuilding...
[17:45:45] Db:Chart Table site outdated...version: 0 need: 1, rebuilding...
[17:45:45] - Libsecp256k1 load failed: No module named 'coincurve', try to load OpenSSL
[17:45:45] - OpenSSL load failed: No module named 'bitcoin', falling back to slow bitcoin verify
/data/data/com.termux/files/usr/opt/zeronet/plugins/FilePack/FilePackPlugin.py:51: SyntaxWarning: invalid escape sequence '\.'
match = re.match("^(.*\.(?:tar.gz|tar.bz2|zip))/(.*)", file_path)
/data/data/com.termux/files/usr/opt/zeronet/plugins/FilePack/FilePackPlugin.py:105: SyntaxWarning: invalid escape sequence '\.'
match = re.match("^(.*\.(?:tar.gz|tar.bz2|zip))/(.*)", inner_path)
/data/data/com.termux/files/usr/opt/zeronet/plugins/FilePack/FilePackPlugin.py:133: SyntaxWarning: invalid escape sequence '\.'
match = re.match("^(.*\.(?:tar.gz|tar.bz2|zip))(.*)", inner_path)
/data/data/com.termux/files/usr/opt/zeronet/plugins/FilePack/FilePackPlugin.py:157: SyntaxWarning: invalid escape sequence '\.'
match = re.match("^(.*\.(?:tar.gz|tar.bz2|zip))(.*)", inner_path)
/data/data/com.termux/files/usr/opt/zeronet/plugins/FilePack/FilePackPlugin.py:184: SyntaxWarning: invalid escape sequence '\.'
match = re.match("^(.*\.(?:tar.gz|tar.bz2|zip))(.*)", inner_path)
[17:45:46] - Version: 0.7.0 r4206, Python 3.12.9 (main, Feb 4 2025, 22:30:28) [Clang 18.0.3 (https://android.googlesource.com/toolchain/llvm-project d8003a456, Gevent: 24.11.1
/data/data/com.termux/files/usr/opt/zeronet/src/Content/ContentManager.py:606: SyntaxWarning: invalid escape sequence '\['
return re.sub("[^a-z\[\]\(\) A-Z0-9_@=\.\+-/]", "", inner_path)
[17:45:46] Db:ContentDb Table keyvalue outdated...version: False need: 3, rebuilding...
[17:45:46] Db:ContentDb Table json outdated...version: 0 need: 3, rebuilding...
[17:45:46] Db:ContentDb Table site outdated...version: 0 need: 1, rebuilding...
[17:45:46] Db:ContentDb Table content outdated...version: 0 need: 1, rebuilding...
[17:45:46] Db:ContentDb Table file_optional outdated...version: 0 need: 11, rebuilding...
[17:45:46] Db:ContentDb Table peer outdated...version: 0 need: 2, rebuilding...
[17:45:46] - 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'
---
Please report it: https://github.com/HelloZeroNet/ZeroNet/issues/new?assignees=&labels=&template=bug-report.md
贡献指南
这个仓库没有索引到贡献指南
调研方向
从 zeronet.py 开始,跟踪启动时经过 src/main.py、src/File/FileServer.py、src/Connection/ConnectionServer.py 和 src/Tor/TorManager.py 的导入过程。在报告的 Termux 和 Python 3.12.9 环境中复现该失败,然后检查 PluginManager.py 报告的缺失模块。完成的标准是启动不再以所示的 ModuleNotFoundError 结束,并且受影响插件的加载错误已得到说明。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- python
- 领域
- networking
- Issue 类型
- 缺陷
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 20/100