Error message de-installing the adapter
DerEmder opened this issue · comments
DerEmder commented
Hallo,
während der De-Installation des Adapters bekam ich folgende Fehlermeldung im Log:
2021-10-18 16:47:03.120 - info: host.Casper iobroker del alias-manager
2021-10-18 16:47:05.263 - info: host.Casper iobroker Delete adapter "alias-manager"
2021-10-18 16:47:05.306 - info: host.Casper iobroker host.Casper Counted 1 instances of alias-manager
2021-10-18 16:47:05.369 - info: host.Casper iobroker host.Casper Counted 1 meta of alias-manager
2021-10-18 16:47:05.375 - info: host.Casper iobroker host.Casper Counted 1 adapter for alias-manager
2021-10-18 16:47:07.526 - info: host.Casper iobroker host.Casper file alias-manager.admin deleted
2021-10-18 16:47:07.533 - info: host.Casper iobroker host.Casper object alias-manager deleted
2021-10-18 16:47:07.543 - info: host.Casper iobroker host.Casper object alias-manager.admin deletedhost.Casper Deleting 3 object(s).
2021-10-18 16:47:07.722 - info: host.Casper iobroker npm uninstall iobroker.alias-manager --loglevel error --prefix "/opt/iobroker" (System call)
2021-10-18 16:49:58.317 - info: host.Casper iobroker ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Open(Nan::NAN_METHOD_ARGS_TYPE)’:
2021-10-18 16:49:58.324 - info: host.Casper iobroker ../src/serialport.cpp:78:69: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type] uv_queue_work(uv_default_loop(), req, EIO_Open, (uv_after_work_cb)EIO_AfterOpen); ^~~~~~~~~~~~~
2021-10-18 16:49:58.328 - info: host.Casper iobroker ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Update(Nan::NAN_METHOD_ARGS_TYPE)’:../src/serialport.cpp:135:71: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type] uv_queue_work(uv_default_loop(), req, EIO_Update, (uv_after_work_cb)EIO_AfterUpdate); ^~~~~~~~~~~~~~~
2021-10-18 16:49:58.337 - info: host.Casper iobroker ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Close(Nan::NAN_METHOD_ARGS_TYPE)’:
2021-10-18 16:49:58.339 - info: host.Casper iobroker ../src/serialport.cpp:175:70: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type] uv_queue_work(uv_default_loop(), req, EIO_Close, (uv_after_work_cb)EIO_AfterClose); ^~~~~~~~~~~~~~
2021-10-18 16:49:58.344 - info: host.Casper iobroker ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Flush(Nan::NAN_METHOD_ARGS_TYPE)’:
2021-10-18 16:49:58.346 - info: host.Casper iobroker ../src/serialport.cpp:215:70: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type] uv_queue_work(uv_default_loop(), req, EIO_Flush, (uv_after_work_cb)EIO_AfterFlush); ^~~~~~~~~~~~~~
2021-10-18 16:49:58.353 - info: host.Casper iobroker ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Set(Nan::NAN_METHOD_ARGS_TYPE)’:
2021-10-18 16:49:58.355 - info: host.Casper iobroker ../src/serialport.cpp:271:68: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type] uv_queue_work(uv_default_loop(), req, EIO_Set, (uv_after_work_cb)EIO_AfterSet); ^~~~~~~~~~~~
2021-10-18 16:49:58.360 - info: host.Casper iobroker ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Get(Nan::NAN_METHOD_ARGS_TYPE)’:../src/serialport.cpp:316:68: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type] uv_queue_work(uv_default_loop(), req, EIO_Get, (uv_after_work_cb)EIO_AfterGet); ^~~~~~~~~~~~
2021-10-18 16:49:58.371 - info: host.Casper iobroker ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE GetBaudRate(Nan::NAN_METHOD_ARGS_TYPE)’:
2021-10-18 16:49:58.372 - info: host.Casper iobroker ../src/serialport.cpp:366:76: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type] uv_queue_work(uv_default_loop(), req, EIO_GetBaudRate, (uv_after_work_cb)EIO_AfterGetBaudRate); ^~~~~~~~~~~~~~~~~~~~
2021-10-18 16:49:58.380 - info: host.Casper iobroker ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Drain(Nan::NAN_METHOD_ARGS_TYPE)’:
2021-10-18 16:49:58.381 - info: host.Casper iobroker ../src/serialport.cpp:412:70: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type] uv_queue_work(uv_default_loop(), req, EIO_Drain, (uv_after_work_cb)EIO_AfterDrain); ^~~~~~~~~~~~~~
2021-10-18 16:49:58.384 - info: host.Casper iobroker ../src/serialport.cpp: At global scope:../src/serialport.cpp:433:28: warning: unnecessary parentheses in declaration of ‘ToParityEnum’ [-Wparentheses] SerialPortParity NAN_INLINE(ToParityEnum(const v8::Local& v8str)) { ^
2021-10-18 16:49:58.390 - info: host.Casper iobroker ../src/serialport.cpp:452:30: warning: unnecessary parentheses in declaration of ‘ToStopBitEnum’ [-Wparentheses]
2021-10-18 16:49:58.391 - info: host.Casper iobroker SerialPortStopBits NAN_INLINE(ToStopBitEnum(double stopBits)) { ^
2021-10-18 16:49:58.397 - info: host.Casper iobroker In file included from ../../../nan/nan.h:58, from ../src/./serialport.h:13, from ../src/serialport.cpp:1:/home/iobroker/.cache/node-gyp/12.22.7/include/node/node.h:736:43: warning: cast between incompatible function types from ‘void (*)(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)’ {aka ‘void (*)(v8::Local)’} to ‘node::addon_register_func’ {aka ‘void (*)(v8::Local, v8::Local, void*)’} [-Wcast-function-type] (node::addon_register_func) (regfunc), \ ^
2021-10-18 16:49:58.400 - info: host.Casper iobroker /home/iobroker/.cache/node-gyp/12.22.7/include/node/node.h:770:3: note: in expansion of macro ‘NODE_MODULE_X’ NODE_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage) ^~~~~~~~~~~~~../src/serialport.cpp:486:1: note: in expansion of macro ‘NODE_MODULE’ NODE_MODULE(serialport, init); ^~~~~~~~~~~
2021-10-18 16:50:00.113 - info: host.Casper instance system.adapter.dwd.0 started with pid 10488
2021-10-18 16:50:01.831 - info: dwd.0 (10488) Plugin sentry Sentry Plugin disabled for this process because sending of statistic data is disabled for the system
2021-10-18 16:50:01.845 - info: dwd.0 (10488) starting. Version 2.7.7 in /opt/iobroker/node_modules/iobroker.dwd, node: v12.22.7, js-controller: 3.3.18
2021-10-18 16:50:04.199 - info: host.Casper iobroker ../src/serialport_unix.cpp: In function ‘int setup(int, OpenBaton*)’:../src/serialport_unix.cpp:176:60: warning: ‘%s’ directive output may be truncated writing up to 1023 bytes into a region of size 1005 [-Wformat-truncation=] snprintf(data->errorString, sizeof(data->errorString), "Error %s Cannot open %s", strerror(errno), data->path); ^~~~~~~~~~~~~~~~~~~~~~~~~../src/serialport_unix.cpp:176:13: note: ‘snprintf’ output 20 or more bytes (assuming 1043) into a destination of size 1024 snprintf(data->errorString, sizeof(data->errorString), "Error %s Cannot open %s", strerror(errno), data->path); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2021-10-18 16:50:04.239 - info: host.Casper iobroker ../src/serialport_unix.cpp: In function ‘void EIO_Open(uv_work_t*)’:../src/serialport_unix.cpp:86:60: warning: ‘%s’ directive output may be truncated writing up to 1023 bytes into a region of size 1003 [-Wformat-truncation=] snprintf(data->errorString, sizeof(data->errorString), "Error: %s, cannot open %s", strerror(errno), data->path); ^~~~~~~~~~~~~~~~~~~~~~~~~~~../src/serialport_unix.cpp:86:13: note: ‘snprintf’ output 22 or more bytes (assuming 1045) into a destination of size 1024 snprintf(data->errorString, sizeof(data->errorString), "Error: %s, cannot open %s", strerror(errno), data->path); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2021-10-18 16:50:07.249 - info: dwd.0 (10488) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
2021-10-18 16:50:07.778 - info: host.Casper instance system.adapter.dwd.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION)
2021-10-18 16:50:12.613 - info: vis.0 (10599) starting. Version 1.4.5 in /opt/iobroker/node_modules/iobroker.vis, node: v12.22.7, js-controller: 3.3.18
2021-10-18 16:50:12.790 - info: vis.0 (10599) vis license is OK.
2021-10-18 16:50:13.955 - info: vis.0 (10599) Changes in index.html detected => update cache.manifest
2021-10-18 16:50:13.982 - info: vis.0 (10599) Upload vis anew, while changes detected...
2021-10-18 16:50:15.810 - info: host.Casper "system.adapter.vis.0" disabled
2021-10-18 16:50:15.853 - info: host.Casper "system.adapter.vis.0" enabled
2021-10-18 16:50:18.518 - info: vis.0 (10621) starting. Version 1.4.5 in /opt/iobroker/node_modules/iobroker.vis, node: v12.22.7, js-controller: 3.3.18
2021-10-18 16:50:18.749 - info: vis.0 (10621) vis license is OK.
2021-10-18 16:50:21.432 - info: vis.0 (10621) Terminated (NO_ERROR): Without reason
2021-10-18 16:50:22.125 - info: host.Casper instance system.adapter.vis.0 terminated while should be started once
2021-10-18 16:50:41.273 - info: zwave2.0 (15435) Node 12 is now awake
2021-10-18 16:50:41.902 - info: zwave2.0 (15435) Node 12 is now asleep
2021-10-18 16:50:55.576 - info: mqtt.0 (698) Client [Berta] connected with secret 1634568655575_8073
2021-10-18 16:50:55.578 - info: mqtt.0 (698) Client [Berta] connection closed: disconnected
2021-10-18 16:51:39.839 - info: vis.0 (10599) Uploaded. 0
2021-10-18 16:51:40.354 - info: vis.0 (10599) Terminated (NO_ERROR): Without reason
2021-10-18 16:52:09.113 - info: host.Casper iobroker exit 0
2021-10-18 16:52:20.485 - info: zwave2.0 (15435) Node 11 is now awake
2021-10-18 16:52:21.501 - info: zwave2.0 (15435) Node 11 is now asleep
Muss ich mir Sorgen machen?
Sebastian Bormann commented
Hi,
ich denke nicht, serialport.cpp hat jedenfalls nichts direkt mit alias-manager zu tun. Ich versteh da selbst nicht viel davon, aber ich hatte mal etwas ähnliches, bei jedem adapter-update hat npm Fehler ausgegeben. Aber Exit-Code ist 0 - von daher scheint alles trotzdem zu funktionieren. Mir wurde geraten, das einfach zu ignorieren, hab ich auch gemacht, selbst wenn es mir schwer gefallen ist :)