Skip to content
  • Home
  • Recent
  • Tags
  • 0 Unread 0
  • Categories
  • Unreplied
  • Popular
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Error/Bug
  4. Script editor - problem after change sc_xx option

NEWS

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    22
    1
    1.2k

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    9.2k

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    14
    1
    2.4k

Script editor - problem after change sc_xx option

Scheduled Pinned Locked Moved Unsolved Error/Bug
script editorcron mode
8 Posts 5 Posters 1.1k Views 4 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    mguc
    wrote on last edited by
    #1

    When i try to edit js script in scripts tab after pressed CRON icon:
    script - crono 1a.png
    and change to sc_simple or sc_cron i see.. nothing:
    script - crono 1b.png
    (it's dark mode example - for light mode is the same problem...)

    AlCalzoneA 1 Reply Last reply
    0
    • M mguc

      When i try to edit js script in scripts tab after pressed CRON icon:
      script - crono 1a.png
      and change to sc_simple or sc_cron i see.. nothing:
      script - crono 1b.png
      (it's dark mode example - for light mode is the same problem...)

      AlCalzoneA Offline
      AlCalzoneA Offline
      AlCalzone
      Developer
      wrote on last edited by
      #2

      @mguc That looks like an error. Please open the browser console (F12) and check if there are any errors logged.

      Warum `sudo` böse ist: https://forum.iobroker.net/post/17109

      M 1 Reply Last reply
      0
      • AlCalzoneA AlCalzone

        @mguc That looks like an error. Please open the browser console (F12) and check if there are any errors logged.

        M Offline
        M Offline
        mguc
        wrote on last edited by
        #3

        @AlCalzone

        SC_SIMPLE console log:

        jquery.fancytree-all.js:113 Fancytree@1 Fancytree.filterNodes() leavesOnly option is deprecated since 2.9.0 / 2015-04-19. Use opts.leavesOnly instead.
        v @ jquery.fancytree-all.js:113
        Connection.js:250 Subscribe logs
        blockly_compressed.js:893 WARNING: No message string for %{BKY_TEXT_APPEND_TOOLTIP}.
        blockly_compressed.js:893 WARNING: No message string for %{BKY_LOGIC_COMPARE_TOOLTIP_EQ}.
        blockly_compressed.js:893 WARNING: No message string for %{BKY_LOGIC_COMPARE_TOOLTIP_NEQ}.
        blockly_compressed.js:893 WARNING: No message string for %{BKY_LOGIC_COMPARE_TOOLTIP_LT}.
        blockly_compressed.js:893 WARNING: No message string for %{BKY_LOGIC_COMPARE_TOOLTIP_LTE}.
        blockly_compressed.js:893 WARNING: No message string for %{BKY_LOGIC_COMPARE_TOOLTIP_GT}.
        blockly_compressed.js:893 WARNING: No message string for %{BKY_LOGIC_COMPARE_TOOLTIP_GTE}.
        blockly_compressed.js:893 WARNING: No message string for %{BKY_LOGIC_OPERATION_TOOLTIP_AND}.
        blockly_compressed.js:893 WARNING: No message string for %{BKY_LOGIC_OPERATION_TOOLTIP_OR}.
        blockly_compressed.js:893 WARNING: No message string for %{BKY_CONTROLS_WHILEUNTIL_TOOLTIP_WHILE}.
        blockly_compressed.js:893 WARNING: No message string for %{BKY_CONTROLS_WHILEUNTIL_TOOLTIP_UNTIL}.
        blockly_compressed.js:893 WARNING: No message string for %{BKY_CONTROLS_FLOW_STATEMENTS_TOOLTIP_BREAK}.
        blockly_compressed.js:893 WARNING: No message string for %{BKY_CONTROLS_FLOW_STATEMENTS_TOOLTIP_CONTINUE}.
        blockly_compressed.js:893 WARNING: No message string for %{BKY_CONTROLS_FOR_TOOLTIP}.
        blockly_compressed.js:893 WARNING: No message string for %{BKY_CONTROLS_FOREACH_TOOLTIP}.
        blockly_compressed.js:893 WARNING: No message string for %{BKY_MATH_ARITHMETIC_TOOLTIP_ADD}.
        blockly_compressed.js:893 WARNING: No message string for %{BKY_MATH_ARITHMETIC_TOOLTIP_MINUS}.
        blockly_compressed.js:893 WARNING: No message string for %{BKY_MATH_ARITHMETIC_TOOLTIP_MULTIPLY}.
        blockly_compressed.js:893 WARNING: No message string for %{BKY_MATH_ARITHMETIC_TOOLTIP_DIVIDE}.
        blockly_compressed.js:893 WARNING: No message string for %{BKY_MATH_ARITHMETIC_TOOLTIP_POWER}.
        blockly_compressed.js:893 WARNING: No message string for %{BKY_MATH_SINGLE_TOOLTIP_ROOT}.
        blockly_compressed.js:893 WARNING: No message string for %{BKY_MATH_SINGLE_TOOLTIP_ABS}.
        blockly_compressed.js:893 WARNING: No message string for %{BKY_MATH_SINGLE_TOOLTIP_NEG}.
        blockly_compressed.js:893 WARNING: No message string for %{BKY_MATH_SINGLE_TOOLTIP_LN}.
        blockly_compressed.js:893 WARNING: No message string for %{BKY_MATH_SINGLE_TOOLTIP_LOG10}.
        blockly_compressed.js:893 WARNING: No message string for %{BKY_MATH_SINGLE_TOOLTIP_EXP}.
        blockly_compressed.js:893 WARNING: No message string for %{BKY_MATH_SINGLE_TOOLTIP_POW10}.
        blockly_compressed.js:893 WARNING: No message string for %{BKY_MATH_TRIG_TOOLTIP_SIN}.
        blockly_compressed.js:893 WARNING: No message string for %{BKY_MATH_TRIG_TOOLTIP_COS}.
        blockly_compressed.js:893 WARNING: No message string for %{BKY_MATH_TRIG_TOOLTIP_TAN}.
        blockly_compressed.js:893 WARNING: No message string for %{BKY_MATH_TRIG_TOOLTIP_ASIN}.
        blockly_compressed.js:893 WARNING: No message string for %{BKY_MATH_TRIG_TOOLTIP_ACOS}.
        blockly_compressed.js:893 WARNING: No message string for %{BKY_MATH_TRIG_TOOLTIP_ATAN}.
        blockly_compressed.js:893 WARNING: No message string for %{BKY_MATH_ONLIST_TOOLTIP_SUM}.
        blockly_compressed.js:893 WARNING: No message string for %{BKY_MATH_ONLIST_TOOLTIP_MIN}.
        blockly_compressed.js:893 WARNING: No message string for %{BKY_MATH_ONLIST_TOOLTIP_MAX}.
        blockly_compressed.js:893 WARNING: No message string for %{BKY_MATH_ONLIST_TOOLTIP_AVERAGE}.
        blockly_compressed.js:893 WARNING: No message string for %{BKY_MATH_ONLIST_TOOLTIP_MEDIAN}.
        blockly_compressed.js:893 WARNING: No message string for %{BKY_MATH_ONLIST_TOOLTIP_MODE}.
        blockly_compressed.js:893 WARNING: No message string for %{BKY_MATH_ONLIST_TOOLTIP_STD_DEV}.
        blockly_compressed.js:893 WARNING: No message string for %{BKY_MATH_ONLIST_TOOLTIP_RANDOM}.
        blockly_compressed.js:893 WARNING: No message string for %{BKY_MATH_CHANGE_TOOLTIP}.
        BlocklyEditor.js:94 Detected custom blockly: email
        SelectID.js:1077 render
        SelectID.js:1077 render
        SelectID.js:1077 render
        SelectID.js:1077 render
        react-dom.production.min.js:4408 TypeError: Cannot read property 'Every' of undefined
            at cron2text.js:395
            at Ps (cron2text.js:507)
            at Ys (cronText.js:43)
            at t.value (SimpleCron.js:611)
            at Ti (react-dom.production.min.js:3785)
            at Mi (react-dom.production.min.js:3776)
            at ji (react-dom.production.min.js:3960)
            at $a (react-dom.production.min.js:5514)
            at qa (react-dom.production.min.js:5536)
            at Tl (react-dom.production.min.js:5958)
        fa @ react-dom.production.min.js:4408
        react-dom.production.min.js:5940 Uncaught TypeError: Cannot read property 'Every' of undefined
            at cron2text.js:395
            at Ps (cron2text.js:507)
            at Ys (cronText.js:43)
            at t.value (SimpleCron.js:611)
            at Ti (react-dom.production.min.js:3785)
            at Mi (react-dom.production.min.js:3776)
            at ji (react-dom.production.min.js:3960)
            at $a (react-dom.production.min.js:5514)
            at qa (react-dom.production.min.js:5536)
            at Tl (react-dom.production.min.js:5958) 
        

        SC_CRON console log

        react-dom.production.min.js:4408 TypeError: Cannot read property 'Every' of undefined
            at cron2text.js:395
            at Ps (cron2text.js:507)
            at Ys (cronText.js:43)
            at t.value (ComplexCron.js:372)
            at t.value (ComplexCron.js:383)
            at Ti (react-dom.production.min.js:3785)
            at Mi (react-dom.production.min.js:3776)
            at ji (react-dom.production.min.js:3960)
            at $a (react-dom.production.min.js:5514)
            at qa (react-dom.production.min.js:5536)
        fa @ react-dom.production.min.js:4408
        react-dom.production.min.js:5940 Uncaught TypeError: Cannot read property 'Every' of undefined
            at cron2text.js:395
            at Ps (cron2text.js:507)
            at Ys (cronText.js:43)
            at t.value (ComplexCron.js:372)
            at t.value (ComplexCron.js:383)
            at Ti (react-dom.production.min.js:3785)
            at Mi (react-dom.production.min.js:3776)
            at ji (react-dom.production.min.js:3960)
            at $a (react-dom.production.min.js:5514)
            at qa (react-dom.production.min.js:5536)
        
        1 Reply Last reply
        0
        • BluefoxB Offline
          BluefoxB Offline
          Bluefox
          wrote on last edited by
          #4

          What the language do you have selected?

          M 1 Reply Last reply
          0
          • BluefoxB Bluefox

            What the language do you have selected?

            M Offline
            M Offline
            mguc
            wrote on last edited by
            #5

            @Bluefox
            Polish (Polski). Now i switch on english.. and all works.

            BluefoxB 1 Reply Last reply
            0
            • M mguc

              @Bluefox
              Polish (Polski). Now i switch on english.. and all works.

              BluefoxB Offline
              BluefoxB Offline
              Bluefox
              wrote on last edited by
              #6

              @mguc PL is really missed by cron.
              But now in the latest version of "javascript" (4.1.14) there is a fallback to english.

              May be can you extend in this file the "pl" part?
              https://github.com/ioBroker/ioBroker.javascript/blob/master/src/src/Components/simple-cron/jquery.cron.locale.js

              M 1 Reply Last reply
              0
              • BluefoxB Bluefox

                @mguc PL is really missed by cron.
                But now in the latest version of "javascript" (4.1.14) there is a fallback to english.

                May be can you extend in this file the "pl" part?
                https://github.com/ioBroker/ioBroker.javascript/blob/master/src/src/Components/simple-cron/jquery.cron.locale.js

                M Offline
                M Offline
                mguc
                wrote on last edited by
                #7

                @Bluefox

                JQUERY_CRON_LOCALE.pl = {
                    ORDINALS: {
                        th: 'th',
                        st: 'st',
                        nd: 'nd',
                        rd: 'rd'
                    },
                    MONTH: [ //short or full names
                        'Sty', or 'Styczeń'
                        'Lut', or 'Luty'
                        'Mar', or 'Marzec'
                        'Kwi', or 'Kwiecień'
                        'Maj', or 'Maj'
                        'Cze', or 'Czerwiec'
                        'Lip', or 'Lipiec'
                        'Sie', or 'Sierpień'
                        'Wrz', or 'Wrzesień'
                        'Paź', or 'Październik'
                        'Lis', or 'Listopad'
                        'Gru'  or 'Grudzień'
                    ],
                    DOW: [ //short or full days name
                        'Nie', or 'Niedziela'
                        'Pon', or 'Poniedziałek'
                        'Wto', or 'Wtorek'
                        'Śro', or 'Środa'
                        'Czw', or 'Czwartek'
                        'Pią', or 'Piątek'
                        'Sob' or 'Sobota
                    ],
                    'Every':            'Każde(go)', // start of expression
                    'and':              'i', // 1, 2, 3 and 15th
                    'every day':        'codziennie',
                    'minute past the':  'minut po', //minute past the hour ?
                    'hour':             'godzina',
                    'minute':           'minut(a)',
                    'minute of':        'minut po',
                    'second':           'sekunda',
                    'second in minute': 'sekund na minutę',
                    'second of every':  'sekund co',
                    'minute every hour': 'minut co godzinę',
                    'on the':           'w',
                    'of every month':   'każdego miesiąca',
                    'and every':        'i każdego',
                    'At':               'O',
                    'on':               'w', // on sun, mon
                    'in':               'w' // in jan, apr
                };
                

                The Polish language version is a very important and joyful element of using this program for me (and especially for other members of my family)

                1 Reply Last reply
                1
                • S Offline
                  S Offline
                  shamsmehra90
                  wrote on last edited by shamsmehra90
                  #8

                  Hi,
                  i have same issue but bit different can any one help me, please just reply asap
                  Regards..

                  1 Reply Last reply
                  0
                  Reply
                  • Reply as topic
                  Log in to reply
                  • Oldest to Newest
                  • Newest to Oldest
                  • Most Votes


                  Support us

                  ioBroker
                  Community Adapters
                  Donate

                  620

                  Online

                  32.5k

                  Users

                  81.7k

                  Topics

                  1.3m

                  Posts
                  Community
                  Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                  ioBroker Community 2014-2025
                  logo
                  • Login

                  • Don't have an account? Register

                  • Login or register to search.
                  • First post
                    Last post
                  0
                  • Home
                  • Recent
                  • Tags
                  • Unread 0
                  • Categories
                  • Unreplied
                  • Popular
                  • GitHub
                  • Docu
                  • Hilfe