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 fatal exception: code 0xc0000374 #164

Open
NoName115 opened this issue Aug 8, 2024 · 0 comments
Open

Windows fatal exception: code 0xc0000374 #164

NoName115 opened this issue Aug 8, 2024 · 0 comments

Comments

@NoName115
Copy link

Hi!

When I'm processing invoices with QR-codes, I encountered an issue only on Windows machine (Linux, Mac works fine) that detection of QR code fails with the following error:

Windows fatal exception: code 0xc0000374
Current thread 0x00006864 (most recent call first):
  File "C:\project\.venv\Lib\site-packages\pyzbar\pyzbar.py", line 230 in decode
  File "C:\project\.venv\Lib\site-packages\my-package\modules\codes\extractor.py", line 95 in any_codes_img
  File "C:\project\.venv\Lib\site-packages\my-package\modules\reader\processor\qr_code\processor.py", line 42 in process
  File "C:\project\.venv\Lib\site-packages\my-package\modules\reader\parser.py", line 144 in parse

Process finished with exit code -1073740940 (0xC0000374)

I'm assuming the problem is not in python pyzbar implementation but likely in the C implementation of zbar.
I found that for Windows the .dll files are included in the python wheels package, so maybe it would be enough for pyzbar to release new version with up-to-date zbar dlls files ?

Or is there any other solution I could use ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant