After emerging sci-geosciences/qgis-3.0.0, executing qgis in a terminal and pressing Ctrl+Shift+P gives: Warning 4: Failed to open /usr/share/qgis/resources/data/world_map.shp, Åtkomst nekas. Warning: Calling appendChild() on a null node does nothing. The file exists and can be viewed in QGIS. Maybe the code that is called by Ctrl+Shift+P tries to open the file with write permission?
I can't see how this issue could be caused by packaging, so please report it upstream.
Please test with 3.0.1.
Tested with version 3.0.3: Warning 4: Failed to open /usr/share/qgis/resources/data/world_map.shp, Åtkomst nekas. Note that the warning about appendChild does not appear.
Upstream report: https://issues.qgis.org/issues/17980 Nothing failing to work.
Same here. I indeed seems qgis is trying to get a write access to the syste-wide installed file. src/core/proj/qgscoordinatetransform.cpp:826 : (transformCoords) [5182ms] Projection failed emitting invalid transform signal: forward transform of (inf, inf) Error: Fallback transform failed src/core/providers/ogr/qgsogrprovider.cpp:3536 : (open) [338ms] OGR failed to opened in update mode, trying in read-only mode src/core/providers/ogr/qgsogrprovider.cpp:3536 : (open) [4ms] OGR failed to opened in update mode, trying in read-only mode src/core/providers/ogr/qgsogrprovider.cpp:3536 : (open) [3ms] OGR failed to opened in update mode, trying in read-only mode src/core/providers/ogr/qgsogrprovider.cpp:3536 : (open) [3ms] OGR failed to opened in update mode, trying in read-only mode src/core/providers/ogr/qgsogrprovider.cpp:3536 : (open) [3ms] OGR failed to opened in update mode, trying in read-only mode src/core/providers/ogr/qgsogrprovider.cpp:3536 : (open) [3ms] OGR failed to opened in update mode, trying in read-only mode src/core/providers/ogr/qgsogrprovider.cpp:3536 : (open) [2ms] OGR failed to opened in update mode, trying in read-only mode src/core/providers/ogr/qgsogrprovider.cpp:3536 : (open) [3ms] OGR failed to opened in update mode, trying in read-only mode src/core/providers/ogr/qgsogrprovider.cpp:3536 : (open) [3ms] OGR failed to opened in update mode, trying in read-only mode src/core/providers/ogr/qgsogrprovider.cpp:3536 : (open) [4ms] OGR failed to opened in update mode, trying in read-only mode src/core/providers/ogr/qgsogrprovider.cpp:3536 : (open) [6ms] OGR failed to opened in update mode, trying in read-only mode src/core/providers/ogr/qgsogrprovider.cpp:3536 : (open) [4ms] OGR failed to opened in update mode, trying in read-only mode src/core/providers/ogr/qgsogrprovider.cpp:3536 : (open) [763ms] OGR failed to opened in update mode, trying in read-only mode src/core/providers/ogr/qgsogrprovider.cpp:3536 : (open) [3ms] OGR failed to opened in update mode, trying in read-only mode src/core/providers/ogr/qgsogrprovider.cpp:3536 : (open) [4ms] OGR failed to opened in update mode, trying in read-only mode src/core/providers/ogr/qgsogrprovider.cpp:3536 : (open) [4ms] OGR failed to opened in update mode, trying in read-only mode Warning 1: The definition of projected CRS EPSG:5514 got from GeoTIFF keys is not the same as the one from the EPSG registry, which may cause issues during reprojection operations. Set GTIFF_SRS_SOURCE configuration option to EPSG to use official parameters (overriding the ones from GeoTIFF keys), or to GEOKEYS to use custom values from GeoTIFF keys and drop the EPSG code. Warning 1: The definition of projected CRS EPSG:5514 got from GeoTIFF keys is not the same as the one from the EPSG registry, which may cause issues during reprojection operations. Set GTIFF_SRS_SOURCE configuration option to EPSG to use official parameters (overriding the ones from GeoTIFF keys), or to GEOKEYS to use custom values from GeoTIFF keys and drop the EPSG code. src/core/providers/ogr/qgsogrprovider.cpp:3536 : (open) [806ms] OGR failed to opened in update mode, trying in read-only mode src/core/providers/ogr/qgsogrprovider.cpp:3536 : (open) [4ms] OGR failed to opened in update mode, trying in read-only mode src/core/providers/ogr/qgsogrprovider.cpp:3536 : (open) [3ms] OGR failed to opened in update mode, trying in read-only mode src/core/providers/ogr/qgsogrprovider.cpp:3536 : (open) [4ms] OGR failed to opened in update mode, trying in read-only mode src/core/providers/ogr/qgsogrprovider.cpp:3536 : (open) [8ms] OGR failed to opened in update mode, trying in read-only mode src/core/providers/ogr/qgsogrprovider.cpp:3536 : (open) [11ms] OGR failed to opened in update mode, trying in read-only mode src/core/providers/ogr/qgsogrprovider.cpp:3536 : (open) [4ms] OGR failed to opened in update mode, trying in read-only mode ... src/core/providers/ogr/qgsogrprovider.cpp:3536 : (open) [10ms] OGR failed to opened in update mode, trying in read-only mode src/core/providers/ogr/qgsogrprovider.cpp:3536 : (open) [12ms] OGR failed to opened in update mode, trying in read-only mode src/core/providers/ogr/qgsogrprovider.cpp:3536 : (open) [9ms] OGR failed to opened in update mode, trying in read-only mode src/core/providers/ogr/qgsogrprovider.cpp:3536 : (open) [18ms] OGR failed to opened in update mode, trying in read-only mode Warning 4: Failed to open /usr/share/qgis/resources/data/world_map.gpkg: Operation not permitted. [sorry, I am translating back to English from Czech] src/core/providers/ogr/qgsogrprovider.cpp:3536 : (open) [427ms] OGR failed to opened in update mode, trying in read-only mode # emerge -pv qgis [ebuild R ] sci-geosciences/qgis-3.22.11::gentoo USE="georeferencer mapserver opencl pdal python qml -3d -examples -grass -hdf5 -netcdf -oracle -polar -postgres -serial -test" PYTHON_SINGLE_TARGET="python3_8 -python3_9 -python3_10" 0 KiB
Fixed in 3.28: c26d58ece8 ("feat: New force read only option for vector layer", 2022-07-25) https://github.com/qgis/QGIS/commit/c26d58ece8
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6fc571aca6ad492deb7d07d0d7d464161db99c76 commit 6fc571aca6ad492deb7d07d0d7d464161db99c76 Author: Marco Genasci <fedeliallalinea@gmail.com> AuthorDate: 2022-12-05 10:35:27 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-01-05 09:01:30 +0000 sci-geosciences/qgis: version bump to 3.28.1 Closes: https://bugs.gentoo.org/648946 Signed-off-by: Marco Genasci <fedeliallalinea@gmail.com> Signed-off-by: Sam James <sam@gentoo.org> sci-geosciences/qgis/Manifest | 1 + sci-geosciences/qgis/qgis-3.28.1.ebuild | 277 ++++++++++++++++++++++++++++++++ 2 files changed, 278 insertions(+)