HelloZeroNet / HelloZeroNet/ZeroNet

Zeronet

Offen
#2,864 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
JavaScript
Sterne
18.8k
Forks
2.3k
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
python
Bereich
networking
Issue-Typ
Bug
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Veraltet
Klarheit
Muss geklärt werden
Anfängerfreundlichkeit
20/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.