ZeroNetX / ZeroNet

ZeroNetX - Decentralized websites using Bitcoin crypto and BitTorrent network
https://zeronet.dev
Other
224 stars 32 forks source link

error: unrecognized arguments: --optional-limit *.* #227

Closed slrslr closed 8 months ago

slrslr commented 9 months ago

Step 1: Please describe your environment

Step 2: Describe the problem:

Hello, under latest ZNC, I have seen: zeronet.py: error: unrecognized arguments: --optional-limit 2299.43 during startup. Yet, my zeronet.conf contains underscored parameter optional_limit (not hyphen).

I have also tried to use zeronet.conf parameter with hyphen, but no luck. --help shows:

OptionalManager plugin:
  --optional_limit GB or free space %
                        Limit total size of optional files (default: 10%)

OptionalManager plugin files has last modification date like 6 months back and contains only "optional_limit".

My files are result of:

git reset --hard
git clone --recursive https://github.com/zeronet-conservancy/zeronet-conservancy.git
git pull origin master

(posted also on your Session)

slrslr commented 8 months ago

I am sorry, accidentally submitted here, should be in ZNC issues.