opengisch / qfieldsync

Sync your projects to QField
https://qfield.org/
GNU Lesser General Public License v3.0
55 stars 25 forks source link

Sync Issue With New Project #617

Open noah-hornak opened 1 month ago

noah-hornak commented 1 month ago

Hi, I'm trying to get QGIS set up on my Linux machine and synced up with my Android mobile device using this plugin but I am unable to sync the project after creating a GeoPackage Layer on my desktop.

QFieldSync Plugin Version: [4.10.1] QGIS Version: 3.26.3-Buenos Aires Python Version: 3.8.10

Here are the steps I'm taking:

  1. 'Layer'->'Create Layer'->'New GeoPackage Layer'. (This is a new file I'm creating) image
  2. Save
  3. Click the 'Synchronize Current Cloud Project' button in the toolbar (Blue Cloud with up/down arrows)
  4. I'm presented with a never ending progress bar in the dialog box with the following Python Error being logged Screenshot from 2024-10-06 13-42-26

2024-10-06T13:42:17 WARNING Traceback (most recent call last): File "/home/noah/.local/share/QGIS/QGIS3/profiles/default/python/plugins/qfieldsync/gui/cloud_transfer_dialog.py", line 182, in showEvent self.show_project_compatibility_page() File "/home/noah/.local/share/QGIS/QGIS3/profiles/default/python/plugins/qfieldsync/gui/cloud_transfer_dialog.py", line 223, in show_project_compatibility_page feedback_table = CheckerFeedbackTable(feedback) File "/home/noah/.local/share/QGIS/QGIS3/profiles/default/python/plugins/qfieldsync/gui/checker_feedback_table.py", line 79, in init label.setTextFormat(Qt.MarkdownText) AttributeError: type object 'Qt' has no attribute 'MarkdownText'

Here are my QField Project Properties Screenshot from 2024-10-06 13-50-13

I am only starting to try to learn GIS software starting today so this could be something very small I'm missing or doing wrong but I've tried for hours on fixing this with no success. Any help will be greatly appreciated!

nirvn commented 1 month ago

@noah-hornak , what is the Qt version running on your system?

noah-hornak commented 1 month ago

@nirvn 5.12.8

nirvn commented 1 month ago

Ok. That'd be the problem, the Qt markdown formatting hinted at in the error logs was introduced in Qt 5.14.

What distro are you running?

noah-hornak commented 1 month ago

@nirvn Gotcha, I'm running Ubuntu 20.04.6 LTS