qgis-plugin
qgis-plugin copied to clipboard
Failed to sync project
Fails to sync project whenever photos are taken in the field form. When this happens, if I delete the photos from the points form on the device, then the server and my local drive sync up fine again. Photos are taken on an iPhone 7 plus or iPad at default size/res. etc. Occasionally photos will sync, but more often than not sync fails.
Failed to sync project campy/New_Field_Project_Mergin due to an unhandled exception.
This should not happen, please report the problem.
Traceback (most recent call last):
File "C:\Users/chris/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\Mergin\sync_dialog.py", line 290, in pull_timer_tick
is_running = pull_project_is_running(self.job)
File "C:\Users/chris/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\Mergin\mergin\client_pull.py", line 480, in pull_project_is_running
raise future.exception()
File "C:\PROGRA1\QGIS321.6\apps\Python39\lib\concurrent\futures\thread.py", line 52, in run
result = self.fn(*self.args, **self.kwargs)
File "C:\Users/chris/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\Mergin\mergin\client_pull.py", line 90, in _do_download
item.download_blocking(mc, mp, project_path)
File "C:\Users/chris/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\Mergin\mergin\client_pull.py", line 304, in download_blocking
save_to_file(resp, self.download_file_path)
File "C:\Users/chris/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\Mergin\mergin\utils.py", line 41, in save_to_file
part = stream.read(4096)
File "C:\PROGRA1\QGIS321.6\apps\Python39\lib\http\client.py", line 455, in read
n = self.readinto(b)
File "C:\PROGRA1\QGIS321.6\apps\Python39\lib\http\client.py", line 499, in readinto
n = self.fp.readinto(b)
File "C:\PROGRA1\QGIS321.6\apps\Python39\lib\socket.py", line 704, in readinto
return self._sock.recv_into(b)
File "C:\PROGRA1\QGIS321.6\apps\Python39\lib\ssl.py", line 1241, in recv_into
return self.read(nbytes, buffer)
File "C:\PROGRA1\QGIS321.6\apps\Python39\lib\ssl.py", line 1099, in read
return self._sslobj.read(len, buffer)
ConnectionResetError: [WinError 10054] An existing connection was forcibly closed by the remote host