NEWS
Adapter Updates --> viele Fehler und Warnungen, iob läuft
ioBroker Allgemein
2
Beiträge
2
Kommentatoren
79
Aufrufe
3
Watching
-
Moin,
ich beobachte schon seit längerer Zeit, dass mein iobroker beim Update, egal welchen Adapters (hier xsense), die folgenden Meldungen auswirft. Der iobroker läuft trotzdem stabil, aber ich weiß nicht, wie ich den Fehlern entgegentreten kann. Ist das nur bei mir so oder ist das etwas grundsätzliches? Danke für jeden Hinweis.
Grüße...$ iobroker upgrade xsense@0.3.4 --debug Update xsense from @0.2.6 to @0.3.4 NPM version: 10.9.4 Installing iobroker.xsense@0.3.4... (System call) npm warn deprecated npmlog@4.1.2: This package is no longer supported.npm warn deprecated rimraf@3.0.2: Rimraf versions prior to v4 are no longer supported npm warn deprecated are-we-there-yet@1.1.7: This package is no longer supported. npm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported npm warn deprecated gauge@2.7.4: This package is no longer supported. > @stoprocent/noble@1.19.1 install> node-gyp-build gyp info it worked if it ends with ok gyp info using node-gyp@8.4.1gyp info using node@22.22.0 | linux | x64 (node:180095) [DEP0060] DeprecationWarning: The `util._extend` API is deprecated. Please use Object.assign() instead.(Use `node --trace-deprecation ...` to show where the warning was created) gyp info find Python using Python version 3.13.5 found at "/usr/bin/python3" gyp info spawn /usr/bin/python3gyp info spawn args [gyp info spawn args '/opt/iobroker/node_modules/node-gyp/gyp/gyp_main.py',gyp info spawn args 'binding.gyp',gyp info spawn args '-f',gyp info spawn args 'make',gyp info spawn args '-I',gyp info spawn args '/opt/iobroker/node_modules/@stoprocent/noble/build/config.gypi',gyp info spawn args '-I',gyp info spawn args '/opt/iobroker/node_modules/node-gyp/addon.gypi',gyp info spawn args '-I',gyp info spawn args '/home/iobroker/.cache/node-gyp/22.22.0/include/node/common.gypi',gyp info spawn args '-Dlibrary=shared_library',gyp info spawn args '-Dvisibility=default',gyp info spawn args '-Dnode_root_dir=/home/iobroker/.cache/node-gyp/22.22.0',gyp info spawn args '-Dnode_gyp_dir=/opt/iobroker/node_modules/node-gyp',gyp info spawn args '-Dnode_lib_file=/home/iobroker/.cache/node-gyp/22.22.0/<(target_arch)/node.lib',gyp info spawn args '-Dmodule_root_dir=/opt/iobroker/node_modules/@stoprocent/noble',gyp info spawn args '-Dnode_engine=v8',gyp info spawn args '--depth=.',gyp info spawn args '--no-parallel',gyp info spawn args '--generator-output',gyp info spawn args 'build',gyp info spawn args '-Goutput_dir=.'gyp info spawn args ] Traceback (most recent call last): File "/opt/iobroker/node_modules/node-gyp/gyp/gyp_main.py", line 42, in <module> import gyp # noqa: E402 ^^^^^^^^^^ File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 9, in <module> import gyp.input File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 19, in <module> from distutils.version import StrictVersionModuleNotFoundError: No module named 'distutils' gyp ERR! configure error gyp ERR! stack Error: `gyp` failed with exit code: 1gyp ERR! stack at ChildProcess.onCpExit (/opt/iobroker/node_modules/node-gyp/lib/configure.js:259:16)gyp ERR! stack at ChildProcess.emit (node:events:519:28)gyp ERR! stack at ChildProcess._handle.onexit (node:internal/child_process:293:12) gyp ERR! System Linux 6.12.63+deb13-amd64gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/node-gyp/bin/node-gyp.js" "rebuild"gyp ERR! cwd /opt/iobroker/node_modules/@stoprocent/noblegyp ERR! node -v v22.22.0 gyp ERR! node-gyp -v v8.4.1gyp ERR! not ok > raw-socket@1.8.1 install> node-gyp rebuild gyp info it worked if it ends with okgyp info using node-gyp@8.4.1gyp info using node@22.22.0 | linux | x64 (node:180111) [DEP0060] DeprecationWarning: The `util._extend` API is deprecated. Please use Object.assign() instead.(Use `node --trace-deprecation ...` to show where the warning was created) gyp info find Python using Python version 3.13.5 found at "/usr/bin/python3" gyp info spawn /usr/bin/python3gyp info spawn args [gyp info spawn args '/opt/iobroker/node_modules/node-gyp/gyp/gyp_main.py',gyp info spawn args 'binding.gyp',gyp info spawn args '-f',gyp info spawn args 'make', gyp info spawn args '-I',gyp info spawn args '/opt/iobroker/node_modules/raw-socket/build/config.gypi',gyp info spawn args '-I',gyp info spawn args '/opt/iobroker/node_modules/node-gyp/addon.gypi',gyp info spawn args '-I',gyp info spawn args '/home/iobroker/.cache/node-gyp/22.22.0/include/node/common.gypi',gyp info spawn args '-Dlibrary=shared_library',gyp info spawn args '-Dvisibility=default',gyp info spawn args '-Dnode_root_dir=/home/iobroker/.cache/node-gyp/22.22.0',gyp info spawn args '-Dnode_gyp_dir=/opt/iobroker/node_modules/node-gyp', gyp info spawn args '-Dnode_lib_file=/home/iobroker/.cache/node-gyp/22.22.0/<(target_arch)/node.lib',gyp info spawn args '-Dmodule_root_dir=/opt/iobroker/node_modules/raw-socket',gyp info spawn args '-Dnode_engine=v8',gyp info spawn args '--depth=.',gyp info spawn args '--no-parallel',gyp info spawn args '--generator-output',gyp info spawn args 'build',gyp info spawn args '-Goutput_dir=.'gyp info spawn args ] Traceback (most recent call last): File "/opt/iobroker/node_modules/node-gyp/gyp/gyp_main.py", line 42, in <module> import gyp # noqa: E402 ^^^^^^^^^^ File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 9, in <module> import gyp.input File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 19, in <module> from distutils.version import StrictVersionModuleNotFoundError: No module named 'distutils' gyp ERR! configure error gyp ERR! stack Error: `gyp` failed with exit code: 1gyp ERR! stack at ChildProcess.onCpExit (/opt/iobroker/node_modules/node-gyp/lib/configure.js:259:16)gyp ERR! stack at ChildProcess.emit (node:events:519:28)gyp ERR! stack at ChildProcess._handle.onexit (node:internal/child_process:293:12)gyp ERR! System Linux 6.12.63+deb13-amd64gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/.bin/node-gyp" "rebuild"gyp ERR! cwd /opt/iobroker/node_modules/raw-socketgyp ERR! node -v v22.22.0gyp ERR! node-gyp -v v8.4.1gyp ERR! not ok > usocket@0.3.0 install> node-gyp rebuild gyp info it worked if it ends with ok gyp info using node-gyp@7.1.2gyp info using node@22.22.0 | linux | x64 (node:180127) [DEP0060] DeprecationWarning: The `util._extend` API is deprecated. Please use Object.assign() instead.(Use `node --trace-deprecation ...` to show where the warning was created) gyp info find Python using Python version 3.13.5 found at "/usr/bin/python3" gyp ERR! UNCAUGHT EXCEPTION gyp ERR! System Linux 6.12.63+deb13-amd64gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/usocket/node_modules/.bin/node-gyp" "rebuild"gyp ERR! cwd /opt/iobroker/node_modules/usocketgyp ERR! node -v v22.22.0gyp ERR! node-gyp -v v7.1.2gyp ERR! Node-gyp failed to build your package.gyp ERR! Try to update npm and/or node-gyp and if it does not help file an issue with the package author. changed 1 package in 10s 432 packages are looking for funding run `npm fund` for details Updating objects from io-package.json for adapter "xsense" with version "0.3.4" Update "system.adapter.xsense.0" upload [12] xsense.admin /opt/iobroker/node_modules/iobroker.xsense/admin/i18n/de/translations.json i18n/de/translations.json application/json upload [0] xsense.admin /opt/iobroker/node_modules/iobroker.xsense/admin/xsense.png xsense.png image/png Process exited with code 0 -
Moin,
ich beobachte schon seit längerer Zeit, dass mein iobroker beim Update, egal welchen Adapters (hier xsense), die folgenden Meldungen auswirft. Der iobroker läuft trotzdem stabil, aber ich weiß nicht, wie ich den Fehlern entgegentreten kann. Ist das nur bei mir so oder ist das etwas grundsätzliches? Danke für jeden Hinweis.
Grüße...$ iobroker upgrade xsense@0.3.4 --debug Update xsense from @0.2.6 to @0.3.4 NPM version: 10.9.4 Installing iobroker.xsense@0.3.4... (System call) npm warn deprecated npmlog@4.1.2: This package is no longer supported.npm warn deprecated rimraf@3.0.2: Rimraf versions prior to v4 are no longer supported npm warn deprecated are-we-there-yet@1.1.7: This package is no longer supported. npm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported npm warn deprecated gauge@2.7.4: This package is no longer supported. > @stoprocent/noble@1.19.1 install> node-gyp-build gyp info it worked if it ends with ok gyp info using node-gyp@8.4.1gyp info using node@22.22.0 | linux | x64 (node:180095) [DEP0060] DeprecationWarning: The `util._extend` API is deprecated. Please use Object.assign() instead.(Use `node --trace-deprecation ...` to show where the warning was created) gyp info find Python using Python version 3.13.5 found at "/usr/bin/python3" gyp info spawn /usr/bin/python3gyp info spawn args [gyp info spawn args '/opt/iobroker/node_modules/node-gyp/gyp/gyp_main.py',gyp info spawn args 'binding.gyp',gyp info spawn args '-f',gyp info spawn args 'make',gyp info spawn args '-I',gyp info spawn args '/opt/iobroker/node_modules/@stoprocent/noble/build/config.gypi',gyp info spawn args '-I',gyp info spawn args '/opt/iobroker/node_modules/node-gyp/addon.gypi',gyp info spawn args '-I',gyp info spawn args '/home/iobroker/.cache/node-gyp/22.22.0/include/node/common.gypi',gyp info spawn args '-Dlibrary=shared_library',gyp info spawn args '-Dvisibility=default',gyp info spawn args '-Dnode_root_dir=/home/iobroker/.cache/node-gyp/22.22.0',gyp info spawn args '-Dnode_gyp_dir=/opt/iobroker/node_modules/node-gyp',gyp info spawn args '-Dnode_lib_file=/home/iobroker/.cache/node-gyp/22.22.0/<(target_arch)/node.lib',gyp info spawn args '-Dmodule_root_dir=/opt/iobroker/node_modules/@stoprocent/noble',gyp info spawn args '-Dnode_engine=v8',gyp info spawn args '--depth=.',gyp info spawn args '--no-parallel',gyp info spawn args '--generator-output',gyp info spawn args 'build',gyp info spawn args '-Goutput_dir=.'gyp info spawn args ] Traceback (most recent call last): File "/opt/iobroker/node_modules/node-gyp/gyp/gyp_main.py", line 42, in <module> import gyp # noqa: E402 ^^^^^^^^^^ File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 9, in <module> import gyp.input File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 19, in <module> from distutils.version import StrictVersionModuleNotFoundError: No module named 'distutils' gyp ERR! configure error gyp ERR! stack Error: `gyp` failed with exit code: 1gyp ERR! stack at ChildProcess.onCpExit (/opt/iobroker/node_modules/node-gyp/lib/configure.js:259:16)gyp ERR! stack at ChildProcess.emit (node:events:519:28)gyp ERR! stack at ChildProcess._handle.onexit (node:internal/child_process:293:12) gyp ERR! System Linux 6.12.63+deb13-amd64gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/node-gyp/bin/node-gyp.js" "rebuild"gyp ERR! cwd /opt/iobroker/node_modules/@stoprocent/noblegyp ERR! node -v v22.22.0 gyp ERR! node-gyp -v v8.4.1gyp ERR! not ok > raw-socket@1.8.1 install> node-gyp rebuild gyp info it worked if it ends with okgyp info using node-gyp@8.4.1gyp info using node@22.22.0 | linux | x64 (node:180111) [DEP0060] DeprecationWarning: The `util._extend` API is deprecated. Please use Object.assign() instead.(Use `node --trace-deprecation ...` to show where the warning was created) gyp info find Python using Python version 3.13.5 found at "/usr/bin/python3" gyp info spawn /usr/bin/python3gyp info spawn args [gyp info spawn args '/opt/iobroker/node_modules/node-gyp/gyp/gyp_main.py',gyp info spawn args 'binding.gyp',gyp info spawn args '-f',gyp info spawn args 'make', gyp info spawn args '-I',gyp info spawn args '/opt/iobroker/node_modules/raw-socket/build/config.gypi',gyp info spawn args '-I',gyp info spawn args '/opt/iobroker/node_modules/node-gyp/addon.gypi',gyp info spawn args '-I',gyp info spawn args '/home/iobroker/.cache/node-gyp/22.22.0/include/node/common.gypi',gyp info spawn args '-Dlibrary=shared_library',gyp info spawn args '-Dvisibility=default',gyp info spawn args '-Dnode_root_dir=/home/iobroker/.cache/node-gyp/22.22.0',gyp info spawn args '-Dnode_gyp_dir=/opt/iobroker/node_modules/node-gyp', gyp info spawn args '-Dnode_lib_file=/home/iobroker/.cache/node-gyp/22.22.0/<(target_arch)/node.lib',gyp info spawn args '-Dmodule_root_dir=/opt/iobroker/node_modules/raw-socket',gyp info spawn args '-Dnode_engine=v8',gyp info spawn args '--depth=.',gyp info spawn args '--no-parallel',gyp info spawn args '--generator-output',gyp info spawn args 'build',gyp info spawn args '-Goutput_dir=.'gyp info spawn args ] Traceback (most recent call last): File "/opt/iobroker/node_modules/node-gyp/gyp/gyp_main.py", line 42, in <module> import gyp # noqa: E402 ^^^^^^^^^^ File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 9, in <module> import gyp.input File "/opt/iobroker/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 19, in <module> from distutils.version import StrictVersionModuleNotFoundError: No module named 'distutils' gyp ERR! configure error gyp ERR! stack Error: `gyp` failed with exit code: 1gyp ERR! stack at ChildProcess.onCpExit (/opt/iobroker/node_modules/node-gyp/lib/configure.js:259:16)gyp ERR! stack at ChildProcess.emit (node:events:519:28)gyp ERR! stack at ChildProcess._handle.onexit (node:internal/child_process:293:12)gyp ERR! System Linux 6.12.63+deb13-amd64gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/.bin/node-gyp" "rebuild"gyp ERR! cwd /opt/iobroker/node_modules/raw-socketgyp ERR! node -v v22.22.0gyp ERR! node-gyp -v v8.4.1gyp ERR! not ok > usocket@0.3.0 install> node-gyp rebuild gyp info it worked if it ends with ok gyp info using node-gyp@7.1.2gyp info using node@22.22.0 | linux | x64 (node:180127) [DEP0060] DeprecationWarning: The `util._extend` API is deprecated. Please use Object.assign() instead.(Use `node --trace-deprecation ...` to show where the warning was created) gyp info find Python using Python version 3.13.5 found at "/usr/bin/python3" gyp ERR! UNCAUGHT EXCEPTION gyp ERR! System Linux 6.12.63+deb13-amd64gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/usocket/node_modules/.bin/node-gyp" "rebuild"gyp ERR! cwd /opt/iobroker/node_modules/usocketgyp ERR! node -v v22.22.0gyp ERR! node-gyp -v v7.1.2gyp ERR! Node-gyp failed to build your package.gyp ERR! Try to update npm and/or node-gyp and if it does not help file an issue with the package author. changed 1 package in 10s 432 packages are looking for funding run `npm fund` for details Updating objects from io-package.json for adapter "xsense" with version "0.3.4" Update "system.adapter.xsense.0" upload [12] xsense.admin /opt/iobroker/node_modules/iobroker.xsense/admin/i18n/de/translations.json i18n/de/translations.json application/json upload [0] xsense.admin /opt/iobroker/node_modules/iobroker.xsense/admin/xsense.png xsense.png image/png Process exited with code 0Dir fehlen die python3-setuptools.
Nachinstallieren:
sudo apt update sudo apt install python3-setuptools