-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adapter stops the whole time #1
Comments
Habe jetzt den gleichen Fehler nach Update auf aktuellen Scripting-Host (5.0.8). Adapter started nicht mehr. Meine Javascript-Kentnisse sind leider nicht gut genug um zu verstehen, was an dieser Stelle passiert, bzw. falsch läuft (myAdapter.js, Zeile 709). |
Hab jetzt etwas google recherchiert. Habe einen anderen Adapter gefunden, der das gleiche Problem mit der gleichen Codezeile hatte (km200 Adapter, Commit ). Wenn man in myAdapter.js die Zeile 267 ersetzt durch die neue Zeile aus dem km200 Adapter startet der Adapter wieder und ich bekomme auch wieder Sensorwerte vom XS1 rein.
Diff
Da ich aber nicht wirklich verstehe was in der Zeile passiert kann ich nicht sagen ob daß das Problem wirklich löst oder dadurch andere Probleme entstehen. Daher mach ich mal lieber keinen PR draus. |
Hallo SamLowrie, Ich kann den Fix (Workaround) bestätigen. Siehe auch |
* (mcm1957) A crash due to incorrect bindings has been fixed. [#1] * (mcm1957) Standard testennvironment has been added * (mcm1957) Dependencies have been updated
fixed with 1.1.1-alpha.0 |
* (mcm1957) A crash due to incorrect bindings has been fixed. [#1] * (mcm1957) Standard testennvironment has been added * (mcm1957) Dependencies have been updated
* (mcm1957) A crash due to incorrect bindings has been fixed. [#1] * (mcm1957) Standard testennvironment has been added * (mcm1957) Dependencies have been updated
adapter try to start, but the interupted and stoped with error
Terminated (ADAPTER_REQUESTED_TERMINATION): xs1 Initialization Error:TypeError: Cannot read properties of undefined (reading '_subscribeForeignStates') at subscribeStates (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/build/lib/adapter/adapter.js:7387:21) at /opt/iobroker/node_modules/iobroker.xs1/myAdapter.js:709:111 at new Promise (<anonymous>) at /opt/iobroker/node_modules/iobroker.xs1/myAdapter.js:709:20 at /opt/iobroker/node_modules/iobroker.xs1/myAdapter.js:267:81
The text was updated successfully, but these errors were encountered: