Community mailing list archives

community@mail.odoo.com

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

by
dom
- 04/13/2016 10:02:06

What is your assessment after this error message ?

On 13 Apr, 2016 9:53 pm, "omar frikha" <omarfrikha59@gmail.com> wrote:
raceback (most recent call last):
  File "/home/odoo/odoo-dev/odoo/addons/hw_escpos/controllers/main.py", line 148, in run
    printer = self.get_escpos_printer()
  File "/home/odoo/odoo-dev/odoo/addons/hw_escpos/controllers/main.py", line 105, in get_escpos_printer
    printers = self.connected_usb_devices()
  File "/home/odoo/odoo-dev/odoo/addons/hw_escpos/controllers/main.py", 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/util.py", line 271, in get_string
    langid
  File "/usr/local/lib/python2.7/dist-packages/pyusb-1.0.0b2-py2.7.egg/usb/control.py", 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/core.py", line 955, in ctrl_transfer
    self._ctx.managed_open()
  File "/usr/local/lib/python2.7/dist-packages/pyusb-1.0.0b2-py2.7.egg/usb/core.py", line 105, in managed_open
    self.handle = self.backend.open_device(self.dev)
  File "/usr/local/lib/python2.7/dist-packages/pyusb-1.0.0b2-py2.7.egg/usb/backend/libusb1.py", 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/libusb1.py", 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/libusb1.py", line 552, in _check
    raise USBError(_strerror(ret), ret, _libusb_errno[ret])
USBError: [Errno 13] Access denied (insufficient permissions)

_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe