Cura
Cura copied to clipboard
Call to non-existent handle in DLL
Cura Version
=5.4.0
Operating System
Windows 10 Home 64b WinPE
Printer
Elegoo Neptune 3 Pro
Reproduction steps
Install v5.3.1 and start, operates correctly. Install >= 5.4.0, leave or remove v5.3.1 first. Start Cura, after 15 seconds, or so:
Actual results
=5.4.0 cannot be used because missing DLL handle exception is unhandled, and Cura terminates. No log files or version folder is created in %appadata%\Cura. The error is a call to a missing handle in Qt6Widgets.dll. Qt6Widgets.dll is in the applications directory twice? and it is not in the Global Assembly Cache (GAC) where it belongs. No log files, or version folders, are created in %appdata%\Cura, even though the crash happens well into (about 15 seconds, on a weak processor) the startup. v5.3.1 uses Qt6Widgets version 6.2.2, whereas v5.7.0 uses version 6.6.0. For a normal v5.3.1 installation, that starts normally and functions normally, if Qt6Widgets.DLL v6.6.0 is copied into the v5.3.1 installation, the same error is produced.
Expected results
Normal startup.
Add your .zip and screenshots here ⬇️
Further information. Qt6Widgets.dll is located in the applications directory twice (and not at all in the GAC), at: ~\Cura ~\Cura\PyQt6\Qt6\bin
For installed version 5.3.1, with Qt6Widgets.dll version v6.2.4, if Qt6Widgets.dll v6.6.0 (from Cura 5.7.0) is copied into ~\Cura, the problem is reproduced. But, if Qt6Widgets.dll v6.6.0 is copied into ~\Cura\PyQt6\Qt6\bin, startup is normal.
For installed version 5.3.1, if V6.2.4, of Qt6Widgets.dll is copied back into ~\Cura, v5.3.1 will start normally with either version in ~\Cura\PyQt6\Qt6\bin.
For installed version 5.7.0, copying v6.2.4 of Qt6Widgets.dll, into either or both locations still produces no joy.