Skip to content

Instantly share code, notes, and snippets.

@alcidesrivera
Created October 13, 2015 22:23
Show Gist options
  • Save alcidesrivera/81fa913c698971ab6bfb to your computer and use it in GitHub Desktop.
Save alcidesrivera/81fa913c698971ab6bfb to your computer and use it in GitHub Desktop.
2015-10-13 22:15:04,932 29294 INFO ? openerp.addons.hw_escpos.controllers.main: connected : Connected to Љ Љ
2015-10-13 22:15:05,013 29294 INFO ? openerp.addons.hw_escpos.controllers.main: error : Invalid endpoint address 0x1
2015-10-13 22:15:05,019 29294 ERROR ? openerp.addons.hw_escpos.controllers.main: ESC/POS Error: Invalid endpoint address 0x1
2015-10-13 22:15:05,033 29294 ERROR ? openerp.addons.hw_escpos.controllers.main: Invalid endpoint address 0x1
------------------------------------------------------------
Traceback (most recent call last):
File "/home/openerp/apps/odoo/addons/hw_escpos/controllers/main.py", line 170, in run
self.print_status(printer)
File "/home/openerp/apps/odoo/addons/hw_escpos/controllers/main.py", line 201, in print_status
eprint.text('\n\n')
File "/home/openerp/apps/odoo/addons/hw_escpos/escpos/escpos.py", line 826, in text
self._raw(txt)
File "/home/openerp/apps/odoo/addons/hw_escpos/escpos/printer.py", line 68, in _raw
if len(msg) != self.device.write(self.out_ep, msg, self.interface):
File "/home/openerp/.local/lib/python2.7/site-packages/usb/core.py", line 870, in write
intf, ep = self._ctx.setup_request(self, endpoint)
File "/home/openerp/.local/lib/python2.7/site-packages/usb/core.py", line 189, in setup_request
intf, ep = self.get_interface_and_endpoint(device, endpoint_address)
File "/home/openerp/.local/lib/python2.7/site-packages/usb/core.py", line 204, in get_interface_and_endpoint
raise ValueError('Invalid endpoint address ' + hex(endpoint_address))
ValueError: Invalid endpoint address 0x1
------------------------------------------------------------
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment