You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I develop the QGis-LinearReferencing-Plugin.
For some functionalities with Linestring-M-geometries implemented in the current version, the plugin uses a sqlite3-connection with spatialite-extension (used SpatiaLite-Functions: ST_TrajectoryInterpolatePoint, ST_IsValidTrajectory, ST_AddMeasure, ST_Locate_Between_Measures).
A macOS-user reported the error below, which prevents plugin load and usage: sqlite3.OperationalError: dlopen(mod_spatialite.dylib, 0x000A): tried: '/Applications/QGIS-LTR.app/Contents/MacOS/../Frameworks/mod_spatialite.dylib' (no such file), '/Applications/QGIS-LTR.app/Contents/MacOS/lib/mod_spatialite.dylib' (no such file), '/Applications/QGIS-LTR.app/Contents/MacOS/../Resources/grass78/lib/mod_spatialite.dyli
This does not occur on windows or linux-machines, therefore I haven't noticed the problem yet nor can reproduce it because I do not use macOS.
Question 1: is this a bug or a known limitation for QGis/Python/SQLite on macOS?
Question 2: is there a python-workaround for the above listed four SpatiaLite-Functions without need of sqlite3/mod_spatialite?
@Ludwig-K , could you try these new macos dmg builds here ( #60039 ) and see if things work there? These rely on a completely new build environment and are the bright future of QGIS on macos :)
What is the bug or the crash?
I develop the QGis-LinearReferencing-Plugin.
For some functionalities with Linestring-M-geometries implemented in the current version, the plugin uses a sqlite3-connection with spatialite-extension (used SpatiaLite-Functions: ST_TrajectoryInterpolatePoint, ST_IsValidTrajectory, ST_AddMeasure, ST_Locate_Between_Measures).
A macOS-user reported the error below, which prevents plugin load and usage:
sqlite3.OperationalError: dlopen(mod_spatialite.dylib, 0x000A): tried: '/Applications/QGIS-LTR.app/Contents/MacOS/../Frameworks/mod_spatialite.dylib' (no such file), '/Applications/QGIS-LTR.app/Contents/MacOS/lib/mod_spatialite.dylib' (no such file), '/Applications/QGIS-LTR.app/Contents/MacOS/../Resources/grass78/lib/mod_spatialite.dyli
This does not occur on windows or linux-machines, therefore I haven't noticed the problem yet nor can reproduce it because I do not use macOS.
Question 1: is this a bug or a known limitation for QGis/Python/SQLite on macOS?
Question 2: is there a python-workaround for the above listed four SpatiaLite-Functions without need of sqlite3/mod_spatialite?
Steps to reproduce the issue
Versions
3.34.11-Prizren on macOS
Supported QGIS version
New profile
Additional context
No response
The text was updated successfully, but these errors were encountered: