NEWS
[gelöst]Problemsuche error node-gyp ble adapter
-
Schau mal ob dein Python 'EXTERNALLY_MANAGED' ist.
-
@thomas-braun jetzt überforderst mich, wo seh ich das?
-
In...
Weiß das Verzeichnis gerade nicht aus dem Kopf. Hab das heute aber schon in einem anderen Thread gepostet. Such mal danach. -
Also die 0.13.4 bekomme ich installiert. Bin auf Node 18, habe aber auch den Beta js-controller drauf.
Adapter ist zwar grün, aber Werte werden nicht aktualisiert und bekomme beim Starten folgendes im Log.Cannot find module '../build/Release/bluetooth_hci_socket.node' Require stack: - /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/lib/native.js - /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/index.js - /opt/iobroker/node_modules/iobroker.ble/node_modules/@abandonware/noble/lib/hci-socket/hci.js - /opt/iobroker/node_modules/iobroker.ble/node_modules/@abandonware/noble/lib/hci-socket/bindings.js - /opt/iobroker/node_modules/iobroker.ble/node_modules/@abandonware/noble/lib/resolve-bindings.js - /opt/iobroker/node_modules/iobroker.ble/node_modules/@abandonware/noble/with-custom-binding.js - /opt/iobroker/node_modules/iobroker.ble/node_modules/@abandonware/noble/index.js - /opt/iobroker/node_modules/iobroker.ble/build/scanProcess.js
Adapter version: 0.13.4
JS-Controller version: 5.0.9
Node version: 18.17.0
Operating system: Debian 12 bookwormBin mir jetzt unschlüssig ob es an node 18 oder js-controller beta liegt.
Habt ihr ne Idee? Und sorry @crunchip wenn ich deinen Thread kapere. Mache auch gerne einen neuen auf. -
@coyote sagte in Problemsuche error node-gyp ble adapter:
Bin mir jetzt unschlüssig ob es an node 18 oder js-controller beta liegt.
Weder noch. Die Version läuft hier nämlich 1a.
-
@thomas-braun also node 18 mit js-controller beta und BLE in Version 0.13.4 ?
Dann hau mal raus, woran es bei mir liegt -
@coyote sagte in Problemsuche error node-gyp ble adapter:
Dann hau mal raus, woran es bei mir liegt
Dann hau du raus wie du da genau unterwegs bist.
iob diag
sagt?
-
@thomas-braun gefunden, ja gibt es
Guck ich mir dann heut abend an, bis aktuell nur mit dem Handy unterwegs -
======================= SUMMARY ======================= v.2023-04-16 Operatingsystem: Debian GNU/Linux 12 (bookworm) Kernel: 6.1.0-10-amd64 Installation: kvm Timezone: Europe/Berlin (CEST, +0200) User-ID: 1000 X-Server: false Boot Target: graphical.target Pending OS-Updates: 3 Pending iob updates: 2 Nodejs-Installation: /usr/bin/nodejs v18.17.0 /usr/bin/node v18.17.0 /usr/bin/npm 9.6.7 /usr/bin/npx 9.6.7 Recommended versions are nodejs 18.x.y and npm 9.x.y Your nodejs installation is correct MEMORY: total used free shared buff/cache available Mem: 8.3G 6.9G 528M 507K 1.3G 1.5G Swap: 1.0G 536K 1.0G Total: 9.3G 6.9G 1.6G Active iob-Instances: 45 Active repo(s): beta ioBroker Core: js-controller 5.0.9 admin 6.6.1 ioBroker Status: iobroker is running on this host. Objects type: jsonl States type: jsonl Status admin and web instance: + system.adapter.admin.0 : admin : ioBroker - enabled, port: 8081, bind: 0.0.0.0, run as: admin + system.adapter.web.0 : web : ioBroker - enabled, port: 8082, bind: 192.168.66.68, run as: admin Objects: 39961 States: 38717 Size of iob-Database: 32M /opt/iobroker/iobroker-data/objects.jsonl 27M /opt/iobroker/iobroker-data/objects.json.migrated 27M /opt/iobroker/iobroker-data/objects.json.bak.migrated 55M /opt/iobroker/iobroker-data/states.jsonl 12M /opt/iobroker/iobroker-data/states.json.migrated 12M /opt/iobroker/iobroker-data/states.json.bak.migrated 0 /opt/iobroker/iobroker-data/states.json.broken =================== END OF SUMMARY ====================
-
Gibt es die Datei
/usr/lib/python3.x/EXTERNALLY-MANAGED
bei dir? x ggf. durch die python-Version ersetzen.
-
@thomas-braun ja gibt es. Bei mir dann Version 3.11
-
@coyote Dann schieb die Datei da mal weg.
-
@thomas-braun Egal wohin?
-
@thomas-braun so, hab sie mal nach /tmp geschoben und nun?
-
Ja.
sudo mv /usr/lib/python3.11/EXTERNALLY-MANAGED /usr/lib/python3.11/EXTERNALLY-MANAGEDbackup
wird wohl schon reichen.
-
Nicht nach /tmp. Da hast du als user eigentlich auch nix zu suchen.
-
@thomas-braun erledigt!
Wie gehts jetzt weiter? Bekomme beim Start des BLE Adapters immer noch:ble.0 2023-07-28 18:13:45.016 error Cannot find module '../build/Release/bluetooth_hci_socket.node' Require stack: - /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/lib/native.js - /opt/iobroker/node_modules/@abandonware/bluetooth-hci-socket/index.js - /opt/iobroker/node_modules/iobroker.ble/node_modules/@abandonware/noble/lib/hci-socket/hci.js - /opt/iobroker/node_modules/iobroker.ble/node_modules/@abandonware/noble/lib/hci-socket/bindings.js - /opt/iobroker/node_modules/iobroker.ble/node_modules/@abandonware/noble/lib/resolve-bindings.js - /opt/iobroker/node_modules/iobroker.ble/node_modules/@abandonware/noble/with-custom-binding.js - /opt/iobroker/node_modules/iobroker.ble/node_modules/@abandonware/noble/index.js - /opt/iobroker/node_modules/iobroker.ble/build/scanProcess.js
-
iob update iob upgrade ble@0.13.4
-
@thomas-braun sagte in Problemsuche error node-gyp ble adapter:
iob upgrade ble@0.13.4
Gleicher Fehler
-
@coyote sagte in Problemsuche error node-gyp ble adapter:
Gleicher Fehler
Immer vollständige Ein- und Ausgaben zeigen.