Advertisement
Guest User

Untitled

a guest
Mar 29th, 2017
132
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.02 KB | None | 0 0
  1. python Triathlon.py
  2.  
  3. (Triathlon.py:4644): Gtk-WARNING **: Unable to locate theme engine in module_path: "adwaita",
  4.  
  5. (Triathlon.py:4644): Gtk-WARNING **: Unable to locate theme engine in module_path: "adwaita",
  6.  
  7. (TriathlonDirectFeedbackPlayer.py:4646): Gtk-WARNING **: Unable to locate theme engine in module_path: "adwaita",
  8.  
  9. (TriathlonDirectFeedbackPlayer.py:4646): Gtk-WARNING **: Unable to locate theme engine in module_path: "adwaita",
  10. Traceback (most recent call last):
  11. File "TriathlonDirectFeedbackPlayer.py", line 665, in <module>
  12. run()
  13. File "TriathlonDirectFeedbackPlayer.py", line 658, in run
  14. bciDevice = InputManager.BCIDevice(profile.deviceName)
  15. File "/home/twentyfour/Downloads/Triathlon/InputManager.py", line 279, in __init__
  16. self.devices.append(NIA_Data(25,0))
  17. File "/home/twentyfour/Downloads/Triathlon/InputManager.py", line 109, in __init__
  18. self.calibrate()
  19. File "/home/twentyfour/Downloads/Triathlon/InputManager.py", line 114, in calibrate
  20. self.record()
  21. File "/home/twentyfour/Downloads/Triathlon/InputManager.py", line 123, in record
  22. raw_data = self.interface.read()
  23. File "/home/twentyfour/Downloads/Triathlon/InputManager.py", line 86, in read
  24. return self.handle.interruptRead(self.ENDPOINT1,self.PACKET_LENGTH1,self.TIME_OUT)
  25. File "/usr/lib/python2.7/dist-packages/usb/legacy.py", line 188, in interruptRead
  26. return self.dev.read(endpoint, size, timeout)
  27. File "/usr/lib/python2.7/dist-packages/usb/core.py", line 975, in read
  28. intf, ep = self._ctx.setup_request(self, endpoint)
  29. File "/usr/lib/python2.7/dist-packages/usb/core.py", line 102, in wrapper
  30. return f(self, *args, **kwargs)
  31. File "/usr/lib/python2.7/dist-packages/usb/core.py", line 215, in setup_request
  32. intf, ep = self.get_interface_and_endpoint(device, endpoint_address)
  33. File "/usr/lib/python2.7/dist-packages/usb/core.py", line 102, in wrapper
  34. return f(self, *args, **kwargs)
  35. File "/usr/lib/python2.7/dist-packages/usb/core.py", line 225, in get_interface_and_endpoint
  36. for intf in self.get_active_configuration(device):
  37. File "/usr/lib/python2.7/dist-packages/usb/core.py", line 102, in wrapper
  38. return f(self, *args, **kwargs)
  39. File "/usr/lib/python2.7/dist-packages/usb/core.py", line 236, in get_active_configuration
  40. self.managed_open()
  41. File "/usr/lib/python2.7/dist-packages/usb/core.py", line 102, in wrapper
  42. return f(self, *args, **kwargs)
  43. File "/usr/lib/python2.7/dist-packages/usb/core.py", line 120, in managed_open
  44. self.handle = self.backend.open_device(self.dev)
  45. File "/usr/lib/python2.7/dist-packages/usb/backend/libusb1.py", line 786, in open_device
  46. return _DeviceHandle(dev)
  47. File "/usr/lib/python2.7/dist-packages/usb/backend/libusb1.py", line 643, in __init__
  48. _check(_lib.libusb_open(self.devid, byref(self.handle)))
  49. File "/usr/lib/python2.7/dist-packages/usb/backend/libusb1.py", line 595, in _check
  50. raise USBError(_strerror(ret), ret, _libusb_errno[ret])
  51. usb.core.USBError: [Errno 13] Access denied (insufficient permissions)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement