opengisch / QField

A simplified touch optimized interface for QGIS
http://www.qfield.org
GNU General Public License v2.0
762 stars 214 forks source link

Error when packaging Qfield project to network drive #3804

Open sallib opened 1 year ago

sallib commented 1 year ago

Hi,

I'm working on a QGIS project, with Postgis layers. The data forms are parameterized with relational values (with a nomenclature table in postgres). Everything works correctly in QGIS.

Then I package the project with the QField plugin, in offline mode. When I'm on my computer, locally, everything is ok.

However, when I'm doing it with the same project, placed on a server, I have several errors of this type :

Capture

I realized that my nomenclature table (without geometry) is completely empty in the geopackage created by the QField plugin, only when I save it on server.

It seems like a bug.

OS : Windows 10 QGIS 3.22 QField 4.2.0

m-kuhn commented 1 year ago

If you are doing the same steps on two different computers with a different result, there is something different on these computers. What is it?

sallib commented 1 year ago

I executed the same steps on the same computer. First time, I saved the QField localy, on my computer. The second time, on the company's network.

I tried to do exactly the same steps on an other computer, same result. Everything is fine localy, but there are mistakes when I export the package on the network.

However, the computers and data servers are all on the same network, and have access to the Postgis server.

m-kuhn commented 1 year ago

What's the path to your network drive (i.e. does it start with \\[someserver] or is it mounted on a drive letter [A-Z]:\...)?

sallib commented 1 year ago

It's mounted on a drive letter.

I just tried with the path starting with \\[someserver], and I have the same error.

koenigherford commented 1 year ago

see https://github.com/opengisch/qfieldsync/issues/424 too

sallib commented 1 year ago

see opengisch/qfieldsync#424 too

It seems really similar. We also use a QNAP (NAS) server

Thanks !