qgis / QGIS

QGIS is a free, open source, cross platform (lin/win/mac) geographical information system (GIS)
https://qgis.org
GNU General Public License v2.0
10.03k stars 2.92k forks source link

GetSystemTimePreciseAsFileTime in kernel32.dll for QGIS 3.34.4-1 and 3.36.0-1 #56604

Closed apprenti-sorcier closed 4 months ago

apprenti-sorcier commented 4 months ago

What is the bug or the crash?

I hate to have to create an account just to report a bug, but QGIS 3.34.4-1 and 3.36.0-1 don’t work out of the box compared to 3.34.3-1. I also downloaded these 1.24 GB files that don’t work. We’ve been used to having QGIS that works, but now it’s not.

Steps to reproduce the issue

Immediately after the installation of the files published on the 25ᵗʰ of February ended, I tried to run them. They all showed these error messages, then stopped. I uninstalled and installed back 3.34.3-1 which used to work and still works. Please resolve these bugs.

Versions

QGIS-OSGeo4W-3.34.4-1.msi QGIS-OSGeo4W-3.36.0-1.msi Image du presse-papiers (104) Image du presse-papiers (125)

Supported QGIS version

New profile

Additional context

No response

agiudiceandrea commented 4 months ago

@apprenti-sorcier, please specify which Windows version are you using.

apprenti-sorcier commented 4 months ago

I use Windows 7 64 bits French Family edition.

agiudiceandrea commented 4 months ago

@apprenti-sorcier, thanks for reporting. The issue probably only occurs using Windows 7. Hopefully, the possibility that QGIS works on Windows 7 will be restored ASAP. Ping @jef-n.

jef-n commented 4 months ago

downgrading libpq to 15.2 helps.

rapi52 commented 3 months ago

downgrading libpq to 15.2 helps.

Thanks for the advice, libpq (and some other dlls coming together with) 15.6 also solve it!

apprenti-sorcier commented 3 months ago

v. 3.36.1-1 solved this bug. Thank you for the quick repair !

apprenti-sorcier commented 2 months ago

The joy didn’t last long… v. 3.36.2-1 is stricken with the same insurmountable problem. Image du presse-papiers Image du presse-papiers (1) Reverting to v. 3.36.1-1 solves the problem again.

agiudiceandrea commented 2 months ago

Hi @jef-n, it seems to me the issue may be in freexl-2.0.0-3, where freexl.dll imports CreateFile2 function (only available since Windows 8) from kernel32.dll, while freexl.dll in freexl-2.0.0-2 imports CreateFileW function, instead.

jef-n commented 2 months ago

Actually it's minizip-ng-devel. But python 3.12 also has issues on Windows 7.

apprenti-sorcier commented 1 week ago

Any update ? In the mean time I tried other versions as they were released, but every time with no success. It’s a shame to have to download them (wasted bandwidth) and install them, see the error, uninstall them and revert to 3.36.1-1. QGIS-OSGeo4W-3.34.8-1.msi QGIS-OSGeo4W-3.36.2-1.msi QGIS-OSGeo4W-3.36.3-2.msi QGIS-OSGeo4W-3.38.0-1.msi Please either make it compatible with Windows 7 as it used to be or make it to not install at all on unsupported Windows versions.

jef-n commented 1 week ago

Any update ? In the mean time I tried other versions as they were released, but every time with no success

The website clearly stated that the installers don't work with Windows 7.