Skip to content
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

Cannot launch QGis 3.0 - .dll error messages #26216

Closed
qgib opened this issue Mar 4, 2018 · 16 comments
Closed

Cannot launch QGis 3.0 - .dll error messages #26216

qgib opened this issue Mar 4, 2018 · 16 comments
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Build/Install Related to compiling or installing QGIS

Comments

@qgib
Copy link
Contributor

qgib commented Mar 4, 2018

Author Name: Markus Urbscheit (Markus Urbscheit)
Original Redmine Issue: 18326
Affected QGIS version: 3.0.0
Redmine category:build/install


At launch of QGis 3.0.0 I get the following 5 error messages - see attached screenshots. Neither re-installation nore changing the installation path solves the issue.



Related issue(s): #26811 (duplicates), #26891 (duplicates)
Redmine related issue(s): 18980, 19061


@qgib
Copy link
Contributor Author

qgib commented Mar 6, 2018

Author Name: Giovanni Manghi (@gioman)


Likely a local issue. Have you tried on other machines?


  • status_id was changed from Open to Feedback
  • crashes_corrupts_data was changed from 1 to 0

@qgib
Copy link
Contributor Author

qgib commented Mar 6, 2018

Author Name: Markus Urbscheit (Markus Urbscheit)


Thank you Giovanni - no, I do not have another machine. All earlier QGis versions never showed this problem. In case this is a local issue - how could I fix it? I still have 2.18 installed but since the error messages are about .dll's in specific QGis 3.0-paths this shouldn't matter.

@qgib
Copy link
Contributor Author

qgib commented Mar 21, 2018

Author Name: Bastian Weber (Bastian Weber)


I have the same problem on Windows 10 1709.
We have the same error under 1703.
QGIS is installed via an automatic software installatoin system with user "System".
The installation parameter is "QGIS-OSGeo4W-3.0.0-3-Setup-x86_64.exe /S /NCRC".
The installation is finished as successful, but after the first start via a user with or without admin rights the error is that the dlls are corrupt.
If QGIS is installed manually there are no errors.

@qgib
Copy link
Contributor Author

qgib commented Mar 21, 2018

Author Name: Markus Urbscheit (Markus Urbscheit)


Thank you Bastian - how do I "install QGis manually"?

@qgib
Copy link
Contributor Author

qgib commented Mar 23, 2018

Author Name: Bastian Weber (Bastian Weber)


Hello Markus

i normaly start QGIS-OSGeo4W-3.0.0-3-Setup-x86_64.exe on the pc and installed it over the setup. But we want to install QGIS on several computers at the same time. So we are confused why the error happened.

@qgib
Copy link
Contributor Author

qgib commented Mar 27, 2018

Author Name: Markus Urbscheit (Markus Urbscheit)


I also used the normal windows installer. The problem remains with the newest version 3.0.1. I cannot start/use QGIS 3.

@qgib
Copy link
Contributor Author

qgib commented Mar 27, 2018

Author Name: Jürgen Fischer (@jef-n)


Markus Urbscheit wrote:

I also used the normal windows installer. The problem remains with the newest version 3.0.1. I cannot start/use QGIS 3.

Check for DLLs in @%WINDIR%\system32@ that are also in QGIS' @path@ (esp. @%OSGEO4W_ROOT%\bin@ and @%OSGEO4W_ROOT%\apps\qt5\bin@). If there are any removing them will probably fix the issue (but might break the package that put them there).

@qgib
Copy link
Contributor Author

qgib commented Mar 27, 2018

Author Name: Markus Urbscheit (Markus Urbscheit)


"but might break the package that put them there" - sorry do not understand this. What is QT5? What other potential package are your talking about? Might this affect/break other programs than QGis that use these dll's or just previous versions of QGis? So essentially: what is the risk of doing this? Thanks in advance for explanation. But this cannot be a long term solution for normal unexperienced users - digging out and deleting files deep in the system... There must be an automized mechanism to solve this in the long term, otherwise people will just feel helpless and stay with version 2.18.

@qgib
Copy link
Contributor Author

qgib commented Mar 27, 2018

Author Name: Jürgen Fischer (@jef-n)


Markus Urbscheit wrote:

"but might break the package that put them there" - sorry do not understand this. What is QT5?

The toolkit we use

What other potential package are your talking about?

No idea. It shouldn't have put the DLLs there in the first place.

Might this affect/break other programs than QGis that use these dll's or just previous versions of QGis?

It will only break other programs - those which expect their DLLs in @system32@. Unfortunately windows always prefers DLLs from @system32@ to over anything that is in @path@.

So essentially: what is the risk of doing this? Thanks in advance for explanation. But this cannot be a long term solution for normal unexperienced users - digging out and deleting files deep in the system... There must be an automized mechanism to solve this in the long term, otherwise people will just feel helpless and stay with version 2.18.

Feel free to suggest one.

@qgib
Copy link
Contributor Author

qgib commented Mar 27, 2018

Author Name: Markus Urbscheit (Markus Urbscheit)


Thanks very much Jürgen for your quick reaction and help - I apreciate it! So it would be probably be quite safe to keep a backup of the dll's, try out and see if something happens to other programs. I'll do this later on when I have more time.

Have a great day

@qgib
Copy link
Contributor Author

qgib commented Aug 11, 2018

Author Name: BYRON BRAVO (BYRON BRAVO)


Markus Urbscheit wrote:

Thanks very much Jürgen for your quick reaction and help - I apreciate it! So it would be probably be quite safe to keep a backup of the dll's, try out and see if something happens to other programs. I'll do this later on when I have more time.

Have a great day

please help us with a solution, possibly not have time, but I would be very grateful if you help me, otherwise I will have no choice but to stay with the 2.xx

@qgib
Copy link
Contributor Author

qgib commented Aug 12, 2018

Author Name: Jürgen Fischer (@jef-n)


BYRON BRAVO wrote:

please help us with a solution, possibly not have time, but I would be very grateful if you help me, otherwise I will have no choice but to stay with the 2.xx

Like? Did you find conflicting DLLs in system32?

@qgib
Copy link
Contributor Author

qgib commented Aug 12, 2018

Author Name: Giovanni Manghi (@gioman)


Markus Urbscheit wrote:

"but might break the package that put them there" - sorry do not understand this. What is QT5? What other potential package are your talking about? Might this affect/break other programs than QGis that use these dll's or just previous versions of QGis?

yes, but those programs should not have placed any DLL in %WINDIR%\system32 in the first place (contributing the the well known "DLL Hell", that you are experiencing). Blame the others in this case, not QGIS.

@qgib
Copy link
Contributor Author

qgib commented Nov 11, 2018

Author Name: Jürgen Fischer (@jef-n)


  • resolution was changed from to no timely feedback
  • status_id was changed from Feedback to Closed

@qgib qgib closed this as completed Nov 11, 2018
@qgib
Copy link
Contributor Author

qgib commented Nov 11, 2018

Author Name: Jürgen Fischer (@jef-n)


@qgib
Copy link
Contributor Author

qgib commented Nov 11, 2018

Author Name: Jürgen Fischer (@jef-n)


@qgib qgib added Bug Either a bug report, or a bug fix. Let's hope for the latter! Build/Install Related to compiling or installing QGIS labels May 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Build/Install Related to compiling or installing QGIS
Projects
None yet
Development

No branches or pull requests

1 participant