NEWS
[gefixed]Update S7 Adapter auf 1.0.3 fehlgeschlagen
-
Hi,
die "neuste" Version vom S7 Adapter scheint nicht zu funktionieren….
2017-11-29 15:54:51.737 - [32minfo[39m: host.iobroker instance system.adapter.s7.0 started with pid 6857 2017-11-29 15:54:52.143 - [32minfo[39m: s7.0 starting. Version 1.0.3 in /opt/iobroker/node_modules/iobroker.s7, node: v8.9.1 2017-11-29 15:54:52.419 - [31merror[39m: s7.0 Writing DB. Code #TypeError: Cannot read property 'lsb' of undefined 2017-11-29 15:54:52.449 - [31merror[39m: s7.0 uncaught exception: Cannot read property 'lsb' of undefined 2017-11-29 15:54:52.449 - [31merror[39m: s7.0 TypeError: Cannot read property 'lsb' of undefined at /opt/iobroker/node_modules/iobroker.s7/main.js:1187:74 at /opt/iobroker/node_modules/iobroker.s7/node_modules/async/lib/async.js:52:16 at done (/opt/iobroker/node_modules/iobroker.s7/node_modules/async/lib/async.js:246:17) at /opt/iobroker/node_modules/iobroker.s7/node_modules/async/lib/async.js:44:16 at /opt/iobroker/node_modules/iobroker.s7/main.js:1158:33
Sorry für den komischen Log, aber musste es aus der Datei raus kopieren….
-
Bei mir klappt der Update ebenfalls nicht.
Hier ein Log:
! root:/opt/iobroker# ./iobroker upgrade s7@1.0.3
! Update s7 from @1.0.2 to @1.0.3
! npm install iobroker.s7@1.0.3 –production --prefix "/opt/iobroker" (System call)
! npm install --production (System call) in "/opt/iobroker/node_modules/iobroker.s7"
! prebuild-install info begin Prebuild-install version 2.3.0
! prebuild-install info looking for local prebuild @ prebuilds/node-snap7-v0.4.0-node-v48-linux-arm.tar.gz
! prebuild-install info looking for cached prebuild @ /root/.npm/_prebuilds/https-github.com-mathiask88-node-snap7-releases-download-v0.4.0-node-snap7-v0.4.0-node-v48-linux-arm.tar.gz
! prebuild-install http request GET https://github.com/mathiask88/node-snap ... arm.tar.gz
! prebuild-install http 404 https://github.com/mathiask88/node-snap ... arm.tar.gz
! prebuild-install WARN install No prebuilt binaries found (target=6.11.2 runtime=node arch=arm platform=linux)
! ../deps/snap7/src/core/s7_isotcp.cpp: In member function ‘int TIsoTcpSocket::IsoConfirmConnection(u_char)’:
! ../deps/snap7/src/core/s7_isotcp.cpp:163:10: warning: variable ‘TempRef’ set but not used [-Wunused-but-set-variable]
! u_short TempRef;
! ^
! ../deps/snap7/src/core/s7_server.cpp: In member function ‘word TS7Worker::ReadArea(PResFunReadItem, PReqFunReadItem, int&, TEv&)’:
! ../deps/snap7/src/core/s7_server.cpp:454:44: warning: ‘BitIndex’ may be used uninitialized in this function [-Wmaybe-uninitialized]
! if ((ByteVal & BitMask[BitIndex])!=0)
! ^
! ../deps/snap7/src/core/s7_server.cpp: In member function ‘byte TS7Worker::WriteArea(PReqFunWriteDataItem, PReqFunWriteItem, TEv&)’:
! ../deps/snap7/src/core/s7_server.cpp:698:41: warning: ‘BitIndex’ may be used uninitialized in this function [-Wmaybe-uninitialized]
! *Target=*Target | BitMask[BitIndex];
! ^
! ../deps/snap7/src/core/s7_micro_client.cpp: In member function ‘int TSnap7MicroClient::opUpload()’:
! ../deps/snap7/src/core/s7_micro_client.cpp:1225:13: warning: ‘BlockLength’ may be used uninitialized in this function [-Wmaybe-uninitialized]
! if (opSize<1)
! ^
! ../src/node_snap7_server.cpp: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE node_snap7::S7Server::RWBufferCallback(Nan::NAN_METHOD_ARGS_TYPE)’:
! ../src/node_snap7_server.cpp:720:56: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
! if (node::Buffer::Length(info[0].Asv8::object()) < size) {
! ^
! got /opt/iobroker/node_modules/iobroker.s7/admin
! upload [11] s7.admin /opt/iobroker/node_modules/iobroker.s7/admin/words.js words.js application/javascript
! upload [10] s7.admin /opt/iobroker/node_modules/iobroker.s7/admin/lib/js/jsgrid.min.js lib/js/jsgrid.min.js application/javascript
! upload [9] s7.admin /opt/iobroker/node_modules/iobroker.s7/admin/lib/js/jsgrid.js lib/js/jsgrid.js application/javascript
! upload [8] s7.admin /opt/iobroker/node_modules/iobroker.s7/admin/lib/js/grid.locale-ru.js lib/js/grid.locale-ru.js application/javascript
! upload [7] s7.admin /opt/iobroker/node_modules/iobroker.s7/admin/lib/js/grid.locale-de.js lib/js/grid.locale-de.js application/javascript
! upload [6] s7.admin /opt/iobroker/node_modules/iobroker.s7/admin/lib/css/jsgrid.min.css lib/css/jsgrid.min.css text/css
! upload [5] s7.admin /opt/iobroker/node_modules/iobroker.s7/admin/lib/css/jsgrid.css lib/css/jsgrid.css text/css
! upload [4] s7.admin /opt/iobroker/node_modules/iobroker.s7/admin/lib/css/jsgrid-theme.min.css lib/css/jsgrid-theme.min.css text/css
! upload [3] s7.admin /opt/iobroker/node_modules/iobroker.s7/admin/lib/css/jsgrid-theme.css lib/css/jsgrid-theme.css text/css
! upload [2] s7.admin /opt/iobroker/node_modules/iobroker.s7/admin/index.html index.html text/html
! upload [1] s7.admin /opt/iobroker/node_modules/iobroker.s7/admin/img/plc_back.png img/plc_back.png image/png
! upload [0] s7.admin /opt/iobroker/node_modules/iobroker.s7/admin/S7.png S7.png image/png
! Adapter "s7" updated
! root@mother:/opt/iobroker#</v8::object>LG
Ralf
-
Bei mir klappt der Update ebenfalls nicht.
Hier ein Log:
! root:/opt/iobroker# ./iobroker upgrade s7@1.0.3
! Update s7 from @1.0.2 to @1.0.3
! npm install iobroker.s7@1.0.3 –production --prefix "/opt/iobroker" (System call)
! npm install --production (System call) in "/opt/iobroker/node_modules/iobroker.s7"
! prebuild-install info begin Prebuild-install version 2.3.0
! prebuild-install info looking for local prebuild @ prebuilds/node-snap7-v0.4.0-node-v48-linux-arm.tar.gz
! prebuild-install info looking for cached prebuild @ /root/.npm/_prebuilds/https-github.com-mathiask88-node-snap7-releases-download-v0.4.0-node-snap7-v0.4.0-node-v48-linux-arm.tar.gz
! prebuild-install http request GET https://github.com/mathiask88/node-snap ... arm.tar.gz
! prebuild-install http 404 https://github.com/mathiask88/node-snap ... arm.tar.gz
! prebuild-install WARN install No prebuilt binaries found (target=6.11.2 runtime=node arch=arm platform=linux)
! ../deps/snap7/src/core/s7_isotcp.cpp: In member function ‘int TIsoTcpSocket::IsoConfirmConnection(u_char)’:
! ../deps/snap7/src/core/s7_isotcp.cpp:163:10: warning: variable ‘TempRef’ set but not used [-Wunused-but-set-variable]
! u_short TempRef;
! ^
! ../deps/snap7/src/core/s7_server.cpp: In member function ‘word TS7Worker::ReadArea(PResFunReadItem, PReqFunReadItem, int&, TEv&)’:
! ../deps/snap7/src/core/s7_server.cpp:454:44: warning: ‘BitIndex’ may be used uninitialized in this function [-Wmaybe-uninitialized]
! if ((ByteVal & BitMask[BitIndex])!=0)
! ^
! ../deps/snap7/src/core/s7_server.cpp: In member function ‘byte TS7Worker::WriteArea(PReqFunWriteDataItem, PReqFunWriteItem, TEv&)’:
! ../deps/snap7/src/core/s7_server.cpp:698:41: warning: ‘BitIndex’ may be used uninitialized in this function [-Wmaybe-uninitialized]
! *Target=*Target | BitMask[BitIndex];
! ^
! ../deps/snap7/src/core/s7_micro_client.cpp: In member function ‘int TSnap7MicroClient::opUpload()’:
! ../deps/snap7/src/core/s7_micro_client.cpp:1225:13: warning: ‘BlockLength’ may be used uninitialized in this function [-Wmaybe-uninitialized]
! if (opSize<1)
! ^
! ../src/node_snap7_server.cpp: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE node_snap7::S7Server::RWBufferCallback(Nan::NAN_METHOD_ARGS_TYPE)’:
! ../src/node_snap7_server.cpp:720:56: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
! if (node::Buffer::Length(info[0].Asv8::object()) < size) {
! ^
! got /opt/iobroker/node_modules/iobroker.s7/admin
! upload [11] s7.admin /opt/iobroker/node_modules/iobroker.s7/admin/words.js words.js application/javascript
! upload [10] s7.admin /opt/iobroker/node_modules/iobroker.s7/admin/lib/js/jsgrid.min.js lib/js/jsgrid.min.js application/javascript
! upload [9] s7.admin /opt/iobroker/node_modules/iobroker.s7/admin/lib/js/jsgrid.js lib/js/jsgrid.js application/javascript
! upload [8] s7.admin /opt/iobroker/node_modules/iobroker.s7/admin/lib/js/grid.locale-ru.js lib/js/grid.locale-ru.js application/javascript
! upload [7] s7.admin /opt/iobroker/node_modules/iobroker.s7/admin/lib/js/grid.locale-de.js lib/js/grid.locale-de.js application/javascript
! upload [6] s7.admin /opt/iobroker/node_modules/iobroker.s7/admin/lib/css/jsgrid.min.css lib/css/jsgrid.min.css text/css
! upload [5] s7.admin /opt/iobroker/node_modules/iobroker.s7/admin/lib/css/jsgrid.css lib/css/jsgrid.css text/css
! upload [4] s7.admin /opt/iobroker/node_modules/iobroker.s7/admin/lib/css/jsgrid-theme.min.css lib/css/jsgrid-theme.min.css text/css
! upload [3] s7.admin /opt/iobroker/node_modules/iobroker.s7/admin/lib/css/jsgrid-theme.css lib/css/jsgrid-theme.css text/css
! upload [2] s7.admin /opt/iobroker/node_modules/iobroker.s7/admin/index.html index.html text/html
! upload [1] s7.admin /opt/iobroker/node_modules/iobroker.s7/admin/img/plc_back.png img/plc_back.png image/png
! upload [0] s7.admin /opt/iobroker/node_modules/iobroker.s7/admin/S7.png S7.png image/png
! Adapter "s7" updated
! root@mother:/opt/iobroker#</v8::object>LG
Ralf `
Das sind nur Warnungen. -
Hi,
die "neuste" Version vom S7 Adapter scheint nicht zu funktionieren….
2017-11-29 15:54:51.737 - [32minfo[39m: host.iobroker instance system.adapter.s7.0 started with pid 6857 2017-11-29 15:54:52.143 - [32minfo[39m: s7.0 starting. Version 1.0.3 in /opt/iobroker/node_modules/iobroker.s7, node: v8.9.1 2017-11-29 15:54:52.419 - [31merror[39m: s7.0 Writing DB. Code #TypeError: Cannot read property 'lsb' of undefined 2017-11-29 15:54:52.449 - [31merror[39m: s7.0 uncaught exception: Cannot read property 'lsb' of undefined 2017-11-29 15:54:52.449 - [31merror[39m: s7.0 TypeError: Cannot read property 'lsb' of undefined at /opt/iobroker/node_modules/iobroker.s7/main.js:1187:74 at /opt/iobroker/node_modules/iobroker.s7/node_modules/async/lib/async.js:52:16 at done (/opt/iobroker/node_modules/iobroker.s7/node_modules/async/lib/async.js:246:17) at /opt/iobroker/node_modules/iobroker.s7/node_modules/async/lib/async.js:44:16 at /opt/iobroker/node_modules/iobroker.s7/main.js:1158:33
Sorry für den komischen Log, aber musste es aus der Datei raus kopieren…. `
Bitte 1.0.4 ausprobieren -
Bitte 1.0.4 ausprobieren `
Update hat jetzt geklappt - Danke!
Getestet habe ich noch nicht.
-
Bitte 1.0.4 ausprobieren `
Installation hat erstmal geklappt…..gehe davon aus das der Rest auch geht -
Funktioniert.
Danke!!!
-