makerspace / memberbooth

Displaying member info on a public machine
2 stars 0 forks source link

Unknown printer error occured #97

Closed emanuelen5 closed 1 year ago

emanuelen5 commented 3 years ago

Stack trace:

2021-10-14 **:**:** INFO [/home/memberbooth/memberbooth/src/label/creator.py:302]: Creating a QR code for temporary storage with data: {"member_number":XXXX,"v":1,"type":"temp","expiry_date":"2022-01-11
","unix_timestamp":1635000000,"description":"..."}
2021-10-14 **:**:** INFO [/home/memberbooth/memberbooth/src/gui/states.py:63]: Printer status: {'instructions_sent': True, 'outcome': 'sent', 'printer_state': None, 'did_print': False, 'ready_for_next_j
ob': False}
2021-10-14 **:**:** ERROR [/home/memberbooth/memberbooth/src/gui/states.py:82]: This error should not occur
Traceback (most recent call last):
  File "/home/memberbooth/memberbooth/src/gui/states.py", line 71, in gui_print
    errors = print_status['printer_state']['errors']
TypeError: 'NoneType' object is not subscriptable
2021-10-14 **:**:** ERROR [/home/memberbooth/memberbooth/src/gui/design.py:305]: GUI error: Unknow printer error occured!
emanuelen5 commented 1 year ago

I think this might have been fixed