-
Notifications
You must be signed in to change notification settings - Fork 96
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] Crash upon taking a screenshot #254
Comments
Hi @nourserry , thanks for reporting this issue! Could you please provide some further information?
|
Hello! Log started: 2022-11-20 15:37:15Z
15:37:22 - CRITICAL - normcap.gui.utils:168 - Uncaught exception! Quitting NormCap! System:
Variables:
Exception:
Traceback:
I did some testing: I've installed the latest version of tesseract (v5.2.0.20220712), added it to the PATH, and removed the part of the code where the path to tesseract is ovewritten, and it worked fine |
Thanks for reporting, @igorcmoura! I'd really like to get this one solved, but still can not reproduce it. The fact that it's working for you with a custom installed Tesseract could mean, that either your platform (CPU) is incompatible with the shipped Tesseract build or something is wrong regarding the packaging (e.g. I might have missed a dependency). To rule out the platform hypothesis, could you please run EDIT: I just searched for the error code |
Sorry for the late response, I did not see the notification. Here's the
|
Thanks, @igorcmoura. This is rather old processor, correct? ~10 years old? However, it does support the AVX instructions, so that's probably not the problem... In the upcoming version, I'm going to try a different tesseract binary for Windows, which is much larger in file size but should provide better support for various CPUs. It would be great, if you could give that a try and report back if it helped. Might take 1-2 weeks until that new version is ready for testing. |
Could you please retry with the new release NormCap v0.4.0? It includes a different tesseract binary for Windows, which might solve some issues. |
Hi, I just installed NormCap v0.40, having not used this or any other Tesseract OCR software before, and I am also getting crashes. I am able to take one "screenshot" but the app crashes when I try to take a second one. I do not know how to generate the log that @igorcmoura posted but this is my systeminfo output.
This might be obvious from the log but I am running on a Ryzen 5900x, so not a particularly old CPU. |
Hey @mr-falafel, thanks for reporting your issue! Could please provide some more information?
This would help me a lot with this issue :-) |
Hope this is right! Oh and I used the MSI. :)
|
@mr-falafel , thanks for the log, yeah, that's what I needed :-) Actually, the log looks like everything is working as expected. NormCap recognized the text:
copied it to the clipboard:
and exited afterwords:
Maybe it is as misunderstanding of how the app works? NormCap copies the text of the region you selected into the system clipboard and exit automatically. Sometimes people interpret this as automatic closing as "crash", but it is intended to work like this. You just have to paste ( Does it work for you like described above? |
@dynobo Ah well... Maybe it is working as intended then but the behaviour seems weird. What happens for me is, I open NormCap, I take a screenshot and I can paste it into notepad or wherever, as you said. Upon taking the screenshot, the screen overlay disappears, as you would expect. However, NormCap remains open as a taskbar icon. If I click that icon, the screen overlay appears again for me to take a second screenshot but, when I attempt to do so, the screen overlay and taskbar icon both immediately vanish, giving the appearance of a crash. Is that intended behaviour? |
Thanks for explaining more in detail, @mr-falafel ! No, that is in deed not the intended behavior. I already have idea about what's going wrong here and l will fix it soon. 🙂 The intended behavior is:
In case you have any ideas/thought on how to make this behavior more obvious and user friendly, that would be super interesting to me, as I'm always striving for a better usability 🙂 |
@dynobo Aha! That all makes sense! I think it would have been more intuitive for me if the taskbar icon actually didn't appear at all until you enable it. Obviously the fact that I was able to click on it made that more confusing. Another thing is that I actually never saw that cog! It might be nice to add a white or black outline around it to make it stand out more. Thanks for addressing my issues! :) |
That's a good hint! I'll see how I can improve its visibility! Thanks for you input, @mr-falafel , and stay tuned for the upcoming release 🙂 |
Sorry for the late response, @dynobo. I upgraded my processor so I'm unable to test it now 😔 |
Don`t worry @igorcmoura , I think it's not worth to reactivate your old processor just for testing this issue here. As long as NormCap works for you on your new machine ;-) |
Hello
When I take a screenshot the app crashes
I ran it through cmd and I got this error:
The text was updated successfully, but these errors were encountered: