toolbelt icon indicating copy to clipboard operation
toolbelt copied to clipboard

'SessionThread' object has no attribute '_responses'

Open clyfish opened this issue 1 year ago • 0 comments

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 avatar Nov 12 '24 08:11 clyfish