Skip to content

Windows fatal exception: code 0xc0000374 #164

@NoName115

Description

@NoName115

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 ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions