Community mailing list archives

Re: what is the solution of the problem for "hw_escpos" module in odoo v9??

Alien Group Lda, Alaney Kilson Dória
- 04/20/2016 16:25:15
if it is linux, you need to set the permission rules for this device so you can have access without root user. See linux device rules

<img src="" alt="ALIEN GROUP LDA">

Alaney Dória

CEO | Odoo Consultant

tm.+244 913 728 600

<img src="" alt="Código QR">

Rua Doutor Agostinho Neto, 156, Bairro Azul, Luanda - Angola, Tel: +244 913 728 600 | +244 913 728 650,
Website:, Email:

<img src="" style="vertical-align:top;" alt=""> Não imprima este email caso não seja estritamente necessário. A Terra agradece-lhe!

On 04/13/2016 03:07 PM, omar frikha wrote:
raceback (most recent call last):
  File "/home/odoo/odoo-dev/odoo/addons/hw_escpos/controllers/", line 148, in run
    printer = self.get_escpos_printer()
  File "/home/odoo/odoo-dev/odoo/addons/hw_escpos/controllers/", line 105, in get_escpos_printer
    printers = self.connected_usb_devices()
  File "/home/odoo/odoo-dev/odoo/addons/hw_escpos/controllers/", line 92, in connected_usb_devices
    'name': usb.util.get_string(printer, 256, printer.iManufacturer) + " " + usb.util.get_string(printer, 256, printer.iProduct)
  File "/usr/local/lib/python2.7/dist-packages/pyusb-1.0.0b2-py2.7.egg/usb/", line 271, in get_string
  File "/usr/local/lib/python2.7/dist-packages/pyusb-1.0.0b2-py2.7.egg/usb/", line 173, in get_descriptor
    data_or_wLength = desc_size)
  File "/usr/local/lib/python2.7/dist-packages/pyusb-1.0.0b2-py2.7.egg/usb/", line 955, in ctrl_transfer
  File "/usr/local/lib/python2.7/dist-packages/pyusb-1.0.0b2-py2.7.egg/usb/", line 105, in managed_open
    self.handle = self.backend.open_device(
  File "/usr/local/lib/python2.7/dist-packages/pyusb-1.0.0b2-py2.7.egg/usb/backend/", line 722, in open_device
    return _DeviceHandle(dev)
  File "/usr/local/lib/python2.7/dist-packages/pyusb-1.0.0b2-py2.7.egg/usb/backend/", line 600, in __init__
    _check(_lib.libusb_open(self.devid, byref(self.handle)))
  File "/usr/local/lib/python2.7/dist-packages/pyusb-1.0.0b2-py2.7.egg/usb/backend/", line 552, in _check
    raise USBError(_strerror(ret), ret, _libusb_errno[ret])
USBError: [Errno 13] Access denied (insufficient permissions)

Post to: