Kdybyste to nevěděli, tak #holland (utilitka pro zálohování #MySQL / #MariaDB ) nefunguje - prej od Pythonu 3.11
Zjistil jsem to náhodou:
$ sudo ls /mnt/nas/backup/mysql/default/
20230206_000026 20230306_000135 20230311_081234 20230403_000059 20230508_000051 newest oldest
$ sudo holland bk
Holland 1.2.10 started with pid 2080038
Traceback (most recent call last):
File "/usr/bin/holland", line 33, in <module>
sys.exit(load_entry_point('holland==1.2.10', 'console_scripts', 'holland')())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/holland/core/cmdshell.py", line 41, in main
return run(opts, args)
^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/holland/core/command/__init__.py", line 41, in run
cmdobj = commands[opts.command]()
^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/holland/core/command/command.py", line 89, in __init__
self.optparser = SUBPARSER.add_parser(
^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/argparse.py", line 1192, in add_parser
raise ArgumentError(self, _('conflicting subparser: %s') % name)
argparse.ArgumentError: argument command: conflicting subparser: backup
Takže jestli někdo používáte holland
, zkoukněte si, jestli probíhá správně
Schmaker
in reply to Schmaker • •Bugreport zde:
Commands fail on Python 3.11: argparse.ArgumentError: argument command: conflicting subparser · Issue #361 · holland-backup/holland
Schmaker
in reply to Schmaker • •Pavel Skoupý
in reply to Schmaker • • •Schmaker
in reply to Pavel Skoupý • •Jan Korbel 🇨🇿 🐧
in reply to Schmaker • • •Schmaker
in reply to Jan Korbel 🇨🇿 🐧 • •