Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
pywebdriver log
--------------------------------------------------------------------------------
ERROR in base_driver [/usr/lib/python2.7/dist-packages/pywebdriver/plugins/base_driver.py:110]:
[Errno 110] Operation timed out
------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/pywebdriver/plugins/base_driver.py", line 105, in run
self.process_task(task, timestamp, data)
File "/usr/lib/python2.7/dist-packages/pywebdriver/plugins/base_driver.py", line 92, in process_task
return getattr(self, task)(data)
File "/usr/lib/python2.7/dist-packages/pywebdriver/plugins/escpos_driver.py", line 135, in printstatus
self.receipt('<div>'+msg+'</div>')
File "/usr/local/lib/python2.7/dist-packages/xmlescpos/escpos.py", line 757, in receipt
self.text(errmsg)
File "/usr/local/lib/python2.7/dist-packages/xmlescpos/escpos.py", line 872, in text
self._raw(txt)
File "/usr/local/lib/python2.7/dist-packages/xmlescpos/printer.py", line 68, in _raw
if len(msg) != self.device.write(self.out_ep, msg, self.interface):
File "/usr/local/lib/python2.7/dist-packages/usb/core.py", line 878, in write
self.__get_timeout(timeout)
File "/usr/local/lib/python2.7/dist-packages/usb/backend/libusb1.py", line 760, in bulk_write
timeout)
File "/usr/local/lib/python2.7/dist-packages/usb/backend/libusb1.py", line 856, in __write
_check(retval)
File "/usr/local/lib/python2.7/dist-packages/usb/backend/libusb1.py", line 552, in _check
raise USBError(_strerror(ret), ret, _libusb_errno[ret])
USBError: [Errno 110] Operation timed out
------------------------------------------------------------
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
ERROR in base_driver [/usr/lib/python2.7/dist-packages/pywebdriver/plugins/base_driver.py:110]:
[Errno 16] Resource busy
------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/pywebdriver/plugins/base_driver.py", line 105, in run
self.process_task(task, timestamp, data)
File "/usr/lib/python2.7/dist-packages/pywebdriver/plugins/base_driver.py", line 92, in process_task
return getattr(self, task)(data)
File "/usr/lib/python2.7/dist-packages/pywebdriver/plugins/escpos_driver.py", line 158, in printstatus
self.receipt(msg)
File "/usr/local/lib/python2.7/dist-packages/xmlescpos/escpos.py", line 757, in receipt
self.text(errmsg)
File "/usr/local/lib/python2.7/dist-packages/xmlescpos/escpos.py", line 872, in text
self._raw(txt)
File "/usr/local/lib/python2.7/dist-packages/xmlescpos/printer.py", line 68, in _raw
if len(msg) != self.device.write(self.out_ep, msg, self.interface):
File "/usr/local/lib/python2.7/dist-packages/usb/core.py", line 870, in write
intf, ep = self._ctx.setup_request(self, endpoint)
File "/usr/local/lib/python2.7/dist-packages/usb/core.py", line 190, in setup_request
self.managed_claim_interface(device, intf)
File "/usr/local/lib/python2.7/dist-packages/usb/core.py", line 146, in managed_claim_interface
self.backend.claim_interface(self.handle, i)
File "/usr/local/lib/python2.7/dist-packages/usb/backend/libusb1.py", line 747, in claim_interface
_check(self.lib.libusb_claim_interface(dev_handle.handle, intf))
File "/usr/local/lib/python2.7/dist-packages/usb/backend/libusb1.py", line 552, in _check
raise USBError(_strerror(ret), ret, _libusb_errno[ret])
USBError: [Errno 16] Resource busy
------------------------------------------------------------
--------------------------------------------------------------------------------
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.