[Bug]: TypeError: Got unexpected keyword argument 'request_checksum_calculation'
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
Research direction
Start at linodecli/plugins/obj/init.py, especially _get_boto_client, and trace its call from list_objects_or_buckets in plugins/obj/list.py. Reproduce linode-cli obj ls and inspect the botocore Config options involved in the traceback. Done means the command handles an empty bucket list without a TypeError and exits successfully.
Written by the indexing model from the issue text.
Description
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).
- Dominant language
- Python
- Stars
- 442
- Forks
- 159
- Avg merge
- 7d 21h
- Merged PRs (30d)
- 8
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from linode/linode-cli
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
linode/linode-cli#894 ·
-
enhancement
Difficulty 1/5 Under an hour Newbie friendliness 85/100
linode/linode-cli#859 · 1 comment ·
-
enhancement
Difficulty 4/5 3-5 days Newbie friendliness 35/100
linode/linode-cli#868 ·
-
bug
Difficulty 3/5 1-2 days Newbie friendliness 45/100
linode/linode-cli#825 · 1 comment ·
-
enhancement
Difficulty 4/5 3-5 days Newbie friendliness 35/100
linode/linode-cli#788 ·
All issues in linode/linode-cli
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100