NEWS
BLE Adapter lässt sich nicht installieren. gelöst(Nodev18)
-
@stefanh-0 auf die schnelle https://www.libe.net/smart-home-funk
Hänge mich hier noch mal an.
Ich kann BLE _0.13.4 nicht Instalieren.Plattform: linux
Betriebssystem: linux
Architektur: x64
Geschwindigkeit: 1496 MHz
Modell: Intel(R) Celeron(R) CPU 1007U @ 1.50GHz
RAM: 7.5 GB
Node.js: v18.19.0
NPM: 10.2.3
Freier Festplattenspeicher: 453.0 GBERROR: Process exited with code 25 $ iobroker add ble --host Mini-pc-Master Installing iobroker.ble@0.13.4... (System call) npm ERR! code 1npm ERR! path /opt/iobroker/node_modules/@abandonware/noblenpm ERR! command failednpm ERR! command sh -c node-gyp-buildnpm ERR! (node:17520) [DEP0150] DeprecationWarning: Setting process.config is deprecated. In the future the property will be read-only.npm ERR! (Use `node --trace-deprecation ...` to show where the warning was created)npm ERR! Traceback (most recent call last):npm ERR! File "/opt/iobroker/node_modules/node-gyp/gyp/gyp_main.py", line 51, in <module>npm ERR! sys.exit(gyp.script_main())npm ERR! ^^^^^^^^^^^^^^^^^npm ERR! File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 670, in script_mainnpm ERR! return main(sys.argv[1:])npm ERR! ^^^^^^^^^^^^^^^^^^npm ERR! File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 662, in mainnpm ERR! return gyp_main(args)npm ERR! ^^^^^^^^^^^^^^npm ERR! File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 629, in gyp_mainnpm ERR! [generator, flat_list, targets, data] = Load(npm ERR! ^^^^^npm ERR! File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 150, in Loadnpm ERR! result = gyp.input.Load(npm ERR! ^^^^^^^^^^^^^^^npm ERR! File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 3021, in Loadnpm ERR! LoadTargetBuildFile(npm ERR! File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 411, in LoadTargetBuildFilenpm ERR! build_file_data = LoadOneBuildFile(npm ERR! ^^^^^^^^^^^^^^^^^npm ERR! File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 239, in LoadOneBuildFilenpm ERR! build_file_contents = open(build_file_path, "rU").read()npm ERR! ^^^^^^^^^^^^^^^^^^^^^^^^^^^npm ERR! ValueError: invalid mode: 'rU' while trying to load binding.gypnpm ERR! gyp ERR! configure error npm ERR! gyp ERR! stack Error: `gyp` failed with exit code: 1npm ERR! gyp ERR! stack at ChildProcess.onCpExit (/opt/iobroker/node_modules/node-gyp/lib/configure.js:351:16)npm ERR! gyp ERR! stack at ChildProcess.emit (node:events:517:28)npm ERR! gyp ERR! stack at ChildProcess._handle.onexit (node:internal/child_process:292:12)npm ERR! gyp ERR! System Linux 6.1.0-17-amd64npm ERR! gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/node-gyp/bin/node-gyp.js" "rebuild"npm ERR! gyp ERR! cwd /opt/iobroker/node_modules/@abandonware/noblenpm ERR! gyp ERR! node -v v18.19.0npm ERR! gyp ERR! node-gyp -v v7.1.2npm ERR! gyp ERR! not oknpm ERR! A complete log of this run can be found in: /home/iobroker/.npm/_logs/2024-01-23T18_42_08_732Z-debug-0.loghost.Mini-pc-Master Cannot install iobroker.ble@0.13.4: 1 ERROR: Process exited with code 25Kann jemand weiterhelfen?
-
Hänge mich hier noch mal an.
Ich kann BLE _0.13.4 nicht Instalieren.Plattform: linux
Betriebssystem: linux
Architektur: x64
Geschwindigkeit: 1496 MHz
Modell: Intel(R) Celeron(R) CPU 1007U @ 1.50GHz
RAM: 7.5 GB
Node.js: v18.19.0
NPM: 10.2.3
Freier Festplattenspeicher: 453.0 GBERROR: Process exited with code 25 $ iobroker add ble --host Mini-pc-Master Installing iobroker.ble@0.13.4... (System call) npm ERR! code 1npm ERR! path /opt/iobroker/node_modules/@abandonware/noblenpm ERR! command failednpm ERR! command sh -c node-gyp-buildnpm ERR! (node:17520) [DEP0150] DeprecationWarning: Setting process.config is deprecated. In the future the property will be read-only.npm ERR! (Use `node --trace-deprecation ...` to show where the warning was created)npm ERR! Traceback (most recent call last):npm ERR! File "/opt/iobroker/node_modules/node-gyp/gyp/gyp_main.py", line 51, in <module>npm ERR! sys.exit(gyp.script_main())npm ERR! ^^^^^^^^^^^^^^^^^npm ERR! File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 670, in script_mainnpm ERR! return main(sys.argv[1:])npm ERR! ^^^^^^^^^^^^^^^^^^npm ERR! File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 662, in mainnpm ERR! return gyp_main(args)npm ERR! ^^^^^^^^^^^^^^npm ERR! File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 629, in gyp_mainnpm ERR! [generator, flat_list, targets, data] = Load(npm ERR! ^^^^^npm ERR! File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 150, in Loadnpm ERR! result = gyp.input.Load(npm ERR! ^^^^^^^^^^^^^^^npm ERR! File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 3021, in Loadnpm ERR! LoadTargetBuildFile(npm ERR! File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 411, in LoadTargetBuildFilenpm ERR! build_file_data = LoadOneBuildFile(npm ERR! ^^^^^^^^^^^^^^^^^npm ERR! File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 239, in LoadOneBuildFilenpm ERR! build_file_contents = open(build_file_path, "rU").read()npm ERR! ^^^^^^^^^^^^^^^^^^^^^^^^^^^npm ERR! ValueError: invalid mode: 'rU' while trying to load binding.gypnpm ERR! gyp ERR! configure error npm ERR! gyp ERR! stack Error: `gyp` failed with exit code: 1npm ERR! gyp ERR! stack at ChildProcess.onCpExit (/opt/iobroker/node_modules/node-gyp/lib/configure.js:351:16)npm ERR! gyp ERR! stack at ChildProcess.emit (node:events:517:28)npm ERR! gyp ERR! stack at ChildProcess._handle.onexit (node:internal/child_process:292:12)npm ERR! gyp ERR! System Linux 6.1.0-17-amd64npm ERR! gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/node-gyp/bin/node-gyp.js" "rebuild"npm ERR! gyp ERR! cwd /opt/iobroker/node_modules/@abandonware/noblenpm ERR! gyp ERR! node -v v18.19.0npm ERR! gyp ERR! node-gyp -v v7.1.2npm ERR! gyp ERR! not oknpm ERR! A complete log of this run can be found in: /home/iobroker/.npm/_logs/2024-01-23T18_42_08_732Z-debug-0.loghost.Mini-pc-Master Cannot install iobroker.ble@0.13.4: 1 ERROR: Process exited with code 25Kann jemand weiterhelfen?
@walter-o sagte in BLE Adapter lässt sich nicht installieren. gelöst(Nodev18):
Kann jemand weiterhelfen?
Wie bist du da ansonsten so unterwegs?
iob diaganschauen.
-
Hänge mich hier noch mal an.
Ich kann BLE _0.13.4 nicht Instalieren.Plattform: linux
Betriebssystem: linux
Architektur: x64
Geschwindigkeit: 1496 MHz
Modell: Intel(R) Celeron(R) CPU 1007U @ 1.50GHz
RAM: 7.5 GB
Node.js: v18.19.0
NPM: 10.2.3
Freier Festplattenspeicher: 453.0 GBERROR: Process exited with code 25 $ iobroker add ble --host Mini-pc-Master Installing iobroker.ble@0.13.4... (System call) npm ERR! code 1npm ERR! path /opt/iobroker/node_modules/@abandonware/noblenpm ERR! command failednpm ERR! command sh -c node-gyp-buildnpm ERR! (node:17520) [DEP0150] DeprecationWarning: Setting process.config is deprecated. In the future the property will be read-only.npm ERR! (Use `node --trace-deprecation ...` to show where the warning was created)npm ERR! Traceback (most recent call last):npm ERR! File "/opt/iobroker/node_modules/node-gyp/gyp/gyp_main.py", line 51, in <module>npm ERR! sys.exit(gyp.script_main())npm ERR! ^^^^^^^^^^^^^^^^^npm ERR! File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 670, in script_mainnpm ERR! return main(sys.argv[1:])npm ERR! ^^^^^^^^^^^^^^^^^^npm ERR! File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 662, in mainnpm ERR! return gyp_main(args)npm ERR! ^^^^^^^^^^^^^^npm ERR! File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 629, in gyp_mainnpm ERR! [generator, flat_list, targets, data] = Load(npm ERR! ^^^^^npm ERR! File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 150, in Loadnpm ERR! result = gyp.input.Load(npm ERR! ^^^^^^^^^^^^^^^npm ERR! File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 3021, in Loadnpm ERR! LoadTargetBuildFile(npm ERR! File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 411, in LoadTargetBuildFilenpm ERR! build_file_data = LoadOneBuildFile(npm ERR! ^^^^^^^^^^^^^^^^^npm ERR! File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 239, in LoadOneBuildFilenpm ERR! build_file_contents = open(build_file_path, "rU").read()npm ERR! ^^^^^^^^^^^^^^^^^^^^^^^^^^^npm ERR! ValueError: invalid mode: 'rU' while trying to load binding.gypnpm ERR! gyp ERR! configure error npm ERR! gyp ERR! stack Error: `gyp` failed with exit code: 1npm ERR! gyp ERR! stack at ChildProcess.onCpExit (/opt/iobroker/node_modules/node-gyp/lib/configure.js:351:16)npm ERR! gyp ERR! stack at ChildProcess.emit (node:events:517:28)npm ERR! gyp ERR! stack at ChildProcess._handle.onexit (node:internal/child_process:292:12)npm ERR! gyp ERR! System Linux 6.1.0-17-amd64npm ERR! gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/node-gyp/bin/node-gyp.js" "rebuild"npm ERR! gyp ERR! cwd /opt/iobroker/node_modules/@abandonware/noblenpm ERR! gyp ERR! node -v v18.19.0npm ERR! gyp ERR! node-gyp -v v7.1.2npm ERR! gyp ERR! not oknpm ERR! A complete log of this run can be found in: /home/iobroker/.npm/_logs/2024-01-23T18_42_08_732Z-debug-0.loghost.Mini-pc-Master Cannot install iobroker.ble@0.13.4: 1 ERROR: Process exited with code 25Kann jemand weiterhelfen?
@walter-o sagte in BLE Adapter lässt sich nicht installieren. gelöst(Nodev18):
Kann jemand weiterhelfen?
hast du die notwendigen Zusatzpakete installiert?
-
@walter-o sagte in BLE Adapter lässt sich nicht installieren. gelöst(Nodev18):
Kann jemand weiterhelfen?
Wie bist du da ansonsten so unterwegs?
iob diaganschauen.
@thomas-braun sagte in BLE Adapter lässt sich nicht installieren. gelöst(Nodev18):
iob diag
Wie kann ich das denn alles kopieren?
Bekomme nicht mal die hälfte kopiert... -
@walter-o sagte in BLE Adapter lässt sich nicht installieren. gelöst(Nodev18):
Kann jemand weiterhelfen?
hast du die notwendigen Zusatzpakete installiert?
-
@thomas-braun sagte in BLE Adapter lässt sich nicht installieren. gelöst(Nodev18):
iob diag
Wie kann ich das denn alles kopieren?
Bekomme nicht mal die hälfte kopiert...@walter-o sagte in BLE Adapter lässt sich nicht installieren. gelöst(Nodev18):
Wie kann ich das denn alles kopieren?
Markieren, kopieren, hier rein hauen.
-
@walter-o sagte in BLE Adapter lässt sich nicht installieren. gelöst(Nodev18):
@homoran welche währen das?
steht in der Adapterbeschreibung, hab ich nicht im Kopf
-
@walter-o sagte in BLE Adapter lässt sich nicht installieren. gelöst(Nodev18):
Wie kann ich das denn alles kopieren?
Markieren, kopieren, hier rein hauen.
@thomas-braun ```
Copy text starting here:======================= SUMMARY ======================= v.2023-10-10 Static hostname: Mini-PC Icon name: computer-laptop Chassis: laptop 💻 Operating System: Debian GNU/Linux 12 (bookworm) Kernel: Linux 6.1.0-17-amd64 Architecture: x86-64 Hardware Vendor: Wortmann_AG Hardware Model: TERRA_PC Firmware Version: 1.02 Installation: native Kernel: x86_64 Userland: amd64 Timezone: Europe/Berlin (CET, +0100) User-ID: 1000 X-Server: false Boot Target: graphical.target Pending OS-Updates: 0 Pending iob updates: 0 Nodejs-Installation: /usr/bin/nodejs v18.19.0 /usr/bin/node v18.19.0 /usr/bin/npm 10.2.3 /usr/bin/npx 10.2.3 /usr/bin/corepack 0.22.0 Recommended versions are nodejs and npm Your nodejs installation is correct MEMORY: total used free shared buff/cache available Mem: 8.1G 3.8G 3.6G 831K 1.0G 4.3G Swap: 1.0G 0B 1.0G Total: 9.2G 3.8G 4.6G Active iob-Instances: 38 Active repo(s): stable ioBroker Core: js-controller 5.0.17 admin 6.12.0 ioBroker Status: iobroker is running on this host. Objects type: jsonl States type: jsonl Status admin and web instance: + system.adapter.admin.0 : admin : Mini-pc-Master - enabled, port: 8081, bind: 0.0.0.0, run as: admin + system.adapter.web.0 : web : Mini-pc-Master - enabled, port: 8082, bind: 0.0.0.0, run as: admin Objects: 26578 States: 24887 Size of iob-Database: 30M /opt/iobroker/iobroker-data/objects.jsonl 68M /opt/iobroker/iobroker-data/states.jsonl =================== END OF SUMMARY ======================= Mark text until here for copying ===
-
@walter-o sagte in BLE Adapter lässt sich nicht installieren. gelöst(Nodev18):
@homoran welche währen das?
steht in der Adapterbeschreibung, hab ich nicht im Kopf
-
@thomas-braun ```
Copy text starting here:======================= SUMMARY ======================= v.2023-10-10 Static hostname: Mini-PC Icon name: computer-laptop Chassis: laptop 💻 Operating System: Debian GNU/Linux 12 (bookworm) Kernel: Linux 6.1.0-17-amd64 Architecture: x86-64 Hardware Vendor: Wortmann_AG Hardware Model: TERRA_PC Firmware Version: 1.02 Installation: native Kernel: x86_64 Userland: amd64 Timezone: Europe/Berlin (CET, +0100) User-ID: 1000 X-Server: false Boot Target: graphical.target Pending OS-Updates: 0 Pending iob updates: 0 Nodejs-Installation: /usr/bin/nodejs v18.19.0 /usr/bin/node v18.19.0 /usr/bin/npm 10.2.3 /usr/bin/npx 10.2.3 /usr/bin/corepack 0.22.0 Recommended versions are nodejs and npm Your nodejs installation is correct MEMORY: total used free shared buff/cache available Mem: 8.1G 3.8G 3.6G 831K 1.0G 4.3G Swap: 1.0G 0B 1.0G Total: 9.2G 3.8G 4.6G Active iob-Instances: 38 Active repo(s): stable ioBroker Core: js-controller 5.0.17 admin 6.12.0 ioBroker Status: iobroker is running on this host. Objects type: jsonl States type: jsonl Status admin and web instance: + system.adapter.admin.0 : admin : Mini-pc-Master - enabled, port: 8081, bind: 0.0.0.0, run as: admin + system.adapter.web.0 : web : Mini-pc-Master - enabled, port: 8082, bind: 0.0.0.0, run as: admin Objects: 26578 States: 24887 Size of iob-Database: 30M /opt/iobroker/iobroker-data/objects.jsonl 68M /opt/iobroker/iobroker-data/states.jsonl =================== END OF SUMMARY ======================= Mark text until here for copying ===
@walter-o
Die Langfassung wäre besser. Soweit sieht das aber gut aus.
python --version && python --versionsagt?
-
@walter-o
Die Langfassung wäre besser. Soweit sieht das aber gut aus.
python --version && python --versionsagt?
@thomas-braun sagte in BLE Adapter lässt sich nicht installieren. gelöst(Nodev18):
python --version && python --version
Komando nicht gefunden
-
@thomas-braun sagte in BLE Adapter lässt sich nicht installieren. gelöst(Nodev18):
python --version && python --version
Komando nicht gefunden
@walter-o
python --version && python3 --versionUnd bitte immer vollständige Ein- wie Ausgaben zeigen, nix nacherzählen.
-
@walter-o
python --version && python3 --versionUnd bitte immer vollständige Ein- wie Ausgaben zeigen, nix nacherzählen.
@thomas-braun sagte in BLE Adapter lässt sich nicht installieren. gelöst(Nodev18):
python --version && python3 --version
walter@Mini-PC:~$ python --version && python3 --version -bash: python: Kommando nicht gefunden. walter@Mini-PC:~$ -
@thomas-braun sagte in BLE Adapter lässt sich nicht installieren. gelöst(Nodev18):
python --version && python3 --version
walter@Mini-PC:~$ python --version && python3 --version -bash: python: Kommando nicht gefunden. walter@Mini-PC:~$@walter-o sagte in BLE Adapter lässt sich nicht installieren. gelöst(Nodev18):
python3 --version -
@walter-o sagte in BLE Adapter lässt sich nicht installieren. gelöst(Nodev18):
python3 --version@thomas-braun
walter@Mini-PC:~$
python3 --version
Python 3.11.2
walter@Mini-PC:~$ -
@thomas-braun
walter@Mini-PC:~$
python3 --version
Python 3.11.2
walter@Mini-PC:~$@walter-o
Hm. Okay.
Jedenfalls ist dein 'node-gyp' zu alt. Ich weiß im Moment aber nicht, wie man das am elegantesten auf eine Version >=8 hievt. -
@thomas-braun
walter@Mini-PC:~$
python3 --version
Python 3.11.2
walter@Mini-PC:~$@walter-o
Schau mal in die Datei
/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/input.py
so um die Zeile 228 herum. Es dürfte da eine Zeile stehen, die ungefähr so aussieht:
else: build_file_contents = open(build_file_path, 'rU').read()Ändere
rUzur. -
@walter-o
Schau mal in die Datei
/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/input.py
so um die Zeile 228 herum. Es dürfte da eine Zeile stehen, die ungefähr so aussieht:
else: build_file_contents = open(build_file_path, 'rU').read()Ändere
rUzur.# base_path_sections is a list of sections defined by GYP that contain # pathnames. The generators can provide more keys, the two lists are merged # into path_sections, but you should call IsPathSection instead of using either # list directly. base_path_sections = [ "destination", "files", "include_dirs", "inputs", "libraries", [ „build_file_contents = open(build_file_path, 'rU').read()“ nicht gefunden ] -
# base_path_sections is a list of sections defined by GYP that contain # pathnames. The generators can provide more keys, the two lists are merged # into path_sections, but you should call IsPathSection instead of using either # list directly. base_path_sections = [ "destination", "files", "include_dirs", "inputs", "libraries", [ „build_file_contents = open(build_file_path, 'rU').read()“ nicht gefunden ]@walter-o
Was sehe ich da?
Keine Ahnung...
[Edit:] Das ist Zeile 35 oder so rum bei dir... Du musst die genannte Sektion bei Zeile 228 suchen.Bei mir sieht die Passage so aus:
def LoadOneBuildFile(build_file_path, data, aux_data, includes, is_target, check): if build_file_path in data: return data[build_file_path] if os.path.exists(build_file_path): build_file_contents = open(build_file_path, encoding="utf-8").read() else: raise GypError(f"{build_file_path} not found (cwd: {os.getcwd()})")Ist auf meinem Test/Bastelsystem, da sieht das dann nochmal anders aus.
-
@walter-o
Hm. Okay.
Jedenfalls ist dein 'node-gyp' zu alt. Ich weiß im Moment aber nicht, wie man das am elegantesten auf eine Version >=8 hievt.@thomas-braun
jetztwalter@Mini-PC:~$ node-gyp --version v10.0.1 walter@Mini-PC:~$
Hey! Du scheinst an dieser Unterhaltung interessiert zu sein, hast aber noch kein Konto.
Hast du es satt, bei jedem Besuch durch die gleichen Beiträge zu scrollen? Wenn du dich für ein Konto anmeldest, kommst du immer genau dorthin zurück, wo du zuvor warst, und kannst dich über neue Antworten benachrichtigen lassen (entweder per E-Mail oder Push-Benachrichtigung). Du kannst auch Lesezeichen speichern und Beiträge positiv bewerten, um anderen Community-Mitgliedern deine Wertschätzung zu zeigen.
Mit deinem Input könnte dieser Beitrag noch besser werden 💗
Registrieren Anmelden