MerginMaps / MerginMaps/geodiff

Error wihile building GEODIFF

Open
#218 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
183
Forks
21
Avg merge
9d 11h
Merged PRs (30d)
2

Description

Hello,

I follow the installation from the https://github.com/MerginMaps/db-sync/blob/master/docs/install.md.

While launching the 5th step within this link, I got an error like


Image


Even though, I see a message like "compilation terminated." and I continue to add feature within my Mergin Project in QGIS.

While I launched the synchronization tools, it shows me an error like


Traceback (most recent call last):

File "/home/xx/.local/share/QGIS/QGIS3/profiles/default/python/plugins/Mergin/sync_dialog.py", line 220, in push_timer_tick
push_project_finalize(self.job)

File "/home/xx/.local/share/QGIS/QGIS3/profiles/default/python/plugins/Mergin/mergin/client_push.py", line 268, in push_project_finalize
resp = job.mc.post("/v1/project/push/finish/%s" % job.transaction_id)

File "/home/xx/.local/share/QGIS/QGIS3/profiles/default/python/plugins/Mergin/mergin/client.py", line 238, in post
return self._do_request(request)

File "/home/xx/.local/share/QGIS/QGIS3/profiles/default/python/plugins/Mergin/mergin/client.py", line 195, in wrapper
return f(self, *args)

File "/home/xx/.local/share/QGIS/QGIS3/profiles/default/python/plugins/Mergin/mergin/client.py", line 208, in _do_request
server_response = json.load(e)

File "/usr/lib/python3.8/json/init.py", line 293, in load
return loads(fp.read(),

File "/usr/lib/python3.8/json/init.py", line 357, in loads
return _default_decoder.decode(s)

File "/usr/lib/python3.8/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())

File "/usr/lib/python3.8/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)


PS : I choose to initialise the sync from Mergin Maps project .

Thank you.

Baovola

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with docs/install.md and reproduce the error at step 5, then trace the reported synchronization path through mergin/client_push.py, mergin/client.py, and sync_dialog.py. Compare the build output with the JSONDecodeError and establish what is required for GEODIFF compilation and synchronization to complete successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend, build-system
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.