MerginMaps / MerginMaps/qgis-plugin

Unsupported file type detected when syncing file with no extension

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

Nobody has claimed this yet.

Dominant language
Python
Stars
44
Forks
20
Avg merge
3d 12h
Merged PRs (30d)
5

Description

Version: Mergin qgis plugin Version 2026.2.1

Problem: I've added files to the project that do not have an extension. When syncing the existing project, the dollowing error is displayed (I've redacted som server info):

Client error:
Detail: Unsupported file type detected: dados/processamento/log. Please remove the file or try compressing it into a ZIP file before uploading.
HTTP Error: 400
URL: [BASE_URL]/v1/project/push/[DOMAIN]/[PROJECT]
Method: POST

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

No files or tests are named. Start by reproducing a sync with a project file that has no extension, then trace the plugin's handling of the upload and the reported unsupported-file-type response. Done means an extensionless file can sync without the HTTP 400 error; add or update coverage for that case if the existing test structure supports it.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
devtools
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.