HelloZeroNet / HelloZeroNet/ZeroNet

Unable to start after update to newest version

Abierto
#1,139 1 comentario 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
JavaScript
Estrellas
18.8k
Forks
2.3k
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

- 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

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
python
Área
cli
Tipo de issue
Error
Dificultad
2/5
Tiempo estimado
1-3 horas
Estado de actividad
Estancado
Claridad
Bastante claro
Aptitud para principiantes
35/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.