HelloZeroNet / HelloZeroNet/ZeroNet

Unable to start after update to newest version

Open
#1,139 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
18.8k
Forks
2.3k
PR merge metrics
No merged PRs in 30d

Description

- Starting ZeroNet...
[06:55:05] - OpenSSL loaded, version: 0100020CF
[06:55:05] - Unhandled exception: argument --autodownload_bigfile_size_limit: conflicting option string(s): --autodownload_bigfile_size_limit
Traceback (most recent call last):
File "zeronet.py", line 18, in main
import main
File "/root/zeronet/src/main.py", line 108, in
config.loadPlugins()
File "/root/zeronet/src/Config.py", line 379, in loadPlugins
ConfigPlugin(self)
File "/root/zeronet/src/Config.py", line 374, in __init__
self.createArguments()
File "plugins/Zeroname/UiRequestPlugin.py", line 30, in createArguments
return super(ConfigPlugin, self).createArguments()
File "plugins/UiPassword/UiPasswordPlugin.py", line 115, in createArguments
return super(ConfigPlugin, self).createArguments()
File "plugins/OptionalManager/OptionalManagerPlugin.py", line 136, in createArguments
return super(ConfigPlugin, self).createArguments()
File "plugins/Bigfile/BigfilePlugin.py", line 680, in createArguments
return super(ConfigPlugin, self).createArguments()
File "plugins/BigFile/BigfilePlugin.py", line 678, in createArguments
group.add_argument('--autodownload_bigfile_size_limit', help='Also download bigfiles until this limit if help distribute option is checked', default=1, metavar="MB", type=int)
File "/usr/lib/python2.7/argparse.py", line 1308, in add_argument
return self._add_action(action)
File "/usr/lib/python2.7/argparse.py", line 1509, in _add_action
action = super(_ArgumentGroup, self)._add_action(action)
File "/usr/lib/python2.7/argparse.py", line 1322, in _add_action
self._check_conflict(action)
File "/usr/lib/python2.7/argparse.py", line 1460, in _check_conflict
conflict_handler(action, confl_optionals)
File "/usr/lib/python2.7/argparse.py", line 1467, in _handle_conflict_error
raise ArgumentError(action, message % conflict_string)
ArgumentError: argument --autodownload_bigfile_size_limit: conflicting option string(s): --autodownload_bigfile_size_limit

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the argument setup in plugins/Bigfile/BigfilePlugin.py and plugins/BigFile/BigfilePlugin.py, then follow the Config.loadPlugins() call in src/Config.py. Compare where --autodownload_bigfile_size_limit is registered and reproduce the startup command shown in the report. Done means ZeroNet starts without the argparse conflict.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.