Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. Script Engine v4.6.4 / v 4.6.6 Fehler Blockly Timeouts

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    UNSOLVED Script Engine v4.6.4 / v 4.6.6 Fehler Blockly Timeouts

    This topic has been deleted. Only users with topic management privileges can see it.
    • V
      varg last edited by varg

      Node.js
      v10.20.1 (Empfohlene Version v12.16.3)
      NPM
      6.14.4`

      scriptengine v4.6.6

      blockly scripts with timers.

      After updating many scripts do not show the stop timeout / timeout combination block the right way
      After trying to correct it the script fails to compile.

      After updating script engine to 4.6.6 i still cannot change the stop timout blockly without error.

      Example. 3 Stop timeout / timeout combinations inside the script. Second timeout combination starts with stop timeout / timeout 2 . As soon as i try to set stop timeout 2 / timeout 2 it fails to save

      does not save the script changes for timeouts shows errors also after iobroker fixer and reboot

      `

      javascript.0 2020-05-16 10:47:58.642 error (2852) at process._tickCallback (internal/process/next_tick.js:68:7)
      javascript.0 2020-05-16 10:47:58.641 error (2852) at promise.then (/opt/iobroker/node_modules/standard-as-callback/built/index.js:19:49)
      javascript.0 2020-05-16 10:47:58.641 error (2852) at tryCatcher (/opt/iobroker/node_modules/standard-as-callback/built/utils.js:11:23)
      javascript.0 2020-05-16 10:47:58.641 error (2852) at client.get (/opt/iobroker/node_modules/iobroker.js-controller/lib/states/statesInRedis.js:616:17)
      javascript.0 2020-05-16 10:47:58.641 error (2852) at adapter.getForeignState (/opt/iobroker/node_modules/iobroker.javascript/main.js:1109:17)
      javascript.0 2020-05-16 10:47:58.641 error (2852) at createProblemObject (/opt/iobroker/node_modules/iobroker.javascript/main.js:1518:17)
      javascript.0 2020-05-16 10:47:58.641 error (2852) at prepareScript (/opt/iobroker/node_modules/iobroker.javascript/main.js:1465:37)
      javascript.0 2020-05-16 10:47:58.641 error (2852) at compile (/opt/iobroker/node_modules/iobroker.javascript/main.js:1242:28)
      javascript.0 2020-05-16 10:47:58.640 error (2852) at Object.createScript (vm.js:277:10)
      javascript.0 2020-05-16 10:47:58.640 error (2852) at new Script (vm.js:83:7)
      javascript.0 2020-05-16 10:47:58.640 error (2852) SyntaxError: Unexpected token )
      javascript.0 2020-05-16 10:47:58.640 error (2852) ^
      javascript.0 2020-05-16 10:47:58.640 error (2852) (function () {if () {clearTimeout(); = null;}})();
      javascript.0 2020-05-16 10:47:58.639 error at script.js.common.lichtkontrolle_wohnzimmer2:11
      javascript.0 2020-05-16 10:47:58.639 error (2852) script.js.common.lichtkontrolle_wohnzimmer2 compile failed:

      `

      `

      javascript.0 2020-05-16 10:21:50.439 error (15668) at process._tickCallback (internal/process/next_tick.js:68:7)
      javascript.0 2020-05-16 10:21:50.439 error (15668) at promise.then (/opt/iobroker/node_modules/standard-as-callback/built/index.js:19:49)
      javascript.0 2020-05-16 10:21:50.439 error (15668) at tryCatcher (/opt/iobroker/node_modules/standard-as-callback/built/utils.js:11:23)
      javascript.0 2020-05-16 10:21:50.439 error (15668) at client.get (/opt/iobroker/node_modules/iobroker.js-controller/lib/states/statesInRedis.js:616:17)
      javascript.0 2020-05-16 10:21:50.438 error (15668) at adapter.getForeignState (/opt/iobroker/node_modules/iobroker.javascript/main.js:1109:17)
      javascript.0 2020-05-16 10:21:50.438 error (15668) at createProblemObject (/opt/iobroker/node_modules/iobroker.javascript/main.js:1518:17)
      javascript.0 2020-05-16 10:21:50.438 error (15668) at prepareScript (/opt/iobroker/node_modules/iobroker.javascript/main.js:1465:37)
      javascript.0 2020-05-16 10:21:50.438 error (15668) at compile (/opt/iobroker/node_modules/iobroker.javascript/main.js:1242:28)
      javascript.0 2020-05-16 10:21:50.436 error (15668) at Object.createScript (vm.js:277:10)
      javascript.0 2020-05-16 10:21:50.435 error (15668) at new Script (vm.js:83:7)
      javascript.0 2020-05-16 10:21:50.435 error (15668) SyntaxError: Unexpected token )
      javascript.0 2020-05-16 10:21:50.435 error (15668) ^
      javascript.0 2020-05-16 10:21:50.434 error (15668) (function () {if () {clearTimeout(); = null;}})();
      javascript.0 2020-05-16 10:21:50.434 error at script.js.common.lichtkontrolle_wohnzimmer:9
      javascript.0 2020-05-16 10:21:50.434 error (15668) script.js.common.lichtkontrolle_wohnzimmer compile failed:

      `

      `

      javascript.0 2020-05-16 10:01:17.902 error (7330) at process._tickCallback (internal/process/next_tick.js:68:7)
      javascript.0 2020-05-16 10:01:17.902 error (7330) at promise.then (/opt/iobroker/node_modules/standard-as-callback/built/index.js:19:49)
      javascript.0 2020-05-16 10:01:17.901 error (7330) at tryCatcher (/opt/iobroker/node_modules/standard-as-callback/built/utils.js:11:23)
      javascript.0 2020-05-16 10:01:17.901 error (7330) at client.get (/opt/iobroker/node_modules/iobroker.js-controller/lib/states/statesInRedis.js:616:17)
      javascript.0 2020-05-16 10:01:17.901 error (7330) at adapter.getForeignState (/opt/iobroker/node_modules/iobroker.javascript/main.js:1105:17)
      javascript.0 2020-05-16 10:01:17.900 error (7330) at createProblemObject (/opt/iobroker/node_modules/iobroker.javascript/main.js:1514:17)
      javascript.0 2020-05-16 10:01:17.900 error (7330) at prepareScript (/opt/iobroker/node_modules/iobroker.javascript/main.js:1461:37)
      javascript.0 2020-05-16 10:01:17.899 error (7330) at compile (/opt/iobroker/node_modules/iobroker.javascript/main.js:1238:28)
      javascript.0 2020-05-16 10:01:17.899 error (7330) at Object.createScript (vm.js:277:10)
      javascript.0 2020-05-16 10:01:17.899 error (7330) at new Script (vm.js:83:7)
      javascript.0 2020-05-16 10:01:17.898 error (7330) SyntaxError: Unexpected token )
      javascript.0 2020-05-16 10:01:17.894 error (7330) ^
      javascript.0 2020-05-16 10:01:17.893 error (7330) (function () {if () {clearTimeout(); = null;}})();
      javascript.0 2020-05-16 10:01:17.893 error at script.js.common.lichtkontrolle_wohnzimmer:9
      javascript.0 2020-05-16 10:01:17.893 error (7330) script.js.common.lichtkontrolle_wohnzimmer compile failed:

      `

      1 Reply Last reply Reply Quote 0
      • A
        arnold last edited by

        Hallo
        nach dem update au 4.6.4
        das gleiche auch bei mir !!!
        dc4375f6-39fd-4821-88ec-7f407feefc0a-image.png
        Verzögerung kann man nur anklicken aber zeit nicht einstellen .
        bei allen Skripten

        1 Reply Last reply Reply Quote 0
        • L
          Lstt last edited by

          Another error!
          Скриншот 16-05-2020 135850.jpg

          Glasfaser 1 Reply Last reply Reply Quote 0
          • Glasfaser
            Glasfaser @Lstt last edited by

            Update auf 4.6.7 !!

            Thomas Braun 1 Reply Last reply Reply Quote 1
            • Thomas Braun
              Thomas Braun Most Active @Glasfaser last edited by

              @Glasfaser
              Hier noch nicht:

              Adapter    "javascript"    : 4.6.4    , installed 4.6.4
              
              Glasfaser 1 Reply Last reply Reply Quote 0
              • Glasfaser
                Glasfaser @Thomas Braun last edited by

                @Thomas-Braun

                ja ... die Repo ist noch nicht aktuell ... kommt noch !

                1 Reply Last reply Reply Quote 0
                • R
                  Rushmed Most Active last edited by

                  Bei mir sind in Scripten auch teilweise die Timeoutstopps verschwunden:
                  af7a3201-9fe1-417a-a87c-b1e0faae3745-grafik.png

                  4.6.4

                  J 1 Reply Last reply Reply Quote 0
                  • J
                    Jan1 @Rushmed last edited by Jan1

                    @Rushmed
                    Hab ich gerade ein Issues dazu angelegt und noch nerviger, diese Version lässt sich nicht mehr downgraden. Bin mit nem Backup wieder zurück auf 4.5.1.
                    Die Version über Github ist übrigens genau so buggy. also bevor einer auf die Idee kommt 🙂

                    Edit:
                    heute ist nicht mein Tag, da gibts ja schon ein Issues dazu

                    1 Reply Last reply Reply Quote 0
                    • R
                      Rushmed Most Active last edited by

                      Danke 👍

                      1 Reply Last reply Reply Quote 0
                      • First post
                        Last post

                      Support us

                      ioBroker
                      Community Adapters
                      Donate

                      856
                      Online

                      31.7k
                      Users

                      79.9k
                      Topics

                      1.3m
                      Posts

                      timeout scriptengine
                      7
                      9
                      463
                      Loading More Posts
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes
                      Reply
                      • Reply as topic
                      Log in to reply
                      Community
                      Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                      The ioBroker Community 2014-2023
                      logo