[Bug]: TypeError: Got unexpected keyword argument 'request_checksum_calculation'
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- Python
- Sterne
- 442
- Forks
- 159
- Ø Merge
- 7 T. 21 Std.
- Gemergte PRs (30 T.)
- 8
Beschreibung
CLI Version
linode-cli v5.57.0 Built from spec version 4.198.0
Command
linode-cli obj ls
Output
Traceback (most recent call last):
File "/home/user/.local/bin/linode-cli", line 8, in <module>
sys.exit(main())
File "/home/user/.local/lib/python3.9/site-packages/linodecli/__init__.py", line 248, in main
plugins.invoke(parsed.command, plugin_args, context)
File "/home/user/.local/lib/python3.9/site-packages/linodecli/plugins/plugins.py", line 149, in invoke
plugin.call(args, context)
File "/home/user/.local/lib/python3.9/site-packages/linodecli/plugins/obj/__init__.py", line 423, in call
COMMAND_MAP[parsed.command](
File "/home/user/.local/lib/python3.9/site-packages/linodecli/plugins/obj/list.py", line 51, in list_objects_or_buckets
client = get_client()
File "/home/user/.local/lib/python3.9/site-packages/linodecli/plugins/obj/__init__.py", line 419, in get_client
return _get_boto_client(current_cluster, access_key, secret_key)
File "/home/user/.local/lib/python3.9/site-packages/linodecli/plugins/obj/__init__.py", line 451, in _get_boto_client
config=Config(
File "/home/user/.local/lib/python3.9/site-packages/botocore/config.py", line 275, in __init__
self._user_provided_options = self._record_user_provided_options(
File "/home/user/.local/lib/python3.9/site-packages/botocore/config.py", line 308, in _record_user_provided_options
raise TypeError(f"Got unexpected keyword argument '{key}'")
TypeError: Got unexpected keyword argument 'request_checksum_calculation'
Expected Behavior
Given that I have no buckets yet, I was expecting to see some kind of empty list (maybe in a fancy tui frame) with an exit status of 0.
Actual Behavior
The above stack trace, with an exit status of 1.
Steps to Reproduce
At the moment, all I have to do is run linode-cli obj ls to reproduce it, but I don't know what state it is contingent on (e.g. would it stop erroring out if I create a bucket? is there a linode api deployment that adds/removes a this request checksum thing? etc).
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
Beginne bei linodecli/plugins/obj/init.py, insbesondere bei _get_boto_client, und verfolge dessen Aufruf aus list_objects_or_buckets in plugins/obj/list.py. Führe linode-cli obj ls erneut aus und untersuche die botocore Config-Optionen, die im Traceback betroffen sind. Als erledigt gilt es, wenn der Befehl eine leere Bucket-Liste ohne TypeError verarbeitet und erfolgreich beendet wird.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- python
- Bereich
- cli, cloud
- Issue-Typ
- Bug
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 35/100