Closed rex4539 closed 2 years ago
it might be zeronet-enhanced
branch, because getSites
not exists in internal-branch
code yet
https://github.com/ZeroNetX/ZeroNet-Plugins/blob/7bb1715ce030352ff46ddd43ad58b7ab90ef978b/Chart/ChartCollector.py#L171
I have gone back and forth between those branches quite a bit.
Is there a chance there are stuff written while on zeronet-enhanced
branch that later persist when I switch to py3-internal
?
since plugins folder is submodule, you have to switch that too to zeronet-enchanced
or master
branch if you want py3-internal
of ZeroNetX
since plugins folder is submodule, you have to switch that too to zeronet-enchanced
maybe asking too much, but can be handy if someone mention Linux commands to
I am asking because i have reported several bugs from enhanced branch yet as user not knowing right git commands i usually end up with fail launching ZN eventualy need to manually delete folder, download everything (git clone --recursive) and copy my zeronet.conf and data folder which is annoying to do on every update.
I recommend to have separate dir for ZeroNetData.
git status will give you branch name and some info
git pull updates your local repo with new changes
git checkout "BRANCH NAME" changes branch to "BRANCH NAME"
PS : I Pushed some plugin changes now, could you test them ?
The zeronet-enhanced
branch is unusable for me.
Thousands of errors and constantly failing to update sites, checking fails, verification fails.
The py3-internal
branch works like a charm.
are main repo and plugin repo have same branch names ? i.e zeronet-enhanced
% git status
On branch zeronet-enhanced
Your branch is up to date with 'origin/zeronet-enhanced'.
% git submodule status
585d1c91bdda4aa92d057b396c38895a3644ccce plugins (remotes/origin/zeronet-enchanced)
could you provide full error log.
Sure, let me do a fresh run and I'll attach them here.
I have it different from rex4539. Can i ask how to set submodule branch to zeronet-enhanced please? If i have it wrong?:
$ git status
On branch zeronet-enhanced
$ git submodule set-branch --branch zeronet-enhanced plugins
$ git submodule status plugins
+61c87e86f96559f39da92d2543cef0699963d477 plugins (heads/master-7-g61c87e8)
UPDATE: after "git pull" it changed to "585d1c91bdda4aa92d057b396c38895a3644ccce plugins (remotes/origin/zeronet-enchanced)"
Are these files exists on your client with error verify error: VerifyError
?
Nope
so all those errors are related to missing files in that case, is it ?
The directories don't even exist, not just the content.json
I'm assuming those must be sites I visited once upon a time and then deleted. But somehow this branch likes to still search for them...
By the way, this is just one type of the errors.
In this branch, I have never been able to update all sites. There are always errors updating various sites.
Ok I will patch it soon
Error reported in initial post also appears to me in py3-internal
with plugins set as:
$ git submodule
+585d1c91bdda4aa92d057b396c38895a3644ccce plugins (remotes/origin/zeronet-enchanced)
which is possibly wrong (ZN py3-internal and plugins enhanced branch). So i did:
$ git submodule update
Submodule path 'plugins': checked out 'd3cbe172712951f43bb6589e92e9e9eeb86c3172'
$ git submodule
d3cbe172712951f43bb6589e92e9e9eeb86c3172 plugins (remotes/origin/HEAD)
$ git pull
Already up to date.
and launched ZN. This time i do not see that error, but i do not know what trigger it in order to be sure. So this issue MAY be just mismatch described. I would be interested if @rex4539 can verify what i did and try to reproduce.
py3-internal
branch