You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tried to run the example command to make c red, this is what i get
Traceback (most recent call last):
File "/usr/lib/python3.6/runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "/usr/lib/python3.6/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/home/alessandro/Scrivania/fdclct-master/drevo/__main__.py", line 57, in <module>
main()
File "/home/alessandro/Scrivania/fdclct-master/drevo/__main__.py", line 34, in main
lightctl = keylights.Keylights()
File "/home/alessandro/Scrivania/fdclct-master/drevo/keylights.py", line 28, in __init__
self.adapter = usblinux.Usblinux()
File "/home/alessandro/Scrivania/fdclct-master/drevo/usblinux.py", line 17, in __init__
"Keyboard not present or insufficient permissions")
ValueError: Keyboard not present or insufficient permissions
Exception ignored in: <bound method Usblinux.__del__ of <drevo.usblinux.Usblinux object at 0x7f76fc83bf60>>
Traceback (most recent call last):
File "/home/alessandro/Scrivania/fdclct-master/drevo/usblinux.py", line 49, in __del__
usb.util.dispose_resources(self.dev)
AttributeError: 'Usblinux' object has no attribute 'dev'
The text was updated successfully, but these errors were encountered:
I'm not the author of this repo, but according to the error message you get, the code fails because dev is none (the search for the usb device was not sucessful) in this part of the code:
Tried to run the example command to make c red, this is what i get
The text was updated successfully, but these errors were encountered: