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

something is not working .. #5

Open
Simon-CR opened this issue Feb 18, 2021 · 0 comments
Open

something is not working .. #5

Simon-CR opened this issue Feb 18, 2021 · 0 comments

Comments

@Simon-CR
Copy link

unknown key, scancode=42
unknown key, scancode=45
unknown key, scancode=42
unknown key, scancode=18
unknown key, scancode=42
unknown key, scancode=23
unknown key, scancode=42
unknown key, scancode=23
unknown key, scancode=42
unknown key, scancode=32
XX002XX3XXXX8XX
Looking up the product_id
405
Traceback (most recent call last):
File "barcode_reader.py", line 309, in
decrease_inventory(upc)
File "barcode_reader.py", line 69, in decrease_inventory
product_id_lookup(upc)
File "barcode_reader.py", line 116, in product_id_lookup
product_id = j['product']['id']
KeyError: 'product'
Exception TypeError: TypeError('super() takes at least 1 argument (0 given)',) in <bound method InputDevice.del of InputDevice('/dev/input/event0')> ignored

the product code i'm trying to scan is YHDAA-tech

I pre-added it to my grocy inventory list with a few quantity in there

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

No branches or pull requests

1 participant