MerginMaps / qgis-plugin

QGIS plugin for managing Mergin Maps projects
GNU General Public License v3.0
36 stars 13 forks source link

Failed to sync project due to an unhandled exception. #642

Open mlb75010 opened 1 week ago

mlb75010 commented 1 week ago

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/nicolasmattle/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/nicolasmattle/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/nicolasmattle/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/nicolasmattle/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\Mergin\mergin\client_pull.py", line 317, in download_blocking resp = mc.get( ^^^^^^^

File "C:\Users/nicolasmattle/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\Mergin\mergin\client.py", line 231, in get return self._do_request(request) ^^^^^^^^^^^^^^^^^^^^^^^^^

File "C:\Users/nicolasmattle/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\Mergin\mergin\client.py", line 195, in wrapper return f(self, *args) ^^^^^^^^^^^^^^

File "C:\Users/nicolasmattle/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)