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

[Windows] Error after update to v0.4.2 - QtCore: The specified module could not be found #452

Closed
Jeveze opened this issue May 24, 2023 · 8 comments
Assignees
Labels
bug Something isn't working

Comments

@Jeveze
Copy link

Jeveze commented May 24, 2023

What happened?

I've updated from v0.3.15 but no executable was found.
When installing v0.4.1 the executable is present.
NormCap-0.4.2-x86_64-Windows.msi was used.

How did you install NormCap?

MSI installer (Windows)

Operating System + Version?

Windows 10

[Linux only] Display Server (DS) + Desktop environment (DE)?

No response

Debug log output?

No response

@Jeveze Jeveze added bug Something isn't working triage Needs confirmation and priotization labels May 24, 2023
@dynobo
Copy link
Owner

dynobo commented May 24, 2023

@Jeveze , can you please tell me, how you tried to start NormCap? Via Start Menu? And can you please provide a screenshot of the error message?

@Jeveze
Copy link
Author

Jeveze commented May 25, 2023

There is no application in the startmenu on v0.4.2 and there is no executable in C:\Users%user%\AppData\Local\Programs\dynobo\NormCap\

@dynobo
Copy link
Owner

dynobo commented May 25, 2023

@Jeveze , that's odd, seems like something went pretty wrong during installation. I can't reproduce the issue on my machines.

Could you please check if you find "NormCap" under Windows' "Add/Remove Software"-overview?

If yes, please try to uninstall NormCap completely.

Then re-install with the NormCap-[...].msi-installer. Please pay attention if something unusual is happening during the installation process and if the "Installation complete" Message is shown at the end.

Also: Do you have any AntiVirus or something else running that might interfere with an installation? If yes, can you check their logs/notifications?

@Jeveze
Copy link
Author

Jeveze commented Jun 1, 2023

I tried upgrading from 0.4.1 to 0.4.2 and received the following the error when opening normcap.exe
Traceback (most recent call last): File "\app\normcap\__main__.py", line 3, in <module> from normcap.app import main File "\app\normcap\app.py", line 7, in <module> from PySide6 import QtCore, QtWidgets ImportError: DLL load failed while importing QtCore: The specified module could not be found.

After that, I followed your instructions and completely removed normcap and installed it from scratch.
Now it seems to work fine.

@dynobo dynobo mentioned this issue Jun 2, 2023
@dynobo
Copy link
Owner

dynobo commented Jun 2, 2023

Thanks for letting me know! Seems like others have similar issues with this update, too. This is super strange, as especially the update from 0.4.1 to 0.4.2 had only very minor, seemingly unrelated changes... 🤔

@dynobo dynobo changed the title normcap.exe not include in Windows installation [Windows] Crash after updating to v0.4.2 - QtCore: The specified module could not be found Jun 2, 2023
@dynobo dynobo self-assigned this Jun 2, 2023
@dynobo dynobo pinned this issue Jun 2, 2023
@dynobo dynobo changed the title [Windows] Crash after updating to v0.4.2 - QtCore: The specified module could not be found [Windows] Error after update to v0.4.2 - QtCore: The specified module could not be found Jun 2, 2023
@dynobo
Copy link
Owner

dynobo commented Jun 3, 2023

I now reproduced the bug by installing v0.4.1 fresh, and then updating (over-install) v04.2.

I also confirmed, that a clean install (uninstall v0.4.1, then install v0.4.2) is a viable workaround! I recommend doing that to everyone affected.

The cause for this is not yet clear to me, but here some observations:

  1. Some qt-plugin folders are missing when doing an update (left) vs. a clean install (right).
    Screenshot from 2023-06-03 17-23-41

  2. The missing folder were also present in v0.4.1 (left) before the update to v0.4.2 (right).
    image

I'll need to do some further investigations, maybe I get create some install-logs or something.

@dynobo dynobo removed the triage Needs confirmation and priotization label Jun 3, 2023
@dynobo
Copy link
Owner

dynobo commented Jun 3, 2023

Fix implemented. With the upcoming NormCap v0.4.3 this hopefully should not be an issue anymore. If it does, please reopen.

Thanks again, for reporting this issue!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants