LudovicRousseau / pyscard

pyscard smartcard library for python
http://pyscard.sourceforge.net/
GNU Lesser General Public License v2.1
379 stars 108 forks source link

Tests failing on macos again due to `Unkown` exception messages #120

Closed risicle closed 2 years ago

risicle commented 2 years ago

Your system information

Please describe your issue in as much detail as possible:

:grin: The saga of #77 is back as of abd957383616492bda29e9899f3b811229f1c958, where some macos versions in test_ListReadersException will instead return

Failed to list readers: Unkown error: 0x00000042 (0x00000042)

Full build logs available: https://hydra.nixos.org/log/58f0w6b8qwaq5zlqx1yfbr0jp9dx6v6f-python3.8-pyscard-2.0.2.drv

LudovicRousseau commented 2 years ago

Please check with the current code in https://github.com/LudovicRousseau/pyscard-debug

LudovicRousseau commented 2 years ago

I am not able to reproduce using macOS 10.14.

Your logs indicate 10.6. I do not have such an old version of macOS.

risicle commented 2 years ago

Fixes it perfectly. Thankyou.

LudovicRousseau commented 2 years ago

Thanks for the feedback.