TypeError when running arkindex upload minio
Running arkindex upload minio
results in a TypeError:
(.env) cabdelwahab@didyme:~/import_iiif$ arkindex upload minio -b mcit-data
╭───────────────────── Traceback (most recent call last) ──────────────────────╮
│ /home/users/cabdelwahab/import_iiif/.env/bin/arkindex:8 in <module> │
│ │
│ 5 from arkindex_cli.cli import main │
│ 6 if __name__ == '__main__': │
│ 7 │ sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) │
│ ❱ 8 │ sys.exit(main()) │
│ 9 │
│ │
│ /home/users/cabdelwahab/import_iiif/.env/lib/python3.6/site-packages/arkinde │
│ x_cli/cli.py:67 in main │
│ │
│ 64 │ if "func" in args: │
│ 65 │ │ # Run the subcommand's function │
│ 66 │ │ try: │
│ ❱ 67 │ │ │ status = args.pop("func")(**args) │
│ 68 │ │ │ parser.exit(status=status) │
│ 69 │ │ except KeyboardInterrupt: │
│ 70 │ │ │ # Just quit silently on ^C instead of displaying a long tra │
╰──────────────────────────────────────────────────────────────────────────────╯
TypeError: run() missing 1 required positional argument: 'self'