NEWS
Nodejs und Vis Probleme
-
1 Zeit error Nachricht host.iobr22 2023-07-09 20:29:51.605 error instance system.adapter.systeminfo.0 terminated with code 6 (UNCAUGHT_EXCEPTION) systeminfo.0 2023-07-09 20:29:50.394 error Cannot read properties of undefined (reading 'getObjectList') systeminfo.0 2023-07-09 20:29:50.392 error TypeError: Cannot read properties of undefined (reading 'getObjectList') at MyAdapter.initAdapter (/opt/iobroker/node_modules/iobroker.systeminfo/myAdapter.js:44:55) at Adapter.<anonymous> (/opt/iobroker/node_modules/iobroker.systeminfo/myAdapter.js:118:37) at Adapter.emit (node:events:513:28) at /opt/iobroker/node_modules/@iobroker/js-controller-adapter/build/lib/adapter/adapter.js:8232:26 systeminfo.0 2023-07-09 20:29:50.389 error unhandled promise rejection: Cannot read properties of undefined (reading 'getObjectList') systeminfo.0 2023-07-09 20:29:50.388 error Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). host.iobr22 2023-07-09 20:29:17.242 error instance system.adapter.systeminfo.0 terminated with code 6 (UNCAUGHT_EXCEPTION) systeminfo.0 2023-07-09 20:29:16.048 error Cannot read properties of undefined (reading 'getObjectList') systeminfo.0 2023-07-09 20:29:16.046 error TypeError: Cannot read properties of undefined (reading 'getObjectList') at MyAdapter.initAdapter (/opt/iobroker/node_modules/iobroker.systeminfo/myAdapter.js:44:55) at Adapter.<anonymous> (/opt/iobroker/node_modules/iobroker.systeminfo/myAdapter.js:118:37) at Adapter.emit (node:events:513:28) at /opt/iobroker/node_modules/@iobroker/js-controller-adapter/build/lib/adapter/adapter.js:8232:26 systeminfo.0 2023-07-09 20:29:16.043 error unhandled promise rejection: Cannot read properties of undefined (reading 'getObjectList') systeminfo.0 2023-07-09 20:29:16.042 error Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().@wurschtbrot probier mal ein upload vom Adapter
-
. 2023-07-09 20:34:32.842 - error: systeminfo.0 (29931) unhandled promise rejection: Cannot read properties of undefined (reading 'getObjectList') 2023-07-09 20:34:32.845 - error: systeminfo.0 (29931) TypeError: Cannot read properties of undefined (reading 'getObjectList') at MyAdapter.initAdapter (/opt/iobroker/node_modules/iobroker.systeminfo/myAdapter.js:44:55) at Adapter.<anonymous> (/opt/iobroker/node_modules/iobroker.systeminfo/myAdapter.js:118:37) at Adapter.emit (node:events:513:28) at /opt/iobroker/node_modules/@iobroker/js-controller-adapter/build/lib/adapter/adapter.js:8232:26 2023-07-09 20:34:32.847 - error: systeminfo.0 (29931) Cannot read properties of undefined (reading 'getObjectList') 2023-07-09 20:34:33.366 - info: host.iobr22 stopInstance system.adapter.systeminfo.0 (force=false, process=true) 2023-07-09 20:34:33.372 - info: systeminfo.0 (29931) terminating 2023-07-09 20:34:33.374 - warn: systeminfo.0 (29931) Terminated (UNCAUGHT_EXCEPTION): Without reason 2023-07-09 20:34:33.414 - info: systeminfo.0 (29931) Got terminate signal TERMINATE_YOURSELF 2023-07-09 20:34:33.591 - info: host.iobr22 stopInstance system.adapter.systeminfo.0 send kill signal 2023-07-09 20:34:33.995 - info: host.iobr22 instance system.adapter.systeminfo.0 terminated with code 6 (UNCAUGHT_EXCEPTION) 2023-07-09 20:34:32.795 - info: systeminfo.0 (29931) starting. Version 0.3.1 in /opt/iobroker/node_modules/iobroker.systeminfo, node: v18.16.1, js-controller: 4.0.24 2023-07-09 20:34:32.840 - error: systeminfo.0 (29931) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). 2023-07-09 20:34:32.842 - error: systeminfo.0 (29931) unhandled promise rejection: Cannot read properties of undefined (reading 'getObjectList') 2023-07-09 20:34:32.845 - error: systeminfo.0 (29931) TypeError: Cannot read properties of undefined (reading 'getObjectList') at MyAdapter.initAdapter (/opt/iobroker/node_modules/iobroker.systeminfo/myAdapter.js:44:55) at Adapter.<anonymous> (/opt/iobroker/node_modules/iobroker.systeminfo/myAdapter.js:118:37) at Adapter.emit (node:events:513:28) at /opt/iobroker/node_modules/@iobroker/js-controller-adapter/build/lib/adapter/adapter.js:8232:26 2023-07-09 20:34:32.847 - error: systeminfo.0 (29931) Cannot read properties of undefined (reading 'getObjectList') 2023-07-09 20:34:33.366 - info: host.iobr22 stopInstance system.adapter.systeminfo.0 (force=false, process=true) 2023-07-09 20:34:33.372 - info: systeminfo.0 (29931) terminating 2023-07-09 20:34:33.374 - warn: systeminfo.0 (29931) Terminated (UNCAUGHT_EXCEPTION): Without reason 2023-07-09 20:34:33.414 - info: systeminfo.0 (29931) Got terminate signal TERMINATE_YOURSELF 2023-07-09 20:34:33.591 - info: host.iobr22 stopInstance system.adapter.systeminfo.0 send kill signal 2023-07-09 20:34:33.995 - info: host.iobr22 instance system.adapter.systeminfo.0 terminated with code 6 (UNCAUGHT_EXCEPTION) 2023-07-09 20:34:36.631 - info: host.iobr22 instance system.adapter.systeminfo.0 started with pid 30008 2023-07-09 20:34:36.631 - info: host.iobr22 instance system.adapter.systeminfo.0 started with pid 30008 2023-07-09 20:34:39.474 - info: systeminfo.0 (30008) starting. Version 0.3.1 in /opt/iobroker/node_modules/iobroker.systeminfo, node: v18.16.1, js-controller: 4.0.24 2023-07-09 20:34:39.515 - error: systeminfo.0 (30008) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). 2023-07-09 20:34:39.516 - error: systeminfo.0 (30008) unhandled promise rejection: Cannot read properties of undefined (reading 'getObjectList') 2023-07-09 20:34:39.519 - error: systeminfo.0 (30008) TypeError: Cannot read properties of undefined (reading 'getObjectList') at MyAdapter.initAdapter (/opt/iobroker/node_modules/iobroker.systeminfo/myAdapter.js:44:55) at Adapter.<anonymous> (/opt/iobroker/node_modules/iobroker.systeminfo/myAdapter.js:118:37) at Adapter.emit (node:events:513:28) at /opt/iobroker/node_modules/@iobroker/js-controller-adapter/build/lib/adapter/adapter.js:8232:26 2023-07-09 20:34:39.520 - error: systeminfo.0 (30008) Cannot read properties of undefined (reading 'getObjectList') 2023-07-09 20:34:40.052 - info: systeminfo.0 (30008) terminating 2023-07-09 20:34:40.053 - warn: systeminfo.0 (30008) Terminated (UNCAUGHT_EXCEPTION): Without reason 2023-07-09 20:34:39.474 - info: systeminfo.0 (30008) starting. Version 0.3.1 in /opt/iobroker/node_modules/iobroker.systeminfo, node: v18.16.1, js-controller: 4.0.24 2023-07-09 20:34:39.515 - error: systeminfo.0 (30008) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). 2023-07-09 20:34:39.516 - error: systeminfo.0 (30008) unhandled promise rejection: Cannot read properties of undefined (reading 'getObjectList') 2023-07-09 20:34:39.519 - error: systeminfo.0 (30008) TypeError: Cannot read properties of undefined (reading 'getObjectList') at MyAdapter.initAdapter (/opt/iobroker/node_modules/iobroker.systeminfo/myAdapter.js:44:55) at Adapter.<anonymous> (/opt/iobroker/node_modules/iobroker.systeminfo/myAdapter.js:118:37) at Adapter.emit (node:events:513:28) at /opt/iobroker/node_modules/@iobroker/js-controller-adapter/build/lib/adapter/adapter.js:8232:26 2023-07-09 20:34:39.520 - error: systeminfo.0 (30008) Cannot read properties of undefined (reading 'getObjectList') 2023-07-09 20:34:40.052 - info: systeminfo.0 (30008) terminating 2023-07-09 20:34:40.053 - warn: systeminfo.0 (30008) Terminated (UNCAUGHT_EXCEPTION): Without reason 2023-07-09 20:34:40.705 - error: host.iobr22 instance system.adapter.systeminfo.0 terminated with code 6 (UNCAUGHT_EXCEPTION) 2023-07-09 20:34:40.707 - info: host.iobr22 Restart adapter system.adapter.systeminfo.0 because enabled 2023-07-09 20:34:40.708 - warn: host.iobr22 Do not restart adapter system.adapter.systeminfo.0 because restart loop detected 2023-07-09 20:34:40.705 - error: host.iobr22 instance system.adapter.systeminfo.0 terminated with code 6 (UNCAUGHT_EXCEPTION) 2023-07-09 20:34:40.707 - info: host.iobr22 Restart adapter system.adapter.systeminfo.0 because enabled 2023-07-09 20:34:40.708 - warn: host.iobr22 Do not restart adapter system.adapter.systeminfo.0 because restart loop detectedich hoffe das reicht so
-
1 Zeit error Nachricht host.iobr22 2023-07-09 20:29:51.605 error instance system.adapter.systeminfo.0 terminated with code 6 (UNCAUGHT_EXCEPTION) systeminfo.0 2023-07-09 20:29:50.394 error Cannot read properties of undefined (reading 'getObjectList') systeminfo.0 2023-07-09 20:29:50.392 error TypeError: Cannot read properties of undefined (reading 'getObjectList') at MyAdapter.initAdapter (/opt/iobroker/node_modules/iobroker.systeminfo/myAdapter.js:44:55) at Adapter.<anonymous> (/opt/iobroker/node_modules/iobroker.systeminfo/myAdapter.js:118:37) at Adapter.emit (node:events:513:28) at /opt/iobroker/node_modules/@iobroker/js-controller-adapter/build/lib/adapter/adapter.js:8232:26 systeminfo.0 2023-07-09 20:29:50.389 error unhandled promise rejection: Cannot read properties of undefined (reading 'getObjectList') systeminfo.0 2023-07-09 20:29:50.388 error Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). host.iobr22 2023-07-09 20:29:17.242 error instance system.adapter.systeminfo.0 terminated with code 6 (UNCAUGHT_EXCEPTION) systeminfo.0 2023-07-09 20:29:16.048 error Cannot read properties of undefined (reading 'getObjectList') systeminfo.0 2023-07-09 20:29:16.046 error TypeError: Cannot read properties of undefined (reading 'getObjectList') at MyAdapter.initAdapter (/opt/iobroker/node_modules/iobroker.systeminfo/myAdapter.js:44:55) at Adapter.<anonymous> (/opt/iobroker/node_modules/iobroker.systeminfo/myAdapter.js:118:37) at Adapter.emit (node:events:513:28) at /opt/iobroker/node_modules/@iobroker/js-controller-adapter/build/lib/adapter/adapter.js:8232:26 systeminfo.0 2023-07-09 20:29:16.043 error unhandled promise rejection: Cannot read properties of undefined (reading 'getObjectList') systeminfo.0 2023-07-09 20:29:16.042 error Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). -
@crunchip bin da nicht so fit was genau muss ich da machen
-
@crunchip bin da nicht so fit was genau muss ich da machen
Dürfte das sein:
https://github.com/iobroker-community-adapters/ioBroker.systeminfo/issues/35
Wundert mich nur, dass da so lange nichts passiert ist. Der Adapter scheint aber auch verwaist zu sein. -
@crunchip bin da nicht so fit was genau muss ich da machen
Ich zitiere mal:
du musst /opt/iobroker/node_modules/iobroker.systeminfo/myAdapter.js öffnen und dort in Zeile 44 das "object." vor dem getObjectList entfernen.
-
Ich zitiere mal:
du musst /opt/iobroker/node_modules/iobroker.systeminfo/myAdapter.js öffnen und dort in Zeile 44 das "object." vor dem getObjectList entfernen.
: No such file or directoryiobroker.systeminfo/myAdapter.js: line 1: /** /opt/iobroker/node_modules/iobroker.systeminfo/myAdapter.js: line 2: node_modules: command not found /opt/iobroker/node_modules/iobroker.systeminfo/myAdapter.js: line 3: syntax error near unexpected token `c' /opt/iobroker/node_modules/iobroker.systeminfo/myAdapter.js: line 3: ` * (c' 2016- <frankjoke@hotmail.com>das kommt dann
-
: No such file or directoryiobroker.systeminfo/myAdapter.js: line 1: /** /opt/iobroker/node_modules/iobroker.systeminfo/myAdapter.js: line 2: node_modules: command not found /opt/iobroker/node_modules/iobroker.systeminfo/myAdapter.js: line 3: syntax error near unexpected token `c' /opt/iobroker/node_modules/iobroker.systeminfo/myAdapter.js: line 3: ` * (c' 2016- <frankjoke@hotmail.com>das kommt dann
@wurschtbrot sagte in Nodejs und Vis Probleme:
das kommt dann
Wann kommt das? Bitte immer vollständige Eingabezeilen posten.
-
Ich zitiere mal:
du musst /opt/iobroker/node_modules/iobroker.systeminfo/myAdapter.js öffnen und dort in Zeile 44 das "object." vor dem getObjectList entfernen.
@thomas-braun finde ich bei mir gar nicht
-
@thomas-braun finde ich bei mir gar nicht
pi@iobr22:~ $ /opt/iobroker/node_modules/iobroker.systeminfo/myAdapter.js : No such file or directoryiobroker.systeminfo/myAdapter.js: line 1: /** /opt/iobroker/node_modules/iobroker.systeminfo/myAdapter.js: line 2: node_modules: command not found /opt/iobroker/node_modules/iobroker.systeminfo/myAdapter.js: line 3: syntax error near unexpected token `c' /opt/iobroker/node_modules/iobroker.systeminfo/myAdapter.js: line 3: ` * (c' 2016- <frankjoke@hotmail.com> pi@iobr22:~ $ -
pi@iobr22:~ $ /opt/iobroker/node_modules/iobroker.systeminfo/myAdapter.js : No such file or directoryiobroker.systeminfo/myAdapter.js: line 1: /** /opt/iobroker/node_modules/iobroker.systeminfo/myAdapter.js: line 2: node_modules: command not found /opt/iobroker/node_modules/iobroker.systeminfo/myAdapter.js: line 3: syntax error near unexpected token `c' /opt/iobroker/node_modules/iobroker.systeminfo/myAdapter.js: line 3: ` * (c' 2016- <frankjoke@hotmail.com> pi@iobr22:~ $Du musst auch einen Editor angeben, mit dem du werkeln willst.
nano ist z. B. einer.Oder du installierst den Adapter aus dem github, da dürfte das bereinigt sein.
-
@thomas-braun finde ich bei mir gar nicht
Im Master scheint es auch behoben zu sein:
https://github.com/iobroker-community-adapters/ioBroker.systeminfo/blob/master/myAdapter.js
-
Im Master scheint es auch behoben zu sein:
https://github.com/iobroker-community-adapters/ioBroker.systeminfo/blob/master/myAdapter.js
@thomas-braun bei mir gibt es aber auch kein
/opt/iobroker/node_modules/iobroker.systeminfo -
@thomas-braun bei mir gibt es aber auch kein
/opt/iobroker/node_modules/iobroker.systeminfoZu warm? Hast du den Adapter installiert?
-
Zu warm? Hast du den Adapter installiert?
@thomas-braun ja der Adapter läuft bei mir, hab ihn nur in der Regel aus und schalt gelegentlich die Instanz mal ein
gibt vllt mit dem neuen Js-controller/admin nicht mehr -
@thomas-braun ja der Adapter läuft bei mir, hab ihn nur in der Regel aus und schalt gelegentlich die Instanz mal ein
gibt vllt mit dem neuen Js-controller/admin nicht mehr@crunchip
Hier gibt es das:echad@chet:/opt/iobroker $ ls -lAh /opt/iobroker/node_modules/iobroker.systeminfo/myAdapter.js -rw-rw-r--+ 1 iobroker iobroker 25K Jul 9 21:08 /opt/iobroker/node_modules/iobroker.systeminfo/myAdapter.js -
@crunchip
Hier gibt es das:echad@chet:/opt/iobroker $ ls -lAh /opt/iobroker/node_modules/iobroker.systeminfo/myAdapter.js -rw-rw-r--+ 1 iobroker iobroker 25K Jul 9 21:08 /opt/iobroker/node_modules/iobroker.systeminfo/myAdapter.js@thomas-braun sagte in Nodejs und Vis Probleme:
ls -lAh /opt/iobroker/node_modules/iobroker.systeminfo/myAdapter.js
Zugriff auf '/opt/iobroker/node_modules/iobroker.systeminfo/myAdapter.js' nicht möglich: Datei oder Verzeichnis nicht gefunden
-
:räusper:
wir befinden uns in den Einsteigerfragen!
-
@thomas-braun sagte in Nodejs und Vis Probleme:
ls -lAh /opt/iobroker/node_modules/iobroker.systeminfo/myAdapter.js
Zugriff auf '/opt/iobroker/node_modules/iobroker.systeminfo/myAdapter.js' nicht möglich: Datei oder Verzeichnis nicht gefunden
In der Version aus dem Beta-Repo:
this.D(`Adapter ${this.ains} starting.`); this.getObjectList = this.c2p(adapter.objects.getObjectList).bind(adapter.objects); this.getForeignState = this.c2p(adapter.getForeignState).bind(adapter);Da ist der Fehler noch drin.
Github kommt so daher:
static initAdapter() { states = {}; this.D(`Adapter ${this.ains} starting.`); this.getObjectList = this.c2p(adapter.getObjectList); this.getForeignState = this.c2p(adapter.getForeignState); this.setForeignState = this.c2p(adapter.setForeignState); this.getState = this.c2p(adapter.getState); -
@homoran hihi, gar nicht darauf geachtet
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