-
-
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
QGIS 3.14.15 **and 3.14.16-2** with GRASS won't start: Qt platform issue (Win10) #38476
Comments
So... should be close this? move it to the osgeo4w tracker? |
Installed today sept 11 2020 and had the same problem. Looks like according to the os geo tracker it should be fixed any Idea when that will appear in osgeo? |
Friends, I see this has been closed. However, I just upgraded to the latest OsGeo4W install of QGIS 3.14.16-2 and rbatch 149-5, and the problem came back exactly as above. I was able to work around by manually editing out the RStudio folder in the path in the I know it's not good form to raise bugs in multiple trackers, but when it's severe enough to make the application fail to start, and it's not fixed in the next released version, I'm raising an alarm where I can! |
My understanding, for the benefit of those reading about it here, is that the bug arises only in situations where the user does have RStudio installed. In this case, QGIS finds incompatible Qt components in the RStudio folder and that is why it cannot start. If the user does not have RStudio, the addition of RStudio to the PATH is harmless. This addition to the PATH is done and has been done for some time by RBatch, another part of the standard OSGeo4W install. However, it is (recent versions of) QGIS itself which then fails, due to Qt component incompatibility. So it's QGIS itself where the bug, arguably innocently caused by something else, manifests itself. |
Fixed in 0f2b53c |
Hi @jef-n, it seems the issue is not yet fixed. As reported by an Italian user on a facebook support group, it seems that updating qgis-grass-plugin7 to version 3.14.16-3 or also installing today from scratch qgis with grass (with qgis-grass-plugin7 3.14.16-3) via the OSGeo4W network installer on a Windows 8.1 system, does not solve the issue. The reported error is
In his system is installed RStudio. qgis-bin-g7.env contains the following value for the PATH variable:
The only way to get QGIS to start was to remove ";C:\Program Files\RStudio\bin" from the end of the PATH variable string in qgis-bin-g7.env (or to move/rename the folder bin in "C:\Program Files\RStudio") See also https://trac.osgeo.org/osgeo4w/ticket/641#comment:17 and another report to the qgis-user ml at https://lists.osgeo.org/pipermail/qgis-user/2020-September/046719.html |
Updated a functioning 3.14.1 OSGeo4W standard-release install to 3.14.15.
QGIS itself works fine (code revision d5114d2) , but QGIS-with-GRASS won't start. I get the following error:
Made me suspect a PATH issue. For some reason,
C:\OSGeo4W64\bin\qgis-bin-g7.env
hasPATH
ending withC:\Program Files\RStudio\bin
and RStudio seems to install its own copy of Qt in that directory. In contrast,C:\OSGeo4W64\bin\qgis-bin.env
does not have theRStudio
directory added to the path. Removing that directory fromqgis-bi-g7.env
seems to fix the problem.I don't know why the GRASS-enabled version would use RStudio. R itself, maybe - I do have the R provider installed. I do use RStudio for my own R work (outside QGIS), but RStudio is not in my system (i.e. at startup, QGIS not running) path variable. So it is something in the QGIS install adding it.
Prior to going digging in
.env
files, I reverted back to 3.14.1 and QGIS (with GRASS) started normally. I then reinstalled 3.14.15 and still had the problem, which is why I went looking (and therefore haven't checked whether that directory in in the.env
path in the 3.14.1 install).The text was updated successfully, but these errors were encountered: