ITADN

error: failed to push some refs for large file

#92Closedanythingthatworks 创建于 2020-03-26
bughigh-priority
I'm pushing a very large file(7gigs, thousands of files) into my Dropbox, and my pushes fail partway through every time. I've tried pushing a couple different times to check where the progress stops, but it's inconsistent. the error I normally get is: "error: failed to push some refs to Dropbox:///Git-Dropbox:Speeder" I started using git-remote-dropbox in order to store an entire unity game project I'm working on, including assets in order to quickly be able to share between team members and also track updates to all the files. A bit of research says that this looks similar to issue issues [15 ](https://github.com/anishathalye/git-remote-dropbox/issues/15), [36](https://github.com/anishathalye/git-remote-dropbox/issues/36), and [57](https://github.com/anishathalye/git-remote-dropbox/issues/57), but I couldn't find solutions in those issues. git version 2.22 windows 10 v1903 python 3.8 git-remote-dropbox latest release running the program with -v gives Traceback (most recent call last): File "c:\users\0rson\appdata\local\programs\python\python38\lib\site-packages\urllib3\connectionpool.py", line 665, in urlopen httplib_response = self._make_request( File "c:\users\0rson\appdata\local\programs\python\python38\lib\site-packages\urllib3\connectionpool.py", line 387, in _make_request conn.request(method, url, **httplib_request_kw) File "c:\users\0rson\appdata\local\programs\python\python38\lib\http\client.py", line 1230, in request self._send_request(method, url, body, headers, encode_chunked) File "c:\users\0rson\appdata\local\programs\python\python38\lib\http\client.py", line 1276, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "c:\users\0rson\appdata\local\programs\python\python38\lib\http\client.py", line 1225, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "c:\users\0rson\appdata\local\programs\python\python38\lib\http\client.py", line 1043, in _send_output self.send(chunk) File "c:\users\0rson\appdata\local\programs\python\python38\lib\http\client.py", line 965, in send self.sock.sendall(data) File "c:\users\0rson\appdata\local\programs\python\python38\lib\ssl.py", line 1204, in sendall debug: writing: /git-dropbox:speeder/objects/2c/5bf73c65039d992b554a6c683046fcae495417 v = self.send(byte_view[count:]) File "c:\users\0rson\appdata\local\programs\python\python38\lib\ssl.py", line 1173, in send return self._sslobj.write(data) socket.timeout: The write operation timed out During handling of the above exception, another exception occurred: Traceback (most recent call last): File "c:\users\0rson\appdata\local\programs\python\python38\lib\site-packages\requests\adapters.py", line 439, in send resp = conn.urlopen( File "c:\users\0rson\appdata\local\programs\python\python38\lib\site-packages\urllib3\connectionpool.py", line 719, in urlopen retries = retries.increment( File "c:\users\0rson\appdata\local\programs\python\python38\lib\site-packages\urllib3\util\retry.py", line 400, in increment raise six.reraise(type(error), error, _stacktrace) File "c:\users\0rson\appdata\local\programs\python\python38\lib\site-packages\urllib3\packages\six.py", line 734, in reraise raise value.with_traceback(tb) File "c:\users\0rson\appdata\local\programs\python\python38\lib\site-packages\urllib3\connectionpool.py", line 665, in urlopen httplib_response = self._make_request( File "c:\users\0rson\appdata\local\programs\python\python38\lib\site-packages\urllib3\connectionpool.py", line 387, in _make_request conn.request(method, url, **httplib_request_kw) File "c:\users\0rson\appdata\local\programs\python\python38\lib\http\client.py", line 1230, in request self._send_request(method, url, body, headers, encode_chunked) File "c:\users\0rson\appdata\local\programs\python\python38\lib\http\client.py", line 1276, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "c:\users\0rson\appdata\local\programs\python\python38\lib\http\client.py", line 1225, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "c:\users\0rson\appdata\local\programs\python\python38\lib\http\client.py", line 1043, in _send_output self.send(chunk) File "c:\users\0rson\appdata\local\programs\python\python38\lib\http\client.py", line 965, in send self.sock.sendall(data) File "c:\users\0rson\appdata\local\programs\python\python38\lib\ssl.py", line 1204, in sendall v = self.send(byte_view[count:]) File "c:\users\0rson\appdata\local\programs\python\python38\lib\ssl.py", line 1173, in send return self._sslobj.write(data) urllib3.exceptions.ProtocolError: ('Connection aborted.', timeout('The write operation timed out')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "c:\users\0rson\appdata\local\programs\python\python38\lib\runpy.py", line 193, in _run_module_as_main return _run_code(code, main_globals, None, File "c:\users\0rson\appdata\local\programs\python\python38\lib\runpy.py", line 86, in _run_code exec(code, run_globals) File "C:\Users\0rson\AppData\Local\Programs\Python\Python38\Scripts\git-remote-Dropbox.exe\__main__.py", line 9, in <module> File "c:\users\0rson\appdata\local\programs\python\python38\lib\site-packages\git_remote_dropbox\cli\helper.py", line 23, in main helper.run() File "c:\users\0rson\appdata\local\programs\python\python38\lib\site-packages\git_remote_dropbox\helper.py", line 108, in run self._do_push(line) File "c:\users\0rson\appdata\local\programs\python\python38\lib\site-packages\git_remote_dropbox\helper.py", line 152, in _do_push self._push(src, dst) File "c:\users\0rson\appdata\local\programs\python\python38\lib\site-packages\git_remote_dropbox\helper.py", line 215, in _push for done, _ in enumerate(res, 1): File "c:\users\0rson\appdata\local\programs\python\python38\lib\multiprocessing\pool.py", line 865, in next raise value File "c:\users\0rson\appdata\local\programs\python\python38\lib\multiprocessing\pool.py", line 125, in worker result = (True, func(*args, **kwds)) File "c:\users\0rson\appdata\local\programs\python\python38\lib\site-packages\git_remote_dropbox\util.py", line 103, in __call__ return method(self._obj, *args) File "c:\users\0rson\appdata\local\programs\python\python38\lib\site-packages\git_remote_dropbox\helper.py", line 287, in _put_object self._connection().files_upload(data, path, mode, mute=True) File "c:\users\0rson\appdata\local\programs\python\python38\lib\site-packages\dropbox\base.py", line 2762, in files_upload r = self.request( File "c:\users\0rson\appdata\local\programs\python\python38\lib\site-packages\dropbox\dropbox.py", line 269, in request res = self.request_json_string_with_retry(host, File "c:\users\0rson\appdata\local\programs\python\python38\lib\site-packages\dropbox\dropbox.py", line 360, in request_json_string_wi return self.request_json_string(host, File "c:\users\0rson\appdata\local\programs\python\python38\lib\site-packages\dropbox\dropbox.py", line 444, in request_json_string r = self._session.post(url, File "c:\users\0rson\appdata\local\programs\python\python38\lib\site-packages\requests\sessions.py", line 578, in post return self.request('POST', url, data=data, json=json, **kwargs) File "c:\users\0rson\appdata\local\programs\python\python38\lib\site-packages\requests\sessions.py", line 530, in request resp = self.send(prep, **send_kwargs) File "c:\users\0rson\appdata\local\programs\python\python38\lib\site-packages\requests\sessions.py", line 643, in send r = adapter.send(request, **kwargs) File "c:\users\0rson\appdata\local\programs\python\python38\lib\site-packages\requests\adapters.py", line 498, in send raise ConnectionError(err, request=request) requests.exceptions.ConnectionError: ('Connection aborted.', timeout('The write operation timed out')) error: failed to push some refs to 'Dropbox:///Git-Dropbox:Speeder'
关闭于 2024-12-26 11 条评论