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

'SessionThread' object has no attribute '_responses' #381

Open
clyfish opened this issue Nov 12, 2024 · 0 comments · May be fixed by #382
Open

'SessionThread' object has no attribute '_responses' #381

clyfish opened this issue Nov 12, 2024 · 0 comments · May be fixed by #382

Comments

@clyfish
Copy link

clyfish commented Nov 12, 2024

When remote servers are very fast, we often encounter this exception.

Exception in thread f71e3b91-ad4d-4e0a-aa72-1eca9e66e53c:
Traceback (most recent call last):
  File "/usr/local/python39/lib/python3.9/threading.py", line 954, in _bootstrap_inner
    self.run()
  File "/usr/local/python39/lib/python3.9/threading.py", line 892, in run
    self._target(*self._args, **self._kwargs)
  File "/home/gitlab-runner/.local/lib/python3.9/site-packages/requests_toolbelt/threaded/thread.py", line 45, in _make_request
    self._handle_request(kwargs)
  File "/home/gitlab-runner/.local/lib/python3.9/site-packages/requests_toolbelt/threaded/thread.py", line 34, in _handle_request
    self._responses.put((kwargs, response))
AttributeError: 'SessionThread' object has no attribute '_responses'
@clyfish clyfish linked a pull request Nov 12, 2024 that will close this issue
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

Successfully merging a pull request may close this issue.

1 participant