opengisch / qfieldsync

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

error when upgrading the plugin #565

Closed 3nids closed 9 months ago

3nids commented 9 months ago

No module named 'libqfieldsync.offliners'

image

m-kuhn commented 9 months ago

version?

3nids commented 9 months ago

when updating to 4.7.1

m-kuhn commented 9 months ago

upgrade worked well here :thinking:

suricactus commented 9 months ago

@3nids are you using the installed version from the QGIS repo, or you use the development version from this repo?

3nids commented 9 months ago

installed from QGIS I got no error when restarting QGIS, not sure what happened. Feel free to close it if that doesn't ring any bell on your end.

m-kuhn commented 9 months ago

Interesting is that line 26 on the screenshot imported fine. I suspect you had an older version installed which used libqfieldsync as subdirectory, while upgrading the new qfieldsync version with the wheel got installed, the python interpreter of the running instance still had the old subdirectory based structure cached and preferred that one over the updated wheel version. If it works well after a restart, I'd say we don't invest here.

suricactus commented 9 months ago

Just came here to post the reason why you see the error, but @m-kuhn already did it. I do agree it does not need any further investigation, it's single time error.