Hi, I looked at your essay at:
And at this point, when attempting to run the code, it fails:
I’ve put the error below, and I’d really appreciate any advice because I want to test how the product performs generally before incorporating my own project into it.
The Error:
ERROR:labelbox.client:Unknown error: (“Connection broken: InvalidChunkLength(got length b’\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\x03\x84\xce\xbd\n’, 0 bytes read)”, InvalidChunkLength(got length b’\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\x03\x84\xce\xbd\n’, 0 bytes read))
ValueError Traceback (most recent call last)
/usr/local/lib/python3.10/dist-packages/urllib3/response.py in _update_chunk_length(self)
760 try:
→ 761 self.chunk_left = int(line, 16)
762 except ValueError:
ValueError: invalid literal for int() with base 16: b’\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\x03\x84\xce\xbd\n’
During handling of the above exception, another exception occurred:
InvalidChunkLength Traceback (most recent call last)
20 frames
InvalidChunkLength: InvalidChunkLength(got length b’\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\x03\x84\xce\xbd\n’, 0 bytes read)
During handling of the above exception, another exception occurred:
ProtocolError Traceback (most recent call last)
ProtocolError: (“Connection broken: InvalidChunkLength(got length b’\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\x03\x84\xce\xbd\n’, 0 bytes read)”, InvalidChunkLength(got length b’\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\x03\x84\xce\xbd\n’, 0 bytes read))
During handling of the above exception, another exception occurred:
ChunkedEncodingError Traceback (most recent call last)
ChunkedEncodingError: (“Connection broken: InvalidChunkLength(got length b’\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\x03\x84\xce\xbd\n’, 0 bytes read)”, InvalidChunkLength(got length b’\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\x03\x84\xce\xbd\n’, 0 bytes read))
During handling of the above exception, another exception occurred:
NetworkError Traceback (most recent call last)
/usr/local/lib/python3.10/dist-packages/labelbox/client.py in execute(self, query, params, data, files, timeout, experimental)
184 except requests.exceptions.RequestException as e:
185 logger.error(“Unknown error: %s”, str(e))
→ 186 raise labelbox.exceptions.NetworkError(e)
187 except Exception as e:
188 raise labelbox.exceptions.LabelboxError(
NetworkError: (“Connection broken: InvalidChunkLength(got length b’\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\x03\x84\xce\xbd\n’, 0 bytes read)”, InvalidChunkLength(got length b’\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\x03\x84\xce\xbd\n’, 0 bytes read))(‘(“Connection broken: InvalidChunkLength(got length b'\\x1f\\x8b\\x08\\x00\\x00\\x00\\x00\\x00\\x00\\x03\\x84\\xce\\xbd\\n', 0 bytes read)”, InvalidChunkLength(got length b'\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\x03\x84\xce\xbd\n', 0 bytes read))’, ChunkedEncodingError(ProtocolError(“Connection broken: InvalidChunkLength(got length b’\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\x03\x84\xce\xbd\n’, 0 bytes read)”, InvalidChunkLength(got length b’\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\x03\x84\xce\xbd\n’, 0 bytes read))))