-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failed to sync project due to an unhandled exception. #642
Comments
It happens with another project now, same issue. The issue is happening after the upload is completed per the client-log: Please advise, Thanks, -Nicolas Traceback (most recent call last): File "C:\Users/xxxxx/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\Mergin\sync_dialog.py", line 220, in push_timer_tick File "C:\Users/xxxxx/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\Mergin\mergin\client_push.py", line 268, in push_project_finalize File "C:\Users/xxxxx/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\Mergin\mergin\client.py", line 238, in post File "C:\Users/xxxxx/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\Mergin\mergin\client.py", line 195, in wrapper File "C:\Users/xxxxx/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\Mergin\mergin\client.py", line 208, in _do_request File "C:\OSGeo4W\apps\Python312\Lib\json_init_.py", line 293, in load File "C:\OSGeo4W\apps\Python312\Lib\json_init_.py", line 346, in loads File "C:\OSGeo4W\apps\Python312\Lib\json\decoder.py", line 337, in decode File "C:\OSGeo4W\apps\Python312\Lib\json\decoder.py", line 355, in raw_decode json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) |
Hi @mlb75010 , this exception has been daunting me for quite some times now. But I feel like with your help, we could find the root issue here. Do you think could you:
|
I'm seeing this issue as well quite a lot, below are my findings:
If the total size of the project is not that big there is no error, I ended up uploading rasters (which make most of the project size) in multiple steps: adding only a few rasters, syncing, adding a few more rasters and syncing again... Interestingly, at the same time there are no issues when downloading a huge project. I can share a project with the raster privately if necessary. |
Hello sir! Very good to hear from you! 😊 |
Dear Mergin Map,
I am having the following synchronization issue using the plugin. First time it happened.
My project folder is not in a Onedrive folder.
See below:
Traceback (most recent call last):
File "C:\Users/xxxxx/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\Mergin\sync_dialog.py", line 275, in pull_timer_tick
is_running = pull_project_is_running(self.job)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users/xxxxx/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\Mergin\mergin\client_pull.py", line 527, in pull_project_is_running
raise future.exception()
File "C:\OSGeo4W\apps\Python312\Lib\concurrent\futures\thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users/xxxxxx/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\Mergin\mergin\client_pull.py", line 95, in _do_download
item.download_blocking(mc, mp, project_path)
File "C:\Users/xxxxxx/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\Mergin\mergin\client_pull.py", line 317, in download_blocking
resp = mc.get(
^^^^^^^
File "C:\Users/xxxxxx/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\Mergin\mergin\client.py", line 231, in get
return self._do_request(request)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users/xxxxxx/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\Mergin\mergin\client.py", line 195, in wrapper
return f(self, *args)
^^^^^^^^^^^^^^
File "C:\Users/xxxxxx/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\Mergin\mergin\client.py", line 208, in _do_request
server_response = json.load(e)
^^^^^^^^^^^^
File "C:\OSGeo4W\apps\Python312\Lib\json_init_.py", line 293, in load
return loads(fp.read(),
^^^^^^^^^^^^^^^^
File "C:\OSGeo4W\apps\Python312\Lib\json_init_.py", line 346, in loads
return _default_decoder.decode(s)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\OSGeo4W\apps\Python312\Lib\json\decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\OSGeo4W\apps\Python312\Lib\json\decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
The text was updated successfully, but these errors were encountered: