Skip to content

[Bug]: TypeError: Got unexpected keyword argument 'request_checksum_calculation' #769

Description

@Osndok

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).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugissues that report a bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions