HelloZeroNet / HelloZeroNet/ZeroNet

Zeronet

Đang mở
#2,864 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
JavaScript
Star
18.8k
Fork
2.3k
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Hướng nghiên cứu

Start with zeronet.py and trace the startup imports through src/main.py, src/File/FileServer.py, src/Connection/ConnectionServer.py, and src/Tor/TorManager.py. Reproduce the failure in the reported Termux and Python 3.12.9 environment, then check the missing modules reported by PluginManager.py. Done means startup no longer ends with the shown ModuleNotFoundError and the affected plugin load errors are accounted for.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
python
Lĩnh vực
networking
Loại issue
Lỗi
Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Cần làm rõ
Mức phù hợp với người mới
20/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.