Closed slrslr closed 2 years ago
The plugins are now a separate repo so I suggest you clone the Zeronet repo with --recursive
flag.
Or otherwise enter git submodule init && git submodule update
.
Thanks for a good suggestion. I think that i am using latest plugins version since i am also cloning plugins directory manually. https://raw.githubusercontent.com/ZeroNetX/ZeroNet-Plugins/master/AnnounceZero/AnnounceZeroPlugin.py match what i have in /home/user/apps/zeronet/plugins/AnnounceZero/AnnounceZeroPlugin.py - yet mentioned Ed25519 error still appears...
I have tried that --recursive flag into following update commands
for updating i am now using:
cd "$dstdir"||exit;git --branch "$branch" remote add origin "$giturl" 2>/dev/null;git submodule update --init --recursive;git pull origin master --branch "$branch" --recursive 2>/dev/null||git pull origin main --branch "$branch" --recursive 2>/dev/null
cd "$dstdir2"||exit;git remote add origin "$giturl2" 2>/dev/null;git submodule update --init;git pull origin master 2>/dev/null||git pull origin main 2>/dev/null
(dstdir=zeronet;dstdir2=zeronet/plugins)
and on each run it returns:
Submodule path 'plugins': checked out '5c22d54984363d425d9f7b6aabbf1a871e7e60a1'
Updating 5c22d54..b59467e
Fast-forward
.gitmodules | 9 +++++++++
AnnounceZero/AnnounceZeroPlugin.py | 6 +++---
NameYo | 1 +
PeerMessage | 1 +
disabled-BackgroundProcessing | 1 +
disabled-Bootstrapper/BootstrapperPlugin.py | 6 +++---
disabled-Bootstrapper/Test/TestBootstrapper.py | 6 +++---
7 files changed, 21 insertions(+), 9 deletions(-)
create mode 100644 .gitmodules
create mode 160000 NameYo
create mode 160000 PeerMessage
create mode 160000 disabled-BackgroundProcessing
🤔
Yours suggested command has this output:
$ git submodule init && git submodule update
Submodule path 'plugins': checked out '5c22d54984363d425d9f7b6aabbf1a871e7e60a1'
@slrslr try now, pushed some changes to internal branch
Fixed in v0.7.6
Hello, i have cloned from py3-internal branch just now and ZN returned:
$ ../zeronet.py --version
$ python --version Python 3.10.1
Then i ran
$ cd path/to/zeronet && pip install -r requirements.txt
with this output ("Successfully installed base58-2.1.1 coincurve-16.0.0 gevent-ws-2.1.0 maxminddb-2.2.0 merkletools-1.0.3 pysha3-1.0.2
")Only error that remains is:
What does it mean, how this can be fixed? Should i be running "pip install -r requirements.txt" each time i clone the py3-internal branch? Thank You