NEWS

gelöst - Blockly Baustein erzeugt Compiler Fehler



  • hallo - habe einen blockly compiler fehler, den ich nicht verstehe - bei version 4.1.8 und 4.1.10

    Image 2.png

    entferne ich das zweite object des triggers, funktioniert es

    
    mclighting.0	2019-03-06 09:23:36.333	info	McLighting connect to: 192.168.178.44:81
    javascript.0	2019-03-06 09:23:29.212	info	script.js.Armin_Schalter.DSLSPEEDTEST2: Speedtest Daten aktualisiert
    mclighting.0	2019-03-06 09:23:23.247	info	McLighting connect to: 192.168.178.44:81
    mclighting.0	2019-03-06 09:23:10.159	info	McLighting connect to: 192.168.178.44:81
    javascript.0	2019-03-06 09:23:06.292	error	at TCP.onread (net.js:601:20)
    javascript.0	2019-03-06 09:23:06.292	error	at Socket.Readable.push (_stream_readable.js:208:10)
    javascript.0	2019-03-06 09:23:06.292	error	at readableAddChunk (_stream_readable.js:250:11)
    javascript.0	2019-03-06 09:23:06.292	error	at addChunk (_stream_readable.js:263:12)
    javascript.0	2019-03-06 09:23:06.292	error	at Socket.emit (events.js:211:7)
    javascript.0	2019-03-06 09:23:06.292	error	at emitOne (events.js:116:13)
    javascript.0	2019-03-06 09:23:06.292	error	at Socket._ultron.on (/opt/iobroker/node_modules/iobroker.js-controller/node_modules/ws/lib/WebSocket.js:138:22)
    javascript.0	2019-03-06 09:23:06.292	error	at Receiver.add (/opt/iobroker/node_modules/iobroker.js-controller/node_modules/ws/lib/Receiver.js:139:10)
    javascript.0	2019-03-06 09:23:06.292	error	at Receiver.startLoop (/opt/iobroker/node_modules/iobroker.js-controller/node_modules/ws/lib/Receiver.js:165:16)
    javascript.0	2019-03-06 09:23:06.292	error	at Receiver.getData (/opt/iobroker/node_modules/iobroker.js-controller/node_modules/ws/lib/Receiver.js:330:12)
    javascript.0	2019-03-06 09:23:06.292	error	at Receiver.dataMessage (/opt/iobroker/node_modules/iobroker.js-controller/node_modules/ws/lib/Receiver.js:389:14)
    javascript.0	2019-03-06 09:23:06.292	error	at Receiver._receiver.onmessage (/opt/iobroker/node_modules/iobroker.js-controller/node_modules/ws/lib/WebSocket.js:141:47)
    javascript.0	2019-03-06 09:23:06.292	error	at WebSocket.emit (events.js:211:7)
    javascript.0	2019-03-06 09:23:06.292	error	at emitOne (events.js:116:13)
    javascript.0	2019-03-06 09:23:06.292	error	at WebSocket.onMessage (/opt/iobroker/node_modules/iobroker.js-controller/node_modules/ws/lib/EventTarget.js:99:16)
    javascript.0	2019-03-06 09:23:06.292	error	at WebSocket.ws.onmessage (/opt/iobroker/node_modules/iobroker.js-controller/node_modules/engine.io-client/lib/transports/websocket.js:147:10)
    javascript.0	2019-03-06 09:23:06.292	error	at WS.Transport.onData (/opt/iobroker/node_modules/iobroker.js-controller/node_modules/engine.io-client/lib/transport.js:137:8)
    javascript.0	2019-03-06 09:23:06.292	error	at WS.Transport.onPacket (/opt/iobroker/node_modules/iobroker.js-controller/node_modules/engine.io-client/lib/transport.js:145:8)
    javascript.0	2019-03-06 09:23:06.292	error	at WS.Emitter.emit (/opt/iobroker/node_modules/component-emitter/index.js:133:20)
    javascript.0	2019-03-06 09:23:06.292	error	at WS.<anonymous> (/opt/iobroker/node_modules/iobroker.js-controller/node_modules/engine.io-client/lib/socket.js:273:10)
    javascript.0	2019-03-06 09:23:06.292	error	at Socket.onPacket (/opt/iobroker/node_modules/iobroker.js-controller/node_modules/engine.io-client/lib/socket.js:456:14)
    javascript.0	2019-03-06 09:23:06.292	error	at Socket.Emitter.emit (/opt/iobroker/node_modules/component-emitter/index.js:133:20)
    javascript.0	2019-03-06 09:23:06.291	error	at Socket.<anonymous> (/opt/iobroker/node_modules/component-bind/index.js:21:15)
    javascript.0	2019-03-06 09:23:06.291	error	at Manager.ondata (/opt/iobroker/node_modules/iobroker.js-controller/node_modules/socket.io-client/lib/manager.js:335:16)
    javascript.0	2019-03-06 09:23:06.291	error	at Decoder.add (/opt/iobroker/node_modules/iobroker.js-controller/node_modules/socket.io-parser/index.js:251:12)
    javascript.0	2019-03-06 09:23:06.291	error	at Decoder.Emitter.emit (/opt/iobroker/node_modules/component-emitter/index.js:133:20)
    javascript.0	2019-03-06 09:23:06.291	error	at Decoder.<anonymous> (/opt/iobroker/node_modules/component-bind/index.js:21:15)
    javascript.0	2019-03-06 09:23:06.291	error	at Manager.ondecoded (/opt/iobroker/node_modules/iobroker.js-controller/node_modules/socket.io-client/lib/manager.js:345:8)
    javascript.0	2019-03-06 09:23:06.291	error	at Manager.Emitter.emit (/opt/iobroker/node_modules/component-emitter/index.js:133:20)
    javascript.0	2019-03-06 09:23:06.291	error	at Manager.<anonymous> (/opt/iobroker/node_modules/component-bind/index.js:21:15)
    javascript.0	2019-03-06 09:23:06.291	error	at Socket.onpacket (/opt/iobroker/node_modules/iobroker.js-controller/node_modules/socket.io-client/lib/socket.js:244:12)
    javascript.0	2019-03-06 09:23:06.291	error	at Socket.onack (/opt/iobroker/node_modules/iobroker.js-controller/node_modules/socket.io-client/lib/socket.js:319:9)
    javascript.0	2019-03-06 09:23:06.291	error	at Socket.adapter.getForeignState (/opt/iobroker/node_modules/iobroker.javascript/main.js:745:17)
    javascript.0	2019-03-06 09:23:06.291	error	at createProblemObject (/opt/iobroker/node_modules/iobroker.javascript/main.js:1123:17)
    javascript.0	2019-03-06 09:23:06.291	error	at prepareScript (/opt/iobroker/node_modules/iobroker.javascript/main.js:1070:37)
    javascript.0	2019-03-06 09:23:06.291	error	at compile (/opt/iobroker/node_modules/iobroker.javascript/main.js:878:28)
    javascript.0	2019-03-06 09:23:06.291	error	at Object.createScript (vm.js:80:10)
    javascript.0	2019-03-06 09:23:06.291	error	SyntaxError: Invalid or unexpected token
    javascript.0	2019-03-06 09:23:06.291	error	^^^^^^^^^
    javascript.0	2019-03-06 09:23:06.291	error	on({id: new RegExp(getState\\("controll-own\\.0\\.BANANAMPD\\.BananeLAUTER"\\)\\.val + "|" + getState\\("controll-own\\.0\\.BANANAMPD\\.BananeLEISER"\\)\\.val), change: "ne"}, function (obj) {
    javascript.0	2019-03-06 09:23:06.291	error	script.js.Armin_Schalter.BANANE_MPD.BananeLautstärke compile failed: at script.js.Armin_Schalter.BANANE_MPD.BananeLautstärke:1
    

    hat jmd einen rat?


  • Forum Testing Most Active

    @liv-in-sky
    Warum machst Du da als Trigger Bausteine rein ?
    Mach die mal weg und klick einfach rein in das Feld.



  • weil ich dooo..f bin

    überarbeite gerade viele scripts - ich glaub ich brauch ne pause

    danke @dslraser


Log in to reply
 

Suggested Topics

  • 41
  • 37
  • 41
  • 17
  • 6
  • 3
  • 31
  • 10

1.8k
Online

32.2k
Users

38.9k
Topics

526.7k
Posts