Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: request() got an unexpected keyword argument 'chunked' #801

Open
jonnygiger opened this issue Dec 21, 2023 · 0 comments
Open

Comments

@jonnygiger
Copy link

On Debian 11 bullseye

$ git clone https://github.com/audreyt/ethercalc.git
Cloning into 'ethercalc'...
remote: Enumerating objects: 7658, done.
remote: Counting objects: 100% (18/18), done.
remote: Compressing objects: 100% (12/12), done.
remote: Total 7658 (delta 8), reused 11 (delta 6), pack-reused 7640
Receiving objects: 100% (7658/7658), 13.00 MiB | 12.33 MiB/s, done.
Resolving deltas: 100% (4426/4426), done.
$ cd ethercalc/
$ docker-compose up -d
Traceback (most recent call last):
  File "/usr/bin/docker-compose", line 11, in <module>
    load_entry_point('docker-compose==1.25.0', 'console_scripts', 'docker-compose')()
  File "/usr/lib/python3/dist-packages/compose/cli/main.py", line 72, in main
    command()
  File "/usr/lib/python3/dist-packages/compose/cli/main.py", line 128, in perform_command
    handler(command, command_options)
  File "/usr/lib/python3/dist-packages/compose/cli/main.py", line 1085, in up
    warn_for_swarm_mode(self.project.client)
  File "/usr/lib/python3/dist-packages/compose/cli/main.py", line 1593, in warn_for_swarm_mode
    info = client.info()
  File "/usr/lib/python3/dist-packages/docker/api/daemon.py", line 95, in info
    return self._result(self._get(self._url("/info")), True)
  File "/usr/lib/python3/dist-packages/docker/utils/decorators.py", line 46, in inner
    return f(self, *args, **kwargs)
  File "/usr/lib/python3/dist-packages/docker/api/client.py", line 230, in _get
    return self.get(url, **self._set_request_timeout(kwargs))
  File "/home/jonny/.local/lib/python3.9/site-packages/requests/sessions.py", line 602, in get
    return self.request("GET", url, **kwargs)
  File "/home/jonny/.local/lib/python3.9/site-packages/requests/sessions.py", line 589, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/jonny/.local/lib/python3.9/site-packages/requests/sessions.py", line 703, in send
    r = adapter.send(request, **kwargs)
  File "/home/jonny/.local/lib/python3.9/site-packages/requests/adapters.py", line 486, in send
    resp = conn.urlopen(
  File "/home/jonny/.local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 790, in urlopen
    response = self._make_request(
  File "/home/jonny/.local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 496, in _make_request
    conn.request(
TypeError: request() got an unexpected keyword argument 'chunked'
$ pip show urllib3
Name: urllib3
Version: 2.0.2
Summary: HTTP library with thread-safe connection pooling, file post, and more.
Home-page: None
Author: None
Author-email: Andrey Petrov <[email protected]>
License: None
Location: /home/jonny/.local/lib/python3.9/site-packages
Requires: 
Required-by: selenium, requests
$ pip show requests
Name: requests
Version: 2.31.0
Summary: Python HTTP for Humans.
Home-page: https://requests.readthedocs.io
Author: Kenneth Reitz
Author-email: [email protected]
License: Apache 2.0
Location: /home/jonny/.local/lib/python3.9/site-packages
Requires: charset-normalizer, certifi, urllib3, idna
Required-by: 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant