-
-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Grass raster layer with pyqgis 3 crash qgis #29669
Comments
Author Name: Giovanni Manghi (@gioman) It's completely out of my league... just a hunch here... are you trying to add a "grass raster layer" as if it was a normal file based raster dataset? If yes I don't think that it would work anyway.
|
Author Name: Sylvain POULAIN (@kikislater) Giovanni Manghi wrote:
Yes this is it ! Ok I have to found a workaround. But thinking it could be working because gdal read it :
And qgis browser panel launch it fine so my question now is : how qgis browser panel, in qgis desktop, launch the raster ? Through gdal ? Through grass plugin ? |
Author Name: Sylvain POULAIN (@kikislater) Ok found here line 417 : https://trac.osgeo.org/qgis/browser/trunk/qgis/src/plugins/grass/qgsgrassplugin.cpp
You can close the ticket ! |
Author Name: Giovanni Manghi (@gioman)
|
Author Name: Sylvain POULAIN (@kikislater)
Original Redmine Issue: 21854
Affected QGIS version: 3.6.0
Redmine category:pyqgis_console
Step to reproduce :
iface.addRasterLayer("/path/to/grassdb/sector/mapset/cellhd/raster_file", "raster_name")
Warning 1: GRASS fatal error: Input window changed while maps are open for read. Map name <raster_name>
*** stack smashing detected ***: terminated
Aborted (core dumped)
Opening through qgis browser by double clic open it fine.
The text was updated successfully, but these errors were encountered: