Blea en erreur

Hello,

Depuis 2 jours voici que mon démon blea refuse de démarrer…j’ai fait toute une série de maj et d’update de dépendances depuis.
J’ai tenté de réinstallé mon backup, mais si il y a eu un souci de dépendances impossible de revenir dessus …

impossible de comprendre les messages d’erreur
Voici quelques infos

hciconfig
hci1:   Type: Primary  Bus: USB
        BD Address: 00:15:83:F3:60:21  ACL MTU: 310:10  SCO MTU: 64:8
        UP RUNNING
        RX bytes:18772 acl:0 sco:0 events:1093 errors:0
        TX bytes:23604 acl:0 sco:0 commands:1093 errors:0

hci0:   Type: Primary  Bus: USB
        BD Address: AC:72:89:61:7B:A9  ACL MTU: 310:10  SCO MTU: 64:8
        UP RUNNING
        RX bytes:5801 acl:0 sco:0 events:283 errors:0
        TX bytes:8500 acl:0 sco:0 commands:283 errors:0

dans lusb j’ai bien :

Bus 003 Device 005: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)

j’ai paramétré ce porté clé en config.

au niveau de mes logs après redémarrage du démon j’ai

[2020-03-25 10:57:22.375][INFO] : GLOBAL------Start blead
[2020-03-25 10:57:22.376][INFO] : GLOBAL------Log level : debug
[2020-03-25 10:57:22.376][INFO] : GLOBAL------Socket port : 55008
[2020-03-25 10:57:22.376][INFO] : GLOBAL------Socket host : 127.0.0.1
[2020-03-25 10:57:22.376][INFO] : GLOBAL------Device : hci0
[2020-03-25 10:57:22.377][INFO] : GLOBAL------PID file : /tmp/jeedom/blea/deamon.pid
[2020-03-25 10:57:22.377][INFO] : GLOBAL------Apikey : ------
[2020-03-25 10:57:22.377][INFO] : GLOBAL------Callback : http://127.0.0.1:80/plugins/blea/core/php/jeeBlea.php
[2020-03-25 10:57:22.377][INFO] : GLOBAL------Cycle : 0.3
[2020-03-25 10:57:22.377][INFO] : GLOBAL------Scan interval  : 29
[2020-03-25 10:57:22.377][INFO] : GLOBAL------Number for no seen : 4
[2020-03-25 10:57:22.377][INFO] : GLOBAL------Scan Mode : passive
[2020-03-25 10:57:22.402][INFO] : LOADER------Import de la configuration devices.amazfitgtr
[2020-03-25 10:57:22.403][INFO] : LOADER------Import de la configuration devices.awoxmesh
[2020-03-25 10:57:22.407][INFO] : LOADER------Import de la configuration devices.beagle
[2020-03-25 10:57:22.408][INFO] : LOADER------Import de la configuration devices.beewismartdoor
[2020-03-25 10:57:22.409][INFO] : LOADER------Import de la configuration devices.blpnr
[2020-03-25 10:57:22.410][INFO] : LOADER------Import de la configuration devices.divoompixoo
[2020-03-25 10:57:22.701][INFO] : LOADER------Import de la configuration devices.divoomtimeboxmini
[2020-03-25 10:57:22.704][INFO] : LOADER------Import de la configuration devices.dotti
[2020-03-25 10:57:22.705][INFO] : LOADER------Import de la configuration devices.dreamscreen
[2020-03-25 10:57:22.705][INFO] : LOADER------Import de la configuration devices.fitbit
[2020-03-25 10:57:22.706][INFO] : LOADER------Import de la configuration devices.gigaset
[2020-03-25 10:57:22.706][INFO] : LOADER------Import de la configuration devices.hector
[2020-03-25 10:57:22.707][INFO] : LOADER------Import de la configuration devices.itag
[2020-03-25 10:57:22.708][INFO] : LOADER------Import de la configuration devices.jinlin
[2020-03-25 10:57:22.708][INFO] : LOADER------Import de la configuration devices.kst1
[2020-03-25 10:57:22.709][INFO] : LOADER------Import de la configuration devices.logiswitch
[2020-03-25 10:57:22.709][INFO] : LOADER------Import de la configuration devices.lywsd02
[2020-03-25 10:57:22.710][INFO] : LOADER------Import de la configuration devices.meyerdom2analog
[2020-03-25 10:57:22.710][INFO] : LOADER------Import de la configuration devices.meyerdom4contacts
[2020-03-25 10:57:22.711][INFO] : LOADER------Import de la configuration devices.meyerdomcontactvocal
[2020-03-25 10:57:22.712][INFO] : LOADER------Import de la configuration devices.miband
[2020-03-25 10:57:22.712][INFO] : LOADER------Import de la configuration devices.miband2
[2020-03-25 10:57:22.713][INFO] : LOADER------Import de la configuration devices.miband3
[2020-03-25 10:57:22.714][INFO] : LOADER------Import de la configuration devices.miband4
[2020-03-25 10:57:22.714][INFO] : LOADER------Import de la configuration devices.miflora
[2020-03-25 10:57:22.715][INFO] : LOADER------Import de la configuration devices.miscale
[2020-03-25 10:57:22.715][INFO] : LOADER------Import de la configuration devices.miscale2
[2020-03-25 10:57:22.716][INFO] : LOADER------Import de la configuration devices.myfox
[2020-03-25 10:57:22.717][INFO] : LOADER------Import de la configuration devices.niu
[2020-03-25 10:57:22.717][INFO] : LOADER------Import de la configuration devices.noke
[2020-03-25 10:57:22.718][INFO] : LOADER------Import de la configuration devices.nut
[2020-03-25 10:57:22.718][INFO] : LOADER------Import de la configuration devices.parrotplant
[2020-03-25 10:57:22.719][INFO] : LOADER------Import de la configuration devices.pixoo
[2020-03-25 10:57:22.720][INFO] : LOADER------Import de la configuration devices.pixoo.divoom_image
[2020-03-25 10:57:22.720][INFO] : LOADER------Import de la configuration devices.pixoo.messages
[2020-03-25 10:57:22.720][INFO] : LOADER------Import de la configuration devices.pixoo.timebox
[2020-03-25 10:57:22.720][INFO] : LOADER------Import de la configuration devices.pixoo.timeboximage
[2020-03-25 10:57:22.720][INFO] : LOADER------Import de la configuration devices.playbulb
[2020-03-25 10:57:22.721][INFO] : LOADER------Import de la configuration devices.ropot
[2020-03-25 10:57:22.722][INFO] : LOADER------Import de la configuration devices.ruuvi
[2020-03-25 10:57:22.722][INFO] : LOADER------Import de la configuration devices.smartplug
[2020-03-25 10:57:22.723][INFO] : LOADER------Import de la configuration devices.tb05
[2020-03-25 10:57:22.724][INFO] : LOADER------Import de la configuration devices.ticatag
[2020-03-25 10:57:22.724][INFO] : LOADER------Import de la configuration devices.tile
[2020-03-25 10:57:22.725][INFO] : LOADER------Import de la configuration devices.timebox
[2020-03-25 10:57:22.725][INFO] : LOADER------Import de la configuration devices.timebox.divoom_image
[2020-03-25 10:57:22.726][INFO] : LOADER------Import de la configuration devices.timebox.messages
[2020-03-25 10:57:22.726][INFO] : LOADER------Import de la configuration devices.timebox.timebox
[2020-03-25 10:57:22.726][INFO] : LOADER------Import de la configuration devices.timebox.timeboximage
[2020-03-25 10:57:22.726][INFO] : LOADER------Import de la configuration devices.wistiki
[2020-03-25 10:57:22.727][INFO] : LOADER------Import de la configuration devices.xiaomiht
[2020-03-25 10:57:22.727][INFO] : LOADER------Import de la configuration devices.yeelight
[2020-03-25 10:57:22.728][INFO] : LOADER------Import de la configuration devices.yeelightcandela
[2020-03-25 10:57:22.754][DEBUG] : Writing PID 12532 to /tmp/jeedom/blea/deamon.pid
[2020-03-25 10:57:22.756][DEBUG] : Init request module v2.12.4
[2020-03-25 10:57:22.770][DEBUG] : Starting new HTTP connection (1): 127.0.0.1
[2020-03-25 10:57:22.776][DEBUG] : http://127.0.0.1:80 "GET /plugins/blea/core/php/jeeBlea.php?apikey=------HTTP/1.1" 200 0
[2020-03-25 10:57:22.777][DEBUG] : Socket interface started
[2020-03-25 10:57:22.778][DEBUG] : LoopNetServer Thread started
[2020-03-25 10:57:22.778][INFO] : GLOBAL------Start listening...
[2020-03-25 10:57:22.778][DEBUG] : Listening on: [127.0.0.1:55008]
[2020-03-25 10:57:22.779][INFO] : GLOBAL------Preparing Scanner...
[2020-03-25 10:57:22.780][DEBUG] : Send to jeedom :  {'learn_mode': 0, 'source': 'local'}
[2020-03-25 10:57:22.782][DEBUG] : Starting new HTTP connection (1): 127.0.0.1
[2020-03-25 10:57:22.782][DEBUG] : GLOBAL------Read Socket Thread Launched
[2020-03-25 10:57:22.783][DEBUG] : GLOBAL------Read Device Thread Launched
[2020-03-25 10:57:22.783][DEBUG] : GLOBAL------Heartbeat Thread Launched
[2020-03-25 10:57:22.784][DEBUG] : Send to jeedom :  {'version': '2.9', 'started': 1, 'source': 'local'}
[2020-03-25 10:57:22.786][DEBUG] : Starting new HTTP connection (1): 127.0.0.1
[2020-03-25 10:57:22.797][DEBUG] : http://127.0.0.1:80 "POST /plugins/blea/core/php/jeeBlea.php?apikey=----HTTP/1.1" 200 0
[2020-03-25 10:57:22.800][DEBUG] : Client connected to [127.0.0.1:44636]
[2020-03-25 10:57:22.801][DEBUG] : Message read from socket: b'{"apikey":"0kKfU83khSeQr48JIvlYyR6r1y1Pkj0J","cmd":"add","device":{"id":"0C:95:41:B1:A9:64","delay":0,"needsrefresh":0,"name":"miscale2","refreshlist":[],"islocked":0,"emitterallowed":"local","refresherallowed":"local","specificconfiguration":[],"absent":"","type":"","model":"miscale2\/miscale2"}}'
[2020-03-25 10:57:22.801][DEBUG] : Client disconnected from [127.0.0.1:44636]
[2020-03-25 10:57:22.802][DEBUG] : Client connected to [127.0.0.1:44638]
[2020-03-25 10:57:22.802][DEBUG] : http://127.0.0.1:80 "POST /plugins/blea/core/php/jeeBlea.php?apikey=-----HTTP/1.1" 200 0
[2020-03-25 10:57:22.804][DEBUG] : Message read from socket: b'{"apikey":"0kKfU83khSeQr48JIvlYyR6r1y1Pkj0J","cmd":"ready"}'
[2020-03-25 10:57:22.804][DEBUG] : Client disconnected from [127.0.0.1:44638]
[2020-03-25 10:57:23.080][DEBUG] : SOCKET-READ------Message received in socket JEEDOM_SOCKET_MESSAGE
[2020-03-25 10:57:23.080][DEBUG] : SOCKET-READ------Received command from jeedom : add
[2020-03-25 10:57:23.081][DEBUG] : SOCKET-READ------Add device : {'needsrefresh': 0, 'delay': 0, 'refreshlist': [], 'emitterallowed': 'local', 'specificconfiguration': [], 'absent': '', 'name': 'miscale2', 'islocked': 0, 'refresherallowed': 'local', 'model': 'miscale2/miscale2', 'id': '0C:95:41:B1:A9:64', 'type': ''}
[2020-03-25 10:57:23.381][DEBUG] : SOCKET-READ------Message received in socket JEEDOM_SOCKET_MESSAGE
[2020-03-25 10:57:23.382][DEBUG] : SOCKET-READ------Received command from jeedom : ready
[2020-03-25 10:57:23.382][DEBUG] : Daemon is ready
[2020-03-25 10:57:24.051][WARNING] : GLOBAL------Exception on scanner (trying to resolve by myself 11): [Errno 13] Permission denied
[2020-03-25 10:57:24.342][WARNING] : GLOBAL------Exception on scanner (trying to resolve by myself 12): [Errno 13] Permission denied
[2020-03-25 10:57:24.635][WARNING] : GLOBAL------Exception on scanner (trying to resolve by myself 13): [Errno 13] Permission denied
[2020-03-25 10:57:24.922][WARNING] : GLOBAL------Exception on scanner (trying to resolve by myself 14): [Errno 13] Permission denied
[2020-03-25 10:57:25.208][WARNING] : GLOBAL------Exception on scanner (trying to resolve by myself 15): [Errno 13] Permission denied
[2020-03-25 10:57:25.499][WARNING] : GLOBAL------Exception on scanner (trying to resolve by myself 16): [Errno 13] Permission denied
[2020-03-25 10:57:25.797][WARNING] : GLOBAL------Exception on scanner (trying to resolve by myself 17): [Errno 13] Permission denied
[2020-03-25 10:57:26.088][WARNING] : GLOBAL------Exception on scanner (trying to resolve by myself 18): [Errno 13] Permission denied
[2020-03-25 10:57:26.379][WARNING] : GLOBAL------Exception on scanner (trying to resolve by myself 19): [Errno 13] Permission denied
[2020-03-25 10:57:26.668][WARNING] : GLOBAL------Exception on scanner (trying to resolve by myself 20): [Errno 13] Permission denied
[2020-03-25 10:57:26.952][ERROR] : GLOBAL------Exception on scanner (didn't resolve there is an issue with bluetooth) : [Errno 13] Permission denied
[2020-03-25 10:57:26.953][INFO] : GLOBAL------Shutting down due to errors
[2020-03-25 10:57:26.953][DEBUG] : Send to jeedom :  {'learn_mode': 0, 'source': 'local'}
[2020-03-25 10:57:26.957][DEBUG] : Starting new HTTP connection (1): 127.0.0.1
[2020-03-25 10:57:26.968][DEBUG] : http://127.0.0.1:80 "POST /plugins/blea/core/php/jeeBlea.php?apikey=-----HTTP/1.1" 200 0
[2020-03-25 10:57:28.955][DEBUG] : GLOBAL------Shutdown
[2020-03-25 10:57:28.956][DEBUG] : GLOBAL------Removing PID file /tmp/jeedom/blea/deamon.pid
[2020-03-25 10:57:28.956][DEBUG] : GLOBAL------Closing all potential bluetooth connection
[2020-03-25 10:57:29.310][DEBUG] : LoopNetServer Thread stopped
[2020-03-25 10:57:29.311][DEBUG] : Exit 0

J’ai trouvé quelques messages sur ça:
notamment celui là

Mais le dossier /usr/local/lib/python3.7/dist-packages/bluepy n’existe pas pour moi.

Mes versions: Jeedom 3.3.39 stable à jour.

Mais je n’ai pas

Merci beaucoup

J’ai testé (pyhton 3.5 pour ma part) toujours meme problème

Mise à jour de jeedom: passage en 4.0 … idem

Nouveau message [2020-03-25 11:42:23.653][WARNING] : GLOBAL------Exception on scanner (trying to resolve by myself 12): Failed to execute management command 'le on' (code: 12, error: Not Supported) [2020-03-25 11:42:23.937][WARNING] : GLOBAL------Exception on scanner (trying to resolve by myself 13): Failed to execute management command 'le on' (code: 12, error: Not Supported) [2020-03-25 11:42:24.229][WARNING] : GLOBAL------Exception on scanner (trying to resolve by myself 14): Failed to execute management command 'le on' (code: 12, error: Not Supported) [2020-03-25 11:42:24.526][WARNING] : GLOBAL------Exception on scanner (trying to resolve by myself 15): Failed to execute management command 'le on' (code: 12, error: Not Supported) [2020-03-25 11:42:24.819][WARNING] : GLOBAL------Exception on scanner (trying to resolve by myself 16): Failed to execute management command 'le on' (code: 12, error: Not Supported) [2020-03-25 11:42:25.116][WARNING] : GLOBAL------Exception on scanner (trying to resolve by myself 17): Failed to execute management command 'le on' (code: 12, error: Not Supported) [2020-03-25 11:42:25.406][WARNING] : GLOBAL------Exception on scanner (trying to resolve by myself 18): Failed to execute management command 'le on' (code: 12, error: Not Supported) [2020-03-25 11:42:25.703][WARNING] : GLOBAL------Exception on scanner (trying to resolve by myself 19): Failed to execute management command 'le on' (code: 12, error: Not Supported) [2020-03-25 11:42:25.997][WARNING] : GLOBAL------Exception on scanner (trying to resolve by myself 20): Failed to execute management command 'le on' (code: 12, error: Not Supported) [2020-03-25 11:42:26.288][ERROR] : GLOBAL------Exception on scanner (didn't resolve there is an issue with bluetooth) : Failed to execute management command 'le on' (code: 12, error: Not Supported)

j’ai bien un problème de permission … je continue mes recherches.
A noté que
la commande:

 sudo ./bluepy-helper 0
le on

me donne
rsp=$mgmtcode=$mgmterrestat=hCemsg='Not Supported

que ce soit en root ou avec sudo.

J’ai désinstallé le plugin puis réinstallé. Toujours pareil.

j’ai le répertoire bluypy dans python 2.5 et 3.7 …

Tu n’a plus la même erreur, dans le premier message erreur 13 dans le dernier erreur 12

oui j’ai vu …
entre temps je suis passé en v4.

voilà ce que je trouve sur cette erreur:

Ok, if your error is:
Failed to execute management command 'le on' (code: 12, error: Not Supported)
It means bluepy cannot activate ble in your bluetooth card, that means either you don't have a ble card or your virtual machine doesn't talk properly to your host machine to turn on the low enery mode in your bluetooth.

Que te dit hciconfig maintenant?
Tu utilise quel matériel/dongle Bluetooth? Ton dongle fait bien ble ?

meme chose que au début … « running »
J’ai un dongle bluettoth usb trendnet qui est bien bindé sur ma vm dans l’hypervisuer …

Au début tu as un hci0 et un hci1, le plugin utilise le hci0. Ça correspond à ton dongle?

oui … j’ai vérifié. Je l’ai enlevé pour vérifié. et j’ai bien « Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode) » dans mon lsusb en plus quadn je le remet
L’autre doit être le zwave

J’ai
Désinstallé bluepy via pip
Désinstallé mon plugin.
Résintallé le plugin et dépendances

********************************************************
*			 Installation des dépendances			 *
********************************************************
Ign:1 http://ftp.fr.debian.org/debian stretch InRelease
Hit:2 http://security.debian.org/debian-security stretch/updates InRelease
Hit:3 http://ftp.fr.debian.org/debian stretch-updates InRelease
Hit:4 http://ftp.fr.debian.org/debian stretch Release
Hit:5 https://repo.mosquitto.org/debian stretch InRelease
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
libatlas-base-dev is already the newest version (3.10.3-1+b1).
bluetooth is already the newest version (5.43-2+deb9u1).
libbluetooth-dev is already the newest version (5.43-2+deb9u1).
build-essential is already the newest version (12.3).
libffi-dev is already the newest version (3.2.1-6).
libopenjp2-7 is already the newest version (2.1.2-1.1+deb9u4).
libssl-dev is already the newest version (1.1.0l-1~deb9u1).
python3-serial is already the newest version (3.2.1-1).
python3-setuptools is already the newest version (33.1.1-1).
python3-dev is already the newest version (3.5.3-1).
python3-pyudev is already the newest version (0.21.0-1).
python3-requests is already the newest version (2.12.4-1).
rfkill is already the newest version (0.5-1+b1).
libtiff5 is already the newest version (4.0.8-2+deb9u4).
The following packages were automatically installed and are no longer required:
  python-blinker python-jwt python-lockfile python-oauthlib python-paramiko
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
Reading package lists...
Building dependency tree...
Reading state information...
The following packages were automatically installed and are no longer required:
  python-blinker python-jwt python-lockfile python-oauthlib python-paramiko
Use 'sudo apt autoremove' to remove them.
debconf: unable to initialize frontend: Dialog
debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (This frontend requires a controlling tty.)
debconf: falling back to frontend: Teletype
dpkg-preconfigure: unable to re-open stdin: 
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 1 not upgraded.
Need to get 0 B/142 kB of archives.
After this operation, 0 B of additional disk space will be used.
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 68566 files and directories currently installed.)
Preparing to unpack .../python3-pip_9.0.1-2+deb9u1_all.deb ...
Unpacking python3-pip (9.0.1-2+deb9u1) over (9.0.1-2+deb9u1) ...
Setting up python3-pip (9.0.1-2+deb9u1) ...
Processing triggers for man-db (2.7.6.1-2) ...
Requirement already up-to-date: setuptools in /usr/local/lib/python3.5/dist-packages
Reading package lists...
Building dependency tree...
Reading state information...
git is already the newest version (1:2.11.0-3+deb9u5).
libglib2.0-dev is already the newest version (2.50.3-2+deb9u2).
The following packages were automatically installed and are no longer required:
  python-blinker python-jwt python-lockfile python-oauthlib python-paramiko
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
Requirement already satisfied: pyudev in /usr/lib/python3/dist-packages
Requirement already satisfied: pyserial in /usr/lib/python3/dist-packages
Requirement already satisfied: requests in /usr/lib/python3/dist-packages
Requirement already satisfied: pybluez in /usr/local/lib/python3.5/dist-packages
Requirement already satisfied: pillow in /usr/local/lib/python3.5/dist-packages
Requirement already satisfied: numpy in /usr/local/lib/python3.5/dist-packages
Cloning into 'bluepy'...
running build
running build_py
creating build
creating build/lib
creating build/lib/bluepy
copying bluepy/scan_fuzz.py -> build/lib/bluepy
copying bluepy/scanner.py -> build/lib/bluepy
copying bluepy/sensortag.py -> build/lib/bluepy
copying bluepy/thingy52.py -> build/lib/bluepy
copying bluepy/btle.py -> build/lib/bluepy
copying bluepy/get_services.py -> build/lib/bluepy
copying bluepy/blescan.py -> build/lib/bluepy
copying bluepy/__init__.py -> build/lib/bluepy
copying bluepy/uuids.json -> build/lib/bluepy
copying bluepy/bluez-src.tgz -> build/lib/bluepy
copying bluepy/bluepy-helper.c -> build/lib/bluepy
copying bluepy/Makefile -> build/lib/bluepy
running install
Working dir is /tmp/bluepy
execute make -C ./bluepy clean
execute make -C bluepy -j1
running build
running build_py
copying bluepy/bluepy-helper -> build/lib/bluepy
running install_lib
copying build/lib/bluepy/scan_fuzz.py -> /usr/local/lib/python3.5/dist-packages/bluepy
copying build/lib/bluepy/scanner.py -> /usr/local/lib/python3.5/dist-packages/bluepy
copying build/lib/bluepy/sensortag.py -> /usr/local/lib/python3.5/dist-packages/bluepy
copying build/lib/bluepy/thingy52.py -> /usr/local/lib/python3.5/dist-packages/bluepy
copying build/lib/bluepy/bluepy-helper.c -> /usr/local/lib/python3.5/dist-packages/bluepy
copying build/lib/bluepy/Makefile -> /usr/local/lib/python3.5/dist-packages/bluepy
copying build/lib/bluepy/btle.py -> /usr/local/lib/python3.5/dist-packages/bluepy
copying build/lib/bluepy/bluepy-helper -> /usr/local/lib/python3.5/dist-packages/bluepy
copying build/lib/bluepy/bluez-src.tgz -> /usr/local/lib/python3.5/dist-packages/bluepy
copying build/lib/bluepy/get_services.py -> /usr/local/lib/python3.5/dist-packages/bluepy
copying build/lib/bluepy/uuids.json -> /usr/local/lib/python3.5/dist-packages/bluepy
copying build/lib/bluepy/blescan.py -> /usr/local/lib/python3.5/dist-packages/bluepy
copying build/lib/bluepy/__init__.py -> /usr/local/lib/python3.5/dist-packages/bluepy
byte-compiling /usr/local/lib/python3.5/dist-packages/bluepy/scan_fuzz.py to scan_fuzz.cpython-35.pyc
byte-compiling /usr/local/lib/python3.5/dist-packages/bluepy/scanner.py to scanner.cpython-35.pyc
byte-compiling /usr/local/lib/python3.5/dist-packages/bluepy/sensortag.py to sensortag.cpython-35.pyc
byte-compiling /usr/local/lib/python3.5/dist-packages/bluepy/thingy52.py to thingy52.cpython-35.pyc
byte-compiling /usr/local/lib/python3.5/dist-packages/bluepy/btle.py to btle.cpython-35.pyc
byte-compiling /usr/local/lib/python3.5/dist-packages/bluepy/get_services.py to get_services.cpython-35.pyc
byte-compiling /usr/local/lib/python3.5/dist-packages/bluepy/blescan.py to blescan.cpython-35.pyc
byte-compiling /usr/local/lib/python3.5/dist-packages/bluepy/__init__.py to __init__.cpython-35.pyc
running install_egg_info
running egg_info
creating bluepy.egg-info
writing bluepy.egg-info/PKG-INFO
writing entry points to bluepy.egg-info/entry_points.txt
writing dependency_links to bluepy.egg-info/dependency_links.txt
writing top-level names to bluepy.egg-info/top_level.txt
writing manifest file 'bluepy.egg-info/SOURCES.txt'
reading manifest file 'bluepy.egg-info/SOURCES.txt'
writing manifest file 'bluepy.egg-info/SOURCES.txt'
removing '/usr/local/lib/python3.5/dist-packages/bluepy-1.1.4-py3.5.egg-info' (and everything under it)
Copying bluepy.egg-info to /usr/local/lib/python3.5/dist-packages/bluepy-1.1.4-py3.5.egg-info
running install_scripts
Installing sensortag script to /usr/local/bin
Installing blescan script to /usr/local/bin
Installing thingy52 script to /usr/local/bin
Requirement already satisfied: cryptography in /usr/lib/python3/dist-packages
Requirement already satisfied: pycrypto in /usr/lib/python3/dist-packages
********************************************************
*			 Installation terminée					*
********************************************************

Et je n’ai plus le répertoire /usr/local/lib/python3.5/dist-packages/bluepy … y’a un truc qui m’échappe …

Ça je ne sais pas, mais ça n’a plus rien à voir avec l’erreur actuelle.

Le zwave n’apparait Pas dans hciconfig, que le Bluetooth. donc c’est autre chose…

Vu que tu es sur vm, tu as pas aussi un Bluetooth intégré à l’hote?

Peux tu exécuter ça pour voir si ce que tu as en hci0 gère bien le btle?

sudo hciconfig hci0 lestates

Et exécuter ça pour essayer de voir quel hci correspond à qui:

hciconfig -a

bonjour,

Ca fat 3 jours également que j’ai une erreur semblable « permission 13 denied » ; je viens d’essayer les 3 commandes mentionnées (cd /usr/local/lib/python3.7/dist-packages/bluepy chmod +x bluepy-helper sudo setcap ‹ cap_net_raw,cap_net_admin+eip › bluepy-helper ) et mon daemon BLEA tient à présent.
je travaille avec un Raspberry PI 3b avec bluetooth antenne-interne.

un tout granbd merci à vous

1 « J'aime »

Bonjour à Tous,

Mêmes soucis pour moi.
J’ai résolu un premier problème pour mon port interne (les 3 commandes mentionnées), par contre, rien à faire pour mon antenne externe, toujours le « permission 13 denier ».

Tout fonctionnait bien jusqu’à la dernière mise à jour. Depuis, le demon
reste toujours NOK.
J’ai fait le hciconfig, l’antenne est bin en UP RUNNING, j’ai ré-installé les dépendances (log un peu plus bas)blea_PiW1_dependancy.txt (7,7 Ko)

Pour info, j’ai un RPI4 en Buster et Jeedom V4.0.45.
J’ai refait une install complète de mon système hier en pensant résoudre le pb (j’avais des soucis avec le RFLINK, et le Zwave que j’ai résolu). Avec désinstallation et réinstallation du plugin.

Merci à Tous

J’ai oublié de préciser que mon antenne externe est un RPI zéro W que j’ai installé il y a un bout de temps par le super tuto de :

Vu dans le post Permission denied - #20 par MattL0

Trois simples commandes en ssh ont résolu le truc.

cd /usr/local/lib/python3.7/dist-packages/bluepy

chmod +x bluepy-helper

sudo setcap 'cap_net_raw,cap_net_admin+eip' bluepy-helper

Si vous écrivez dans le même sujet on va s’y perdre, surtout qu’il n’etait Plus sur ce message suite a des actions mais sur un nouveau (erreur 12).

@Fabrice: possible de séparer les sujets?