From 307b43031aae2c1e940e94c40bf8dc784bdd7a6c Mon Sep 17 00:00:00 2001 From: lejeune quentin Date: Mon, 14 Sep 2020 15:48:30 +0000 Subject: [PATCH] [FIX] point_of_sale: Fixe specific version for evdev With evdev version 1.3.0 we have a lot of Traceback in IoT Box. A RuntimeError in the library with the function 'get_event_loop()' So we roll back to version 1.2.0 closes odoo/odoo#57977 X-original-commit: cbe0463cc129dcbda6d7966048ec5f7fc7e85040 Signed-off-by: Quentin Lejeune (qle) --- .../posbox/overwrite_before_init/etc/init_posbox_image.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/addons/point_of_sale/tools/posbox/overwrite_before_init/etc/init_posbox_image.sh b/addons/point_of_sale/tools/posbox/overwrite_before_init/etc/init_posbox_image.sh index f5af6ee7ee5..5bf499c1f23 100755 --- a/addons/point_of_sale/tools/posbox/overwrite_before_init/etc/init_posbox_image.sh +++ b/addons/point_of_sale/tools/posbox/overwrite_before_init/etc/init_posbox_image.sh @@ -101,8 +101,9 @@ rm -rfv /usr/share/doc # this may be fixed with libusb>2:1.0.11-1, but that's the most recent one in raspbian # so we install the latest pyusb that works with this libusb. # Even in stretch, we had an error with langid (but worked otherwise) +# We fixe the version of evdev to 1.2.0 because in 1.3.0 we have a RuntimeError in 'get_event_loop()' PIP_TO_INSTALL=" - evdev \ + evdev==1.2.0 \ gatt \ polib \ pycups \