ccbogel / QualCoder

Qualitative data analysis for text, images, audio, video. Cross platform. Python 3.10 or newer and PyQt6.
https://qualcoder.wordpress.com/
GNU Lesser General Public License v3.0
383 stars 85 forks source link

QualCoder is not opening on windows 11 after double clicking exe file #950

Open mahe3396 opened 1 month ago

mahe3396 commented 1 month ago

Describe the bug :
QualCoder software is not opening after double clicking exe file. Its my new laptop where I am installing it first time. Earlier I was it on my old windows 11 laptop

To Reproduce :
Downloaded the 137MB QualCoder-3.5.exe file from https://github.com/ccbogel/QualCoder/releases/tag/3.5 Double clicked on it >> Warning message appeared first time>> Selected Run anyway>> rotating ring on cursor, signifying installation process appeared for few seconds and then disappeared, once again this ring comes and go and then nothing happens Nor software's starting interface is opened

Tried again by double click, no warning message this time but rotating ring of installation process comes and disappear.

Expected behavior :
software's initial interface should appear to start working on it.

Screenshots :
Nothing happens after doubclick on exe file so no screenshot

Desktop (please complete the following information):

Additional context :
Add any other context about the problem here.

ccbogel commented 1 month ago

Hello, I have the same version of Windows, and it works for me after downloading. So I am not sure what is wrong. It does take a while to start, sometimes up to 20 seconds. The alternative if this does not work, is to manually install the software using the command line, which takes a few steps.

image

mahe3396 commented 1 month ago

Thanks for your reply,. Yes, I have clicked yes and proceed on Window alert of 'unknown source'. I tired and waited multiple time for more than 20 seconds, but still not opening. I will try installation through command line as suggested.

kaixxx commented 1 month ago

Your problem seems to be that the setup is not starting. Do you have any antivirus software running on your system that might block the QualCoder installer? Another option would be that the download is somehow corrupted or incomplete. You could try again with a fresh download. Installing QualCoder manually through the command line like you suggested is also an option.

mahe3396 commented 1 month ago

I tried turning off the antivirus and then run. It did not work. Additionally, , I from 'Event Viewer" I get to know the following error:-

Faulting application name: QualCoder-3.5.exe, version: 0.0.0.0, time stamp: 0x658603ec Faulting module name: Qt6Core.dll, version: 6.5.2.0, time stamp: 0x64a70dcf Exception code: 0xc0000409 Fault offset: 0x0000000000015738 Faulting process id: 0x0x7A4 Faulting application start time: 0x0x1DB23C53A60BDF8 Faulting application path: C:\Users\mahes\Downloads\QualCoder-3.5.exe Faulting module path: C:\Users\mahes\AppData\Local\Temp_MEI170282\PyQt6\Qt6\bin\Qt6Core.dll Report Id: ab18f1d5-c469-4ae3-8789-7344461563a5 Faulting package full name: Faulting package-relative application ID:

ccbogel commented 1 month ago

Let me know how to go with the manual install. Follow the readme.txt instructions in the 3.5 zip download.

mahe3396 commented 1 month ago

On manual installation, I used python as suggested in readme.txt, and while installing required python modules, I am facing the followng errors:- Error while installing required python modules:=

Building wheel for PyQt6-sip (pyproject.toml) ... error error: subprocess-exited-with-error

× Building wheel for PyQt6-sip (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [5 lines of output] running bdist_wheel running build running build_ext building 'PyQt6.sip' extension error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/ [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for PyQt6-sip Successfully built ebooklib Failed to build PyQt6-sip ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (PyQt6-sip)

mahe3396 commented 1 month ago

If you compare both the errors, running .exe file and mannual installation. You would notice it coming from same PyQt6 module.

  1. In Running .exe file ------ Installation crashed due to Qt6Core.dl module, which seems to be part of PyQt6 as can be seen from the following faulty module path reported in the error:- Faulting module path: C:\Users\mahes\AppData\Local\Temp_MEI170282\PyQt6\Qt6\bin\Qt6Core.dll
  2. In Mannual installation--same module error → "Building wheel for PyQt6-sip (pyproject.toml) did not run successfully."

I am installing QualCoder on my newly bought windows 11 laptop. So, this issue might persist with all new laptops due to this module issue.

ccbogel commented 1 month ago

From the above error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/ Go to that page and download the exe and run and install. It is currently version 17

Then try the manual install again (or even the QualCoder exe again).

ccbogel commented 3 weeks ago

I have created another Windows exe with an updated QtCore module. Please let me know if that fixes the problem.

QualCoder-3.5-with-QtCore-6.7.1.exe

ccbogel commented 3 weeks ago

hmm OK, I am running out of ideas. 2 more things. In the c:/Users/YOURNAME directory there is a folder called .qualcoder Inside is a log file that "might" help with more messages Also there is a: config.ini file you could delete the config.ini file in case settings in there are causing an issue.