juergbi commented on PR #1928:
URL: https://github.com/apache/buildstream/pull/1928#issuecomment-2235979312
Traceback (most recent call last):
File "/home/testuser/buildstream/src/buildstream/plugin.py", line
184, in _background_job_wrapper
result = target(*args)
^^^^^^^^^^^^^
File
"/home/testuser/buildstream/src/buildstream/downloadablefilesource.py", line
166, in _download_file
with contextlib.closing(opener.open(request, 10 * 60)) as
response:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib64/python3.11/urllib/request.py", line 519, in open
response = self._open(req, data)
^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib64/python3.11/urllib/request.py", line 536, in _open
result = self._call_chain(self.handle_open, protocol, protocol +
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib64/python3.11/urllib/request.py", line 496, in
_call_chain
result = func(*args)
^^^^^^^^^^^
File "/usr/lib64/python3.11/urllib/request.py", line 1377, in
http_open
return self.do_open(http.client.HTTPConnection, req)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib64/python3.11/urllib/request.py", line 1348, in
do_open
h.request(req.get_method(), req.selector, req.data, headers,
File "/usr/lib64/python3.11/http/client.py", line 1303, in request
self._send_request(method, url, body, headers, encode_chunked)
File "/usr/lib64/python3.11/http/client.py", line 1349, in
_send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "/usr/lib64/python3.11/http/client.py", line 1298, in
endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/usr/lib64/python3.11/http/client.py", line 1079, in
_send_output
raise TypeError("message_body should be a bytes-like "
TypeError: message_body should be a bytes-like object or an
iterable, got <class 'int'>
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]