NEWS
Test js-controller v2.0.x (GitHub)
-
npm install ioBroker/ioBroker.js-controller
pi@raspberrypi-slave:~ $ iobroker stop pi@raspberrypi-slave:~ $ cd /opt/iobroker pi@raspberrypi-slave:/opt/iobroker $ npm install ioBroker/ioBroker.js-controllernpm ERR! code EPERM npm ERR! syscall spawn npm ERR! errno EPERM npm ERR! Error: spawn EPERM npm ERR! at ChildProcess.spawn (internal/child_process.js:366:11) npm ERR! at spawn (child_process.js:551:9) npm ERR! at execFile (child_process.js:221:15) npm ERR! at tryCatcher (/usr/lib/node_modules/npm/node_modules/bluebird/js/release/util.js:16:23) npm ERR! at ret (eval at makeNodePromisifiedEval (/usr/lib/node_modules/npm/node_modules/bluebird/js/release/promisify.js:184:12), <anonymous>:16:23) npm ERR! at promiseRetry (/usr/lib/node_modules/npm/node_modules/pacote/lib/util/git.js:192:14) npm ERR! at /usr/lib/node_modules/npm/node_modules/promise-retry/index.js:29:24 npm ERR! { Error: spawn EPERM npm ERR! at ChildProcess.spawn (internal/child_process.js:366:11) npm ERR! at spawn (child_process.js:551:9) npm ERR! at execFile (child_process.js:221:15) npm ERR! at tryCatcher (/usr/lib/node_modules/npm/node_modules/bluebird/js/release/util.js:16:23) npm ERR! at ret (eval at makeNodePromisifiedEval (/usr/lib/node_modules/npm/node_modules/bluebird/js/release/promisify.js:184:12), <anonymous>:16:23) npm ERR! at promiseRetry (/usr/lib/node_modules/npm/node_modules/pacote/lib/util/git.js:192:14) npm ERR! at /usr/lib/node_modules/npm/node_modules/promise-retry/index.js:29:24 npm ERR! cause: npm ERR! { Error: spawn EPERM npm ERR! at ChildProcess.spawn (internal/child_process.js:366:11) npm ERR! at spawn (child_process.js:551:9) npm ERR! at execFile (child_process.js:221:15) npm ERR! at tryCatcher (/usr/lib/node_modules/npm/node_modules/bluebird/js/release/util.js:16:23) npm ERR! at ret (eval at makeNodePromisifiedEval (/usr/lib/node_modules/npm/node_modules/bluebird/js/release/promisify.js:184:12), <anonymous>:16:23) npm ERR! at promiseRetry (/usr/lib/node_modules/npm/node_modules/pacote/lib/util/git.js:192:14) npm ERR! at /usr/lib/node_modules/npm/node_modules/promise-retry/index.js:29:24 errno: 'EPERM', code: 'EPERM', syscall: 'spawn' }, npm ERR! stack: npm ERR! 'Error: spawn EPERM\n at ChildProcess.spawn (internal/child_process.js:366:11)\n at spawn (child_process.js:551:9)\n at execFile (child_process.js:221:15)\n at tryCatcher (/usr/lib/node_modules/npm/node_modules/bluebird/js/release/util.js:16:23)\n at ret (eval at makeNodePromisifiedEval (/usr/lib/node_modules/npm/node_modules/bluebird/js/release/promisify.js:184:12), <anonymous>:16:23)\n at promiseRetry (/usr/lib/node_modules/npm/node_modules/pacote/lib/util/git.js:192:14)\n at /usr/lib/node_modules/npm/node_modules/promise-retry/index.js:29:24', npm ERR! errno: 'EPERM', npm ERR! code: 'EPERM', npm ERR! syscall: 'spawn', npm ERR! parent: 'iobroker' } npm ERR! npm ERR! The operation was rejected by your operating system. npm ERR! It is likely you do not have the permissions to access this file as the current user npm ERR! npm ERR! If you believe this might be a permissions issue, please double-check the npm ERR! permissions of the file and its containing directories, or try running npm ERR! the command again as root/Administrator. npm ERR! A complete log of this run can be found in: npm ERR! /home/pi/.npm/_logs/2019-09-25T17_19_35_938Z-debug.log
sudo -H -u iobroker npm install ioBroker/ioBroker.js-controller
pi@raspberrypi-slave:/opt/iobroker $ sudo -H -u iobroker npm install ioBroBroker.js-controller > iobroker.js-controller@2.0.9 preinstall /opt/iobroker/node_modules/iobro-controller > node lib/preinstallCheck.js NPM version: 6.11.3 > iobroker.js-controller@2.0.9 install /opt/iobroker/node_modules/iobrokerntroller > node iobroker.js setup first npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.0.7 (node_modulvents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fse2.0.7: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":) npm WARN optional SKIPPING OPTIONAL DEPENDENCY: osx-temperature-sensor@1.0de_modules/osx-temperature-sensor): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osxrature-sensor@1.0.4: wanted {"os":"darwin","arch":"any"} (current: {"os":","arch":"arm"}) + iobroker.js-controller@2.0.9 updated 3 packages and audited 1656 packages in 87.662s found 14 vulnerabilities (9 low, 5 high) run `npm audit fix` to fix them, or `npm audit` for details
-
Nach einem Neustart des Masters, blieben einige Adapter gelb/rot.
Erst nachdem ich einen manuellen Neustart der Adapter durchgeführt , wurden diese grün.Anbei das log. iobroker.2019-09-25.log
Neustart Master ~19.00 Uhr
Neustart der gelb/roten Adapter: ~19.37Uhr -
@e-i-k-e ich denke, warum auch immer, das das nur ein Anzeigeproblem im Admin ist.
Zum verifizieren:
Nach dem Start wenn eine solche Instanz gelb ist:- „iobroker state get Adapter.0.info.connection“ aufrufen. Ist val auf true??
- wenn ja bitte in Admin gehen und unter Objekte auch bis zu dem info.connection durchklicken. Steht da true?
- jetzt auf Instanzen zurück ... wird jetzt grün angezeigt?
-
@e-i-k-e Update all ??or upload all?? Letzteres wäre das korrekte
Zur Anzahl Instanzen; ich checke. Vllt hat es such was mit dem info connection zu tun
-
@apollon77 natürlich Upload all
-
@e-i-k-e mach bitte nochmal und poste log. Alle hosts müssen laufen für das "uplaod all"!
-
@watcherkb sagte in [Aufruf] js-controller 2.0 Beta Test:
Kernel aktuell? Alle Updates installiert?
VBei libuv Fehler ist man recht "weit unten" ... Sollte mit controller eher nichts zu tun haben
-
So Hey All,
später heute (informiere dann nochmal getrennt) kommt noch eine 2.0.10 mit kleineren Dingen und Optimierungen. Aber auch hier nichts größeres mehr dabei.
Der Stand zu den aus meiner Sicht hier "offenen "Themen:
- iqontrol tut generell, gibt noch paar Kleinigkeiten, aber da ist der Dev dran. Aktuell nichts was der controller direkt verursachen sollte
- radar2 wirft aktuell einen Fehler, aber auch das liegt aktuell daran wie der Adapter mit einer js-controller Bibliothek umgeht. Auch hier gibts ein Issue beim Adapter. Ich hoffe Frank hat bald Zeit reinzschauen
- Ich habe viel rumgetestet aber konnte weder das "19 vis Instanzen"-Anzeigeproblem noch die "Instanzen werden gelb/rot im Admin angezeigt obwohl grün". Habe jetzt in meinem Testumfeld aber auch kein Multihost.
Vor allem zu letztem Punkt:
Bitte nochmal Admin per "Shift-Reload" bzw Forced Reload bzw Browser-Cache löschen neu laden. Ich kann mir gerade nur vorstellen das das ein "Timing Issue" irgendwie ist. Hier auch mal die Browser-Konsole checken. Da müssten Meldungen wie "Subscribe system.adapter." und "Subscribe.info.connection" kommen. Wenn nicht stimmt ggf was nicht. Ich denke das ggf der Admin der zwar zuerst startet dann einen Datenstand hat dr angezeigt wird wenn die seite geladen istm, aber ggf gibts zwischen "Mit den Daten die Seite anzeigen" und "ab jetzt aktualisierungen empfangen" einen kleinen gap und Adater die in der Zeit fertig geworden sind haben dann alte Daten oder sowas. Und das "Info.connection" wird meistens nur einmalig gesendet.
Zu dem "19 bis instanzen" hab ich aktuell eher keine Idee ... Aber auch hier bitte mal Force reload.Oder gibts noch andere Themen (ausser dem npm install Thema mit rechten was eigentlich off-topic ist )
-
@apollon77 ich galub du hast alles erwähnt...
-
2.0.10 ist auf Github. Changelog:
- (Apollon77) Optimize Compact mode CLI commands (fixes #468, fixes #471, #470)
- (Apollon77) fixes #475, #476
- (Apollon77) only use quit from redid and let ioredis handle the disconnect, hopefully fixes #472, update objects-ha-lib
- (Apollon77) object changes are only logged as debug from now on, fixes #473
- (Apollon77) Some adapter tweaks when running in "--install" mode (no reporting, don't check sigKill)
-
@apollon77 ja hab schon alles durch. Auch Adapter neu installieren bringt nur noch Fehler. Weiß nicht mehr weiter...
$ ./iobroker url "https://github.com/frankjoke/ioBroker.radar2/tarball/master" radar2 install https://github.com/frankjoke/ioBroker.radar2/tarball/master NPM version: 6.9.0 npm install https://github.com/frankjoke/ioBroker.radar2/tarball/master --loglevel error --production --save --prefix "/opt/iobroker" (System call) In file included from ../src/raw.h:23, from ../src/raw.cc:6:../../nan/nan.h: In function 'void Nan::AsyncQueueWorker(Nan::AsyncWorker*)':../../nan/nan.h:2298:62: 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] , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete) ^ In file included from ../src/raw.h:21, from ../src/raw.cc:6:../src/raw.cc: At global scope:/home/iobroker/.node-gyp/10.16.3/include/node/node.h:573:43: warning: cast between incompatible function types from 'void (*)(v8::Local<v8::Object>)' to 'node::addon_register_func' {aka 'void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, void*)'} [-Wcast-function-type] (node::addon_register_func) (regfunc), \ ^/home/iobroker/.node-gyp/10.16.3/include/node/node.h:607:3: note: in expansion of macro 'NODE_MODULE_X' NODE_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage) ^~~~~~~~~~~~~../src/raw.cc:55:1: note: in expansion of macro 'NODE_MODULE' NODE_MODULE(raw, InitAll) ^~~~~~~~~~~ In file included from /home/iobroker/.node-gyp/10.16.3/include/node/node.h:63, from ../src/raw.h:21, from ../src/raw.cc:6:/home/iobroker/.node-gyp/10.16.3/include/node/v8.h: In instantiation of 'void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = node::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)]':/home/iobroker/.node-gyp/10.16.3/include/node/node_object_wrap.h:84:78: required from here/home/iobroker/.node-gyp/10.16.3/include/node/v8.h:9502:16: warning: cast between incompatible function types from 'v8::WeakCallbackInfo<node::ObjectWrap>::Callback' {aka 'void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)'} to 'Callback' {aka 'void (*)(const v8::WeakCallbackInfo<void>&)'} [-Wcast-function-type] reinterpret_cast<Callback>(callback), type); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/iobroker/.node-gyp/10.16.3/include/node/v8.h: In instantiation of 'void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = Nan::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)]':../../nan/nan_object_wrap.h:65:61: required from here/home/iobroker/.node-gyp/10.16.3/include/node/v8.h:9502:16: warning: cast between incompatible function types from 'v8::WeakCallbackInfo<Nan::ObjectWrap>::Callback' {aka 'void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)'} to 'Callback' {aka 'void (*)(const v8::WeakCallbackInfo<void>&)'} [-Wcast-function-type] prebuild-install info begin Prebuild-install version 5.3.2 prebuild-install info looking for cached prebuild @ /home/iobroker/.npm/_prebuilds/f78b17-usb-v1.6.0-node-v64-linux-x64.tar.gz prebuild-install info found cached prebuild prebuild-install info unpacking @ /home/iobroker/.npm/_prebuilds/f78b17-usb-v1.6.0-node-v64-linux-x64.tar.gz prebuild-install info unpack resolved to /opt/iobroker/node_modules/usb/build/Release/usb_bindings.nodeprebuild-install info unpack required /opt/iobroker/node_modules/usb/build/Release/usb_bindings.node successfullyprebuild-install info install Successfully installed prebuilt binary! In file included from ../src/BluetoothHciSocket.cpp:8:../../../nan/nan.h: In function 'void Nan::AsyncQueueWorker(Nan::AsyncWorker*)':../../../nan/nan.h:2298:62: 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] , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete) ^ ../src/BluetoothHciSocket.cpp: In member function 'void BluetoothHciSocket::poll()':../src/BluetoothHciSocket.cpp:252:95: warning: 'v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)' is deprecated [-Wdeprecated-declarations] Nan::MakeCallback(Nan::New<Object>(this->This), Nan::New("emit").ToLocalChecked(), 2, argv); ^In file included from ../src/BluetoothHciSocket.cpp:8:../../../nan/nan.h:1045:46: note: declared here NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback( ^~~~~~~~~~~~../src/BluetoothHciSocket.cpp:252:95: warning: 'v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)' is deprecated [-Wdeprecated-declarations] Nan::MakeCallback(Nan::New<Object>(this->This), Nan::New("emit").ToLocalChecked(), 2, argv); ^In file included from ../src/BluetoothHciSocket.cpp:8:../../../nan/nan.h:1045:46: note: declared here NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback( ^~~~~~~~~~~~ ../src/BluetoothHciSocket.cpp: In member function 'void BluetoothHciSocket::emitErrnoError()':../src/BluetoothHciSocket.cpp:274:93: warning: 'v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)' is deprecated [-Wdeprecated-declarations] Nan::MakeCallback(Nan::New<Object>(this->This), Nan::New("emit").ToLocalChecked(), 2, argv); ^In file included from ../src/BluetoothHciSocket.cpp:8:../../../nan/nan.h:1045:46: note: declared here NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback( ^~~~~~~~~~~~../src/BluetoothHciSocket.cpp:274:93: warning: 'v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)' is deprecated [-Wdeprecated-declarations] Nan::MakeCallback(Nan::New<Object>(this->This), Nan::New("emit").ToLocalChecked(), 2, argv); ^In file included from ../src/BluetoothHciSocket.cpp:8:../../../nan/nan.h:1045:46: note: declared here NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback( ^~~~~~~~~~~~ In file included from /home/iobroker/.node-gyp/10.16.3/include/node/node_buffer.h:25, from ../src/BluetoothHciSocket.cpp:7:../src/BluetoothHciSocket.cpp: At global scope:/home/iobroker/.node-gyp/10.16.3/include/node/node.h:573:43: warning: cast between incompatible function types from 'void (*)(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)' {aka 'void (*)(v8::Local<v8::Object>)'} to 'node::addon_register_func' {aka 'void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, void*)'} [-Wcast-function-type] (node::addon_register_func) (regfunc), \ ^/home/iobroker/.node-gyp/10.16.3/include/node/node.h:607:3: note: in expansion of macro 'NODE_MODULE_X' NODE_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage) ^~~~~~~~~~~~~../src/BluetoothHciSocket.cpp:529:1: note: in expansion of macro 'NODE_MODULE' NODE_MODULE(binding, BluetoothHciSocket::Init); ^~~~~~~~~~~ In file included from /home/iobroker/.node-gyp/10.16.3/include/node/node.h:63, from /home/iobroker/.node-gyp/10.16.3/include/node/node_buffer.h:25, from ../src/BluetoothHciSocket.cpp:7:/home/iobroker/.node-gyp/10.16.3/include/node/v8.h: In instantiation of 'void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = node::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)]':/home/iobroker/.node-gyp/10.16.3/include/node/node_object_wrap.h:84:78: required from here/home/iobroker/.node-gyp/10.16.3/include/node/v8.h:9502:16: warning: cast between incompatible function types from 'v8::WeakCallbackInfo<node::ObjectWrap>::Callback' {aka 'void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)'} to 'Callback' {aka 'void (*)(const v8::WeakCallbackInfo<void>&)'} [-Wcast-function-type] reinterpret_cast<Callback>(callback), type); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/iobroker/.node-gyp/10.16.3/include/node/v8.h: In instantiation of 'void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = Nan::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)]':../../../nan/nan_object_wrap.h:65:61: required from here/home/iobroker/.node-gyp/10.16.3/include/node/v8.h:9502:16: warning: cast between incompatible function types from 'v8::WeakCallbackInfo<Nan::ObjectWrap>::Callback' {aka 'void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)'} to 'Callback' {aka 'void (*)(const v8::WeakCallbackInfo<void>&)'} [-Wcast-function-type] In file included from ../src/DeviceINQ.h:17, from ../src/linux/BluetoothSerialPort.cc:13:../node_modules/nan/nan.h: In function 'void Nan::AsyncQueueWorker(Nan::AsyncWorker*)':../node_modules/nan/nan.h:2298:62: 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] , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete) ^ In file included from ../src/linux/BluetoothSerialPort.cc:12:../src/linux/BluetoothSerialPort.cc: At global scope:/home/iobroker/.node-gyp/10.16.3/include/node/node.h:573:43: warning: cast between incompatible function types from 'void (*)(v8::Handle<v8::Object>)' {aka 'void (*)(v8::Local<v8::Object>)'} to 'node::addon_register_func' {aka 'void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, void*)'} [-Wcast-function-type] (node::addon_register_func) (regfunc), \ ^/home/iobroker/.node-gyp/10.16.3/include/node/node.h:607:3: note: in expansion of macro 'NODE_MODULE_X' NODE_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage) ^~~~~~~~~~~~~../src/linux/BluetoothSerialPort.cc:23:1: note: in expansion of macro 'NODE_MODULE' NODE_MODULE(BluetoothSerialPort, InitAll) ^~~~~~~~~~~ In file included from /home/iobroker/.node-gyp/10.16.3/include/node/node.h:63, from ../src/linux/BluetoothSerialPort.cc:12:/home/iobroker/.node-gyp/10.16.3/include/node/v8.h: In instantiation of 'void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = node::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)]':/home/iobroker/.node-gyp/10.16.3/include/node/node_object_wrap.h:84:78: required from here/home/iobroker/.node-gyp/10.16.3/include/node/v8.h:9502:16: warning: cast between incompatible function types from 'v8::WeakCallbackInfo<node::ObjectWrap>::Callback' {aka 'void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)'} to 'Callback' {aka 'void (*)(const v8::WeakCallbackInfo<void>&)'} [-Wcast-function-type] reinterpret_cast<Callback>(callback), type); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/iobroker/.node-gyp/10.16.3/include/node/v8.h: In instantiation of 'void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = Nan::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)]':../node_modules/nan/nan_object_wrap.h:65:61: required from here/home/iobroker/.node-gyp/10.16.3/include/node/v8.h:9502:16: warning: cast between incompatible function types from 'v8::WeakCallbackInfo<Nan::ObjectWrap>::Callback' {aka 'void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)'} to 'Callback' {aka 'void (*)(const v8::WeakCallbackInfo<void>&)'} [-Wcast-function-type] In file included from ../src/linux/DeviceINQ.cc:14:../node_modules/nan/nan.h: In function 'void Nan::AsyncQueueWorker(Nan::AsyncWorker*)':../node_modules/nan/nan.h:2298:62: 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] , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete) ^ ../src/linux/DeviceINQ.cc: In static member function 'static void DeviceINQ::EIO_AfterSdpSearch(uv_work_t*)':../src/linux/DeviceINQ.cc:139:28: warning: 'v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const' is deprecated [-Wdeprecated-declarations] baton->cb->Call(1, argv); ^In file included from ../src/linux/DeviceINQ.cc:14:../node_modules/nan/nan.h:1740:3: note: declared here Call(int argc, v8::Local<v8::Value> argv[]) const { ^~~~ ../src/linux/DeviceINQ.cc: In static member function 'static Nan::NAN_METHOD_RETURN_TYPE DeviceINQ::InquireSync(Nan::NAN_METHOD_ARGS_TYPE)':../src/linux/DeviceINQ.cc:251:26: warning: 'v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const' is deprecated [-Wdeprecated-declarations] found->Call(2, argv); ^In file included from ../src/linux/DeviceINQ.cc:14:../node_modules/nan/nan.h:1740:3: note: declared here Call(int argc, v8::Local<v8::Value> argv[]) const { ^~~~../src/linux/DeviceINQ.cc:255:27: warning: 'v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const' is deprecated [-Wdeprecated-declarations] callback->Call(0, argv); ^In file included from ../src/linux/DeviceINQ.cc:14:../node_modules/nan/nan.h:1740:3: note: declared here Call(int argc, v8::Local<v8::Value> argv[]) const { ^~~~ ../src/linux/DeviceINQ.cc: In member function 'virtual void InquireWorker::HandleOKCallback()':../src/linux/DeviceINQ.cc:284:26: warning: 'v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const' is deprecated [-Wdeprecated-declarations] found->Call(2, argv); ^In file included from ../src/linux/DeviceINQ.cc:14:../node_modules/nan/nan.h:1740:3: note: declared here Call(int argc, v8::Local<v8::Value> argv[]) const { ^~~~../src/linux/DeviceINQ.cc:288:27: warning: 'v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const' is deprecated [-Wdeprecated-declarations] callback->Call(0, argv); ^In file included from ../src/linux/DeviceINQ.cc:14:../node_modules/nan/nan.h:1740:3: note: declared here Call(int argc, v8::Local<v8::Value> argv[]) const { ^~~~../src/linux/DeviceINQ.cc: In static member function 'static Nan::NAN_METHOD_RETURN_TYPE DeviceINQ::SdpSearch(Nan::NAN_METHOD_ARGS_TYPE)':../src/linux/DeviceINQ.cc:317:38: warning: 'v8::String::Utf8Value::Utf8Value(v8::Local<v8::Value>)' is deprecated: Use Isolate version [-Wdeprecated-declarations] String::Utf8Value address(info[0]); ^In file included from /home/iobroker/.node-gyp/10.16.3/include/node/v8.h:26, from ../src/linux/DeviceINQ.cc:12:/home/iobroker/.node-gyp/10.16.3/include/node/v8.h:2892:28: note: declared here explicit Utf8Value(Local<v8::Value> obj)); ^~~~~~~~~/home/iobroker/.node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro 'V8_DEPRECATED' declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/linux/DeviceINQ.cc:335:88: 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(), &baton->request, EIO_SdpSearch, (uv_after_work_cb)EIO_AfterSdpSearch); ^~~~~~~~~~~~~~~~~~ In file included from ../src/linux/DeviceINQ.cc:12:/home/iobroker/.node-gyp/10.16.3/include/node/v8.h: In instantiation of 'void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = node::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)]':/home/iobroker/.node-gyp/10.16.3/include/node/node_object_wrap.h:84:78: required from here/home/iobroker/.node-gyp/10.16.3/include/node/v8.h:9502:16: warning: cast between incompatible function types from 'v8::WeakCallbackInfo<node::ObjectWrap>::Callback' {aka 'void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)'} to 'Callback' {aka 'void (*)(const v8::WeakCallbackInfo<void>&)'} [-Wcast-function-type] reinterpret_cast<Callback>(callback), type); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/iobroker/.node-gyp/10.16.3/include/node/v8.h: In instantiation of 'void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = Nan::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)]':../node_modules/nan/nan_object_wrap.h:65:61: required from here/home/iobroker/.node-gyp/10.16.3/include/node/v8.h:9502:16: warning: cast between incompatible function types from 'v8::WeakCallbackInfo<Nan::ObjectWrap>::Callback' {aka 'void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)'} to 'Callback' {aka 'void (*)(const v8::WeakCallbackInfo<void>&)'} [-Wcast-function-type] In file included from ../src/linux/BTSerialPortBinding.cc:14:../node_modules/nan/nan.h: In function 'void Nan::AsyncQueueWorker(Nan::AsyncWorker*)':../node_modules/nan/nan.h:2298:62: 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] , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete) ^ ../src/linux/BTSerialPortBinding.cc: In static member function 'static void BTSerialPortBinding::EIO_AfterConnect(uv_work_t*)':../src/linux/BTSerialPortBinding.cc:83:32: warning: 'v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const' is deprecated [-Wdeprecated-declarations] baton->cb->Call(0, NULL); ^In file included from ../src/linux/BTSerialPortBinding.cc:14:../node_modules/nan/nan.h:1740:3: note: declared here Call(int argc, v8::Local<v8::Value> argv[]) const { ^~~~../src/linux/BTSerialPortBinding.cc:89:33: warning: 'v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const' is deprecated [-Wdeprecated-declarations] baton->ecb->Call(1, argv); ^In file included from ../src/linux/BTSerialPortBinding.cc:14:../node_modules/nan/nan.h:1740:3: note: declared here Call(int argc, v8::Local<v8::Value> argv[]) const { ^~~~../src/linux/BTSerialPortBinding.cc: In static member function 'static void BTSerialPortBinding::EIO_Write(uv_work_t*)':../src/linux/BTSerialPortBinding.cc:115:22: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] if (data->result != data->bufferLength) { ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ ../src/linux/BTSerialPortBinding.cc: In static member function 'static void BTSerialPortBinding::EIO_AfterWrite(uv_work_t*)':../src/linux/BTSerialPortBinding.cc:135:33: warning: 'v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const' is deprecated [-Wdeprecated-declarations] data->callback->Call(2, argv); ^In file included from ../src/linux/BTSerialPortBinding.cc:14:../node_modules/nan/nan.h:1740:3: note: declared here Call(int argc, v8::Local<v8::Value> argv[]) const { ^~~~../src/linux/BTSerialPortBinding.cc:144:94: 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(), &nextQueuedWrite->req, EIO_Write, (uv_after_work_cb)EIO_AfterWrite); ^~~~~~~~~~~~~~ ../src/linux/BTSerialPortBinding.cc: In static member function 'static void BTSerialPortBinding::EIO_AfterRead(uv_work_t*)':../src/linux/BTSerialPortBinding.cc:207:28: warning: 'v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const' is deprecated [-Wdeprecated-declarations] baton->cb->Call(2, argv); ^In file included from ../src/linux/BTSerialPortBinding.cc:14:../node_modules/nan/nan.h:1740:3: note: declared here Call(int argc, v8::Local<v8::Value> argv[]) const { ^~~~../src/linux/BTSerialPortBinding.cc: In static member function 'static Nan::NAN_METHOD_RETURN_TYPE BTSerialPortBinding::New(Nan::NAN_METHOD_ARGS_TYPE)':../src/linux/BTSerialPortBinding.cc:253:38: warning: 'v8::String::Utf8Value::Utf8Value(v8::Local<v8::Value>)' is deprecated: Use Isolate version [-Wdeprecated-declarations] String::Utf8Value address(info[0]); ^In file included from /home/iobroker/.node-gyp/10.16.3/include/node/v8.h:26, from ../src/linux/BTSerialPortBinding.cc:12:/home/iobroker/.node-gyp/10.16.3/include/node/v8.h:2892:28: note: declared here explicit Utf8Value(Local<v8::Value> obj)); ^~~~~~~~~/home/iobroker/.node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro 'V8_DEPRECATED' declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/linux/BTSerialPortBinding.cc:255:41: warning: 'int32_t v8::Value::Int32Value() const' is deprecated: Use maybe version [-Wdeprecated-declarations] int channelID = info[1]->Int32Value(); ^In file included from /home/iobroker/.node-gyp/10.16.3/include/node/v8.h:26, from ../src/linux/BTSerialPortBinding.cc:12:/home/iobroker/.node-gyp/10.16.3/include/node/v8.h:2478:46: note: declared here V8_DEPRECATED("Use maybe version", int32_t Int32Value() const); ^~~~~~~~~~/home/iobroker/.node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro 'V8_DEPRECATED' declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/linux/BTSerialPortBinding.cc:281:86: 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(), &baton->request, EIO_Connect, (uv_after_work_cb)EIO_AfterConnect); ^~~~~~~~~~~~~~~~ ../src/linux/BTSerialPortBinding.cc: In static member function 'static Nan::NAN_METHOD_RETURN_TYPE BTSerialPortBinding::Write(Nan::NAN_METHOD_ARGS_TYPE)':../src/linux/BTSerialPortBinding.cc:314:43: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct BTSerialPortBinding::write_baton_t' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] memset(baton, 0, sizeof(write_baton_t)); ^In file included from ../src/linux/BTSerialPortBinding.cc:19:../src/BTSerialPortBinding.h:68:16: note: 'struct BTSerialPortBinding::write_baton_t' declared here struct write_baton_t { ^~~~~~~~~~~~~../src/linux/BTSerialPortBinding.cc:333:90: 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(), &queuedWrite->req, EIO_Write, (uv_after_work_cb)EIO_AfterWrite); ^~~~~~~~~~~~~~ ../src/linux/BTSerialPortBinding.cc: In static member function 'static Nan::NAN_METHOD_RETURN_TYPE BTSerialPortBinding::Read(Nan::NAN_METHOD_ARGS_TYPE)':../src/linux/BTSerialPortBinding.cc:383:25: warning: 'v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const' is deprecated [-Wdeprecated-declarations] nc->Call(2, argv); ^In file included from ../src/linux/BTSerialPortBinding.cc:14:../node_modules/nan/nan.h:1740:3: note: declared here Call(int argc, v8::Local<v8::Value> argv[]) const { ^~~~../src/linux/BTSerialPortBinding.cc:391:87: 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(), &baton->request, EIO_Read, (uv_after_work_cb)EIO_AfterRead); ^~~~~~~~~~~~~ In file included from ../src/linux/BTSerialPortBinding.cc:12:/home/iobroker/.node-gyp/10.16.3/include/node/v8.h: In instantiation of 'void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = node::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)]':/home/iobroker/.node-gyp/10.16.3/include/node/node_object_wrap.h:84:78: required from here/home/iobroker/.node-gyp/10.16.3/include/node/v8.h:9502:16: warning: cast between incompatible function types from 'v8::WeakCallbackInfo<node::ObjectWrap>::Callback' {aka 'void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)'} to 'Callback' {aka 'void (*)(const v8::WeakCallbackInfo<void>&)'} [-Wcast-function-type] reinterpret_cast<Callback>(callback), type); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/iobroker/.node-gyp/10.16.3/include/node/v8.h: In instantiation of 'void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = Nan::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)]':../node_modules/nan/nan_object_wrap.h:65:61: required from here/home/iobroker/.node-gyp/10.16.3/include/node/v8.h:9502:16: warning: cast between incompatible function types from 'v8::WeakCallbackInfo<Nan::ObjectWrap>::Callback' {aka 'void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)'} to 'Callback' {aka 'void (*)(const v8::WeakCallbackInfo<void>&)'} [-Wcast-function-type] In file included from ../src/DeviceINQ.h:17, from ../src/linux/BluetoothSerialPortServer.cc:13:../node_modules/nan/nan.h: In function 'void Nan::AsyncQueueWorker(Nan::AsyncWorker*)':../node_modules/nan/nan.h:2298:62: 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] , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete) ^ In file included from ../src/linux/BluetoothSerialPortServer.cc:12:../src/linux/BluetoothSerialPortServer.cc: At global scope:/home/iobroker/.node-gyp/10.16.3/include/node/node.h:573:43: warning: cast between incompatible function types from 'void (*)(v8::Handle<v8::Object>)' {aka 'void (*)(v8::Local<v8::Object>)'} to 'node::addon_register_func' {aka 'void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, void*)'} [-Wcast-function-type] (node::addon_register_func) (regfunc), \ ^/home/iobroker/.node-gyp/10.16.3/include/node/node.h:607:3: note: in expansion of macro 'NODE_MODULE_X' NODE_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage) ^~~~~~~~~~~~~../src/linux/BluetoothSerialPortServer.cc:22:1: note: in expansion of macro 'NODE_MODULE' NODE_MODULE(BluetoothSerialPortServer, InitAllServer) ^~~~~~~~~~~ In file included from /home/iobroker/.node-gyp/10.16.3/include/node/node.h:63, from ../src/linux/BluetoothSerialPortServer.cc:12:/home/iobroker/.node-gyp/10.16.3/include/node/v8.h: In instantiation of 'void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = node::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)]':/home/iobroker/.node-gyp/10.16.3/include/node/node_object_wrap.h:84:78: required from here/home/iobroker/.node-gyp/10.16.3/include/node/v8.h:9502:16: warning: cast between incompatible function types from 'v8::WeakCallbackInfo<node::ObjectWrap>::Callback' {aka 'void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)'} to 'Callback' {aka 'void (*)(const v8::WeakCallbackInfo<void>&)'} [-Wcast-function-type] reinterpret_cast<Callback>(callback), type); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/iobroker/.node-gyp/10.16.3/include/node/v8.h: In instantiation of 'void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = Nan::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)]':../node_modules/nan/nan_object_wrap.h:65:61: required from here/home/iobroker/.node-gyp/10.16.3/include/node/v8.h:9502:16: warning: cast between incompatible function types from 'v8::WeakCallbackInfo<Nan::ObjectWrap>::Callback' {aka 'void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)'} to 'Callback' {aka 'void (*)(const v8::WeakCallbackInfo<void>&)'} [-Wcast-function-type] In file included from ../src/linux/BTSerialPortBindingServer.cc:14:../node_modules/nan/nan.h: In function 'void Nan::AsyncQueueWorker(Nan::AsyncWorker*)':../node_modules/nan/nan.h:2298:62: 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] , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete) ^ ../src/linux/BTSerialPortBindingServer.cc: In static member function 'static void BTSerialPortBindingServer::EIO_AfterListen(uv_work_t*)':../src/linux/BTSerialPortBindingServer.cc:176:33: warning: 'v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const' is deprecated [-Wdeprecated-declarations] baton->ecb->Call(1, argv); ^ In file included from ../src/linux/BTSerialPortBindingServer.cc:14:../node_modules/nan/nan.h:1740:3: note: declared here Call(int argc, v8::Local<v8::Value> argv[]) const { ^~~~../src/linux/BTSerialPortBindingServer.cc: In static member function 'static void BTSerialPortBindingServer::TryListenAgain()':../src/linux/BTSerialPortBindingServer.cc:199:31: warning: 'v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const' is deprecated [-Wdeprecated-declarations] baton->ecb->Call(1, argv); ^In file included from ../src/linux/BTSerialPortBindingServer.cc:14:../node_modules/nan/nan.h:1740:3: note: declared here Call(int argc, v8::Local<v8::Value> argv[]) const { ^~~~../src/linux/BTSerialPortBindingServer.cc: In static member function 'static void BTSerialPortBindingServer::EIO_AfterWrite(uv_work_t*)':../src/linux/BTSerialPortBindingServer.cc:239:33: warning: 'v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const' is deprecated [-Wdeprecated-declarations] data->callback->Call(2, argv); ^In file included from ../src/linux/BTSerialPortBindingServer.cc:14:../node_modules/nan/nan.h:1740:3: note: declared here Call(int argc, v8::Local<v8::Value> argv[]) const { ^~~~../src/linux/BTSerialPortBindingServer.cc:247:94: 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(), &nextQueuedWrite->req, EIO_Write, (uv_after_work_cb)EIO_AfterWrite); ^~~~~~~~~~~~~~ ../src/linux/BTSerialPortBindingServer.cc: In static member function 'static void BTSerialPortBindingServer::EIO_AfterRead(uv_work_t*)':../src/linux/BTSerialPortBindingServer.cc:311:36: warning: 'v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const' is deprecated [-Wdeprecated-declarations] baton->cb->Call(2, argv); ^In file included from ../src/linux/BTSerialPortBindingServer.cc:14:../node_modules/nan/nan.h:1740:3: note: declared here Call(int argc, v8::Local<v8::Value> argv[]) const { ^~~~ ../src/linux/BTSerialPortBindingServer.cc:326:28: warning: 'v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const' is deprecated [-Wdeprecated-declarations] baton->cb->Call(2, argv); ^In file included from ../src/linux/BTSerialPortBindingServer.cc:14:../node_modules/nan/nan.h:1740:3: note: declared here Call(int argc, v8::Local<v8::Value> argv[]) const { ^~~~ ../src/linux/BTSerialPortBindingServer.cc: In static member function 'static Nan::NAN_METHOD_RETURN_TYPE BTSerialPortBindingServer::New(Nan::NAN_METHOD_ARGS_TYPE)':../src/linux/BTSerialPortBindingServer.cc:408:70: warning: 'v8::String::Utf8Value::Utf8Value(v8::Local<v8::Value>)' is deprecated: Use Isolate version [-Wdeprecated-declarations] string propertyName = std::string(*String::Utf8Value(property)); ^ In file included from /home/iobroker/.node-gyp/10.16.3/include/node/v8.h:26, from ../src/linux/BTSerialPortBindingServer.cc:12:/home/iobroker/.node-gyp/10.16.3/include/node/v8.h:2892:28: note: declared here explicit Utf8Value(Local<v8::Value> obj)); ^~~~~~~~~/home/iobroker/.node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro 'V8_DEPRECATED' declarator __attribute__((deprecated(message))) ^~~~~~~~~~ ../src/linux/BTSerialPortBindingServer.cc:410:75: warning: 'v8::String::Utf8Value::Utf8Value(v8::Local<v8::Value>)' is deprecated: Use Isolate version [-Wdeprecated-declarations] options[propertyName] = std::string(*String::Utf8Value(optionValue)); ^In file included from /home/iobroker/.node-gyp/10.16.3/include/node/v8.h:26, from ../src/linux/BTSerialPortBindingServer.cc:12:/home/iobroker/.node-gyp/10.16.3/include/node/v8.h:2892:28: note: declared here explicit Utf8Value(Local<v8::Value> obj)); ^~~~~~~~~/home/iobroker/.node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro 'V8_DEPRECATED' declarator __attribute__((deprecated(message))) ^~~~~~~~~~../src/linux/BTSerialPortBindingServer.cc:434:85: 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(), &baton->request, EIO_Listen, (uv_after_work_cb)EIO_AfterListen); ^~~~~~~~~~~~~~~ ../src/linux/BTSerialPortBindingServer.cc: In static member function 'static Nan::NAN_METHOD_RETURN_TYPE BTSerialPortBindingServer::Write(Nan::NAN_METHOD_ARGS_TYPE)':../src/linux/BTSerialPortBindingServer.cc:536:43: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct BTSerialPortBindingServer::write_baton_t' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] memset(baton, 0, sizeof(write_baton_t)); ^In file included from ../src/linux/BTSerialPortBindingServer.cc:22:../src/BTSerialPortBindingServer.h:53:16: note: 'struct BTSerialPortBindingServer::write_baton_t' declared here struct write_baton_t { ^~~~~~~~~~~~~ ../src/linux/BTSerialPortBindingServer.cc:555:90: 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(), &queuedWrite->req, EIO_Write, (uv_after_work_cb)EIO_AfterWrite); ^~~~~~~~~~~~~~ ../src/linux/BTSerialPortBindingServer.cc: In static member function 'static Nan::NAN_METHOD_RETURN_TYPE BTSerialPortBindingServer::Read(Nan::NAN_METHOD_ARGS_TYPE)':../src/linux/BTSerialPortBindingServer.cc:618:25: warning: 'v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const' is deprecated [-Wdeprecated-declarations] nc->Call(2, argv); ^In file included from ../src/linux/BTSerialPortBindingServer.cc:14:../node_modules/nan/nan.h:1740:3: note: declared here Call(int argc, v8::Local<v8::Value> argv[]) const { ^~~~ ../src/linux/BTSerialPortBindingServer.cc:626:83: 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(), &baton->request, EIO_Read, (uv_after_work_cb)EIO_AfterRead); ^~~~~~~~~~~~~ ../src/linux/BTSerialPortBindingServer.cc: In member function 'virtual void BTSerialPortBindingServer::ClientWorker::HandleOKCallback()':../src/linux/BTSerialPortBindingServer.cc:672:27: warning: 'v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const' is deprecated [-Wdeprecated-declarations] callback->Call(1, argv); ^In file included from ../src/linux/BTSerialPortBindingServer.cc:14:../node_modules/nan/nan.h:1740:3: note: declared here Call(int argc, v8::Local<v8::Value> argv[]) const { ^~~~ In file included from ../src/linux/BTSerialPortBindingServer.cc:12:/home/iobroker/.node-gyp/10.16.3/include/node/v8.h: In instantiation of 'void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = node::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)]':/home/iobroker/.node-gyp/10.16.3/include/node/node_object_wrap.h:84:78: required from here/home/iobroker/.node-gyp/10.16.3/include/node/v8.h:9502:16: warning: cast between incompatible function types from 'v8::WeakCallbackInfo<node::ObjectWrap>::Callback' {aka 'void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)'} to 'Callback' {aka 'void (*)(const v8::WeakCallbackInfo<void>&)'} [-Wcast-function-type] reinterpret_cast<Callback>(callback), type); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/iobroker/.node-gyp/10.16.3/include/node/v8.h: In instantiation of 'void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = Nan::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)]':../node_modules/nan/nan_object_wrap.h:65:61: required from here/home/iobroker/.node-gyp/10.16.3/include/node/v8.h:9502:16: warning: cast between incompatible function types from 'v8::WeakCallbackInfo<Nan::ObjectWrap>::Callback' {aka 'void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)'} to 'Callback' {aka 'void (*)(const v8::WeakCallbackInfo<void>&)'} [-Wcast-function-type] upload [13] radar2.admin /opt/iobroker/node_modules/iobroker.radar2/admin/words.js words.js application/javascript upload [12] radar2.admin /opt/iobroker/node_modules/iobroker.radar2/admin/radar2.png radar2.png image/png upload [11] radar2.admin /opt/iobroker/node_modules/iobroker.radar2/admin/index_m.html index_m.html text/html upload [10] radar2.admin /opt/iobroker/node_modules/iobroker.radar2/admin/index.html index.html text/html upload [9] radar2.admin /opt/iobroker/node_modules/iobroker.radar2/admin/i18n/zh-cn/translations.json i18n/zh-cn/translations.json application/json upload [8] radar2.admin /opt/iobroker/node_modules/iobroker.radar2/admin/i18n/ru/translations.json i18n/ru/translations.json application/json upload [7] radar2.admin /opt/iobroker/node_modules/iobroker.radar2/admin/i18n/pt/translations.json i18n/pt/translations.json application/json upload [6] radar2.admin /opt/iobroker/node_modules/iobroker.radar2/admin/i18n/pl/translations.json i18n/pl/translations.json application/json upload [5] radar2.admin /opt/iobroker/node_modules/iobroker.radar2/admin/i18n/nl/translations.json i18n/nl/translations.json application/json upload [4] radar2.admin /opt/iobroker/node_modules/iobroker.radar2/admin/i18n/it/translations.json i18n/it/translations.json application/json upload [3] radar2.admin /opt/iobroker/node_modules/iobroker.radar2/admin/i18n/fr/translations.json i18n/fr/translations.json application/json upload [2] radar2.admin /opt/iobroker/node_modules/iobroker.radar2/admin/i18n/es/translations.json i18n/es/translations.json application/json upload [1] radar2.admin /opt/iobroker/node_modules/iobroker.radar2/admin/i18n/en/translations.json i18n/en/translations.json application/json upload [0] radar2.admin /opt/iobroker/node_modules/iobroker.radar2/admin/i18n/de/translations.json i18n/de/translations.json application/json process exited with code 0
-
@apollon77 sagte in [Aufruf] js-controller 2.0 Beta Test:
2.0.10 ist auf Github. Changelog:
Erledigt, läuft.
-
Update auf 2.0.10 gemacht...wieder Fehler wegen pids.txt...fix script erneut ausgeführt..läuft
-
@msauer sagte in [Aufruf] js-controller 2.0 Beta Test:
Update auf 2.0.10 gemacht...wieder Fehler wegen pids.txt...fix script erneut ausgeführt..läuft
@apollon77
bei mir genauso. Aber jetzt läuft alles, auch der Radar2 Adapter. Zufall? -
@watcherkb @msauer Das mit den PIDs.txt ist strange. Ihr habt aber nicht zufällig geschaut wem das File vor dem Fixer gehörte und so?
@watcherkb Was Radar angeht gab es bei mir keine Änderungen ... also Zufall? ;-))
Noch ein was zu "Anzeige im Admin Ampeln kaputt: Wenn Ihr unter "Instanzen" oben auf den Reload Button klicks (als in der ioBroker UI der ganz linke): passts danach?
Ich habe mal eine Änderung die ich Bluefox vorschlage. Es gibt theoretisch einen kurzen Zeitraum beim neu laden vom Admin wo solche Dinge passieren könnten das Admin nicht aktuelle Daten nutzt. Aber ein "reload" mit dem oben genannten sollte das auch fixen. -
Geht noch das Node-RED Dashboard bei jemandem? Eben erst mal wieder mit der 10er probiert, aber nur noch "weißer Adler auf weißem Grund".
An der 1.10.1 Node-RED liegt es nicht, die hatte ich schon länger drauf. Im Debug tauchen auch keine Fehler auf. IMO war ich beim letzten mal mit JS 2.0.7 drauf ... -
@SBorg mit 1.7.1 gehts bei mir
-
@apollon77 sagte in [Aufruf] js-controller 2.0 Beta Test:
Ihr habt aber nicht zufällig geschaut wem das File vor dem Fixer gehörte und so?
leider nein, nicht dran gedacht, sorry.
-
@SBorg Irgendwas im Browser Konsole oder Log oder irgendwas? An sich sollte sowas mit controller sehr wenig zu tun haben
-
Update gemacht, auf dem Testsystem.
Das Testystem ist ein Klon 1:1 mit dem laufendem System, nur läuft auf dem produktiven noch 1.5.xxxx
Problem:
Radar scannt meine G-Tags nicht mehr.
Sieht so aus, als Radar gar nichts mehr scant, was mit BT zu tun hat.
Scan mit hcitool only. kein BT wird gescant
Scan ohne Haken: kein BT wird gescant
hcitool lecan 0 problemo.
natürlich den fix drüber laufen lassen.
Gruß,
Mathias