Wednesday 12 October 2016

GRASS GIS Plugin not loading in QGIS 3



When starting up QGIS 3.2.2 (also tested with 3.2.3), I get the following message in the "Plugins" Log Message Window:


2018-10-18T08:03:48     WARNING    Failed to load C:/OSGEO4~1/apps/qgis/plugins/grassplugin7.dll (Reason: Cannot load library C:\OSGEO4~1\apps\qgis\plugins\grassplugin7.dll: Das angegebene Modul wurde nicht gefunden.)
2018-10-18T08:03:48 WARNING Failed to load C:/OSGEO4~1/apps/qgis/plugins/grassprovider7.dll (Reason: Cannot load library C:\OSGEO4~1\apps\qgis\plugins\grassprovider7.dll: Das angegebene Modul wurde nicht gefunden.)
2018-10-18T08:03:48 WARNING Failed to load C:/OSGEO4~1/apps/qgis/plugins/grassrasterprovider7.dll (Reason: Cannot load library C:\OSGEO4~1\apps\qgis\plugins\grassrasterprovider7.dll: Das angegebene Modul wurde nicht gefunden.)
2018-10-18T08:03:48 INFO Loaded mmqgis (package: mmqgis)
2018-10-18T08:03:50 INFO Loaded Networks (package: networks)
2018-10-18T08:03:50 INFO Loaded QuickOSM (package: QuickOSM)
2018-10-18T08:03:52 INFO Loaded QuickMapServices (package: quick_map_services)
2018-10-18T08:03:52 INFO Loaded DB Manager (package: db_manager)
2018-10-18T08:03:52 INFO Loaded MetaSearch Catalog Client (package: MetaSearch)

2018-10-18T08:03:54 INFO Loaded Processing (package: processing)

And sure enough, I cannot use the GRASS GIS Plugins. I also have QGIS 2.18.24 installed, the plugins are fully available there. Any idea what the issue might be?


EDIT:


I also tested with OSGeo4W Network Installer (64 bit), with the same result. Also note that grassplugin7.dll, grassprovider7.dll and grassrasterprovider7.dll are available in the folder C:\OSGeo4W64\apps\qgis\plugins


enter image description here


EDIT 2:


Here are my MSVC++ Versions enter image description here



Answer



Ok, this is slightly embarrassing but I'll post the answer here anyway in case someone is as blind as I was. Apparently, there are two QGIS executable files: C:\OSGeo4W64\bin\qgis-bin.exe and C:\OSGeo4W64\bin\qgis-bin-g7.4.1.exe. In Windows, when firing up a program via the Windwos startup button, it runs qgis-bin.exe by default and GRASS does not work. When you run qgis-bin-g7.4.1.exe however, it GRASS works.



I'll show myself out


No comments:

Post a Comment

arcpy - Changing output name when exporting data driven pages to JPG?

Is there a way to save the output JPG, changing the output file name to the page name, instead of page number? I mean changing the script fo...