DMS_Upload schlägt fehl für große Dateien
Upload schlägt fehl, für große Dateien (beobachtet bei >2.6GB)
Alles unter 200MB hat funktioniert
Traceback (most recent call last):
File "upload_to_dms.py", line 8, in <module>
uc2.DMS_upload(TARGET, USER, skip="error")
File "/home/schmidt/.programs/anaconda3/lib/python3.8/site-packages/uc2data/helpers.py", line 305, in DMS_upload
r = con.upload(file_path, ignore_warning=loop_ignore_warning, ignore_error=loop_ignore_error)
File "/home/schmidt/.programs/anaconda3/lib/python3.8/site-packages/uc2data/DMSConnection.py", line 26, in upload
response = requests.post(url, files={'file': fh}, data=params, headers=header)
File "/home/schmidt/.programs/anaconda3/lib/python3.8/site-packages/requests/api.py", line 119, in post
return request('post', url, data=data, json=json, **kwargs)
File "/home/schmidt/.programs/anaconda3/lib/python3.8/site-packages/requests/api.py", line 61, in request
return session.request(method=method, url=url, **kwargs)
File "/home/schmidt/.programs/anaconda3/lib/python3.8/site-packages/requests/sessions.py", line 530, in request
resp = self.send(prep, **send_kwargs)
File "/home/schmidt/.programs/anaconda3/lib/python3.8/site-packages/requests/sessions.py", line 643, in send
r = adapter.send(request, **kwargs)
File "/home/schmidt/.programs/anaconda3/lib/python3.8/site-packages/requests/adapters.py", line 439, in send
resp = conn.urlopen(
File "/home/schmidt/.programs/anaconda3/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen
httplib_response = self._make_request(
File "/home/schmidt/.programs/anaconda3/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request
conn.request(method, url, **httplib_request_kw)
File "/home/schmidt/.programs/anaconda3/lib/python3.8/http/client.py", line 1240, in request
self._send_request(method, url, body, headers, encode_chunked)
File "/home/schmidt/.programs/anaconda3/lib/python3.8/http/client.py", line 1286, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "/home/schmidt/.programs/anaconda3/lib/python3.8/http/client.py", line 1235, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/home/schmidt/.programs/anaconda3/lib/python3.8/http/client.py", line 1045, in _send_output
self.send(chunk)
File "/home/schmidt/.programs/anaconda3/lib/python3.8/http/client.py", line 967, in send
self.sock.sendall(data)
File "/home/schmidt/.programs/anaconda3/lib/python3.8/ssl.py", line 1204, in sendall
v = self.send(byte_view[count:])
File "/home/schmidt/.programs/anaconda3/lib/python3.8/ssl.py", line 1173, in send
return self._sslobj.write(data)
OverflowError: string longer than 2147483647 bytes