mathiasfrey / ecrterm

Python ZVT 700 interface (electronic cash registers)
GNU Lesser General Public License v3.0
34 stars 31 forks source link

KeyError: 82 and Reading header timeout #13

Closed huseyinturen closed 2 years ago

huseyinturen commented 2 years ago

Hello everyone,

Some errors occur when I try to run the code on my device. I just want to read card via cvend. What do these errors mean?

read card read card_code Output read card

register before payment register(0x08) before payment_code Output register(0x08) before payment

register before status register(0x08) before status_code Output register(0x08) before status

g4borg commented 2 years ago

This software is atm. not maintained, and there are forks that are more actively maintained.

I suggest either adding the missing Bitmap entry into BITMAPS, or rewriting the BITMAPS[bitmap_type] to something along BITMAPS.get(bitmap_type) or (None, None, None) and react to a NoneValue there.