Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. JavaScript
    5. [gelöst]finde fehler im script nicht

    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

    [gelöst]finde fehler im script nicht

    This topic has been deleted. Only users with topic management privileges can see it.
    • liv-in-sky
      liv-in-sky @Homoran last edited by

      @homoran hat alles ganz gut funktioniert

      AApossis (91).gif

      1 Reply Last reply Reply Quote 0
      • Homoran
        Homoran Global Moderator Administrators @liv-in-sky last edited by

        @liv-in-sky sagte in finde fehler im script nicht:

        @homoran

        das ist alles , was kommt

        editiert du hast! 😂

        vielleicht sieht @paul53 da mehr.
        IMHO müsste da Zeile und Spalte stehen.
        Zeile 375 gibt es nicht in deinem Spoiler

        Hast du globale Skripte?

        liv-in-sky paul53 3 Replies Last reply Reply Quote 0
        • liv-in-sky
          liv-in-sky @Homoran last edited by

          @homoran ja - aber da habe ich nichts gemacht - ich stoppe die mal

          gutes auge - das script ist ja nicht so lang !!

          1 Reply Last reply Reply Quote 0
          • paul53
            paul53 @Homoran last edited by

            @homoran sagte: Hast du globale Skripte?

            Zeile 3 lässt vermuten, dass ein globales Skript diesen Fehler verursacht.

            liv-in-sky 1 Reply Last reply Reply Quote 0
            • liv-in-sky
              liv-in-sky @Homoran last edited by

              @homoran nee - ist genau die selbe fehlermeldung - ohne die globalen scripte

              1 Reply Last reply Reply Quote 0
              • liv-in-sky
                liv-in-sky @paul53 last edited by

                @paul53 alle aus - war eh nur eines aktiv

                Image 2.png

                paul53 1 Reply Last reply Reply Quote 0
                • paul53
                  paul53 @liv-in-sky last edited by

                  @liv-in-sky sagte: alle aus

                  Dann starte mal die JS-Instanz neu.

                  liv-in-sky 2 Replies Last reply Reply Quote 0
                  • liv-in-sky
                    liv-in-sky @paul53 last edited by

                    @paul53 ist schon gemacht worden - abe rich starte mal alle 3 instanzen neu

                    1 Reply Last reply Reply Quote 0
                    • liv-in-sky
                      liv-in-sky @paul53 last edited by

                      @paul53 bringt auch nichts

                      kann es sein, dass irgendwelche variablen nicht vorhanden sind - ist der script aufbau in ordnung

                      paul53 1 Reply Last reply Reply Quote 0
                      • paul53
                        paul53 @liv-in-sky last edited by

                        @liv-in-sky sagte: ist der script aufbau in ordnung

                        Kann ich nicht sagen, da einige HTML-typische Sachen enthalten sind, womit ich mich nicht auskenne.

                        liv-in-sky 2 Replies Last reply Reply Quote 0
                        • liv-in-sky
                          liv-in-sky @paul53 last edited by

                          @paul53 die html sachen sind ja alle als string dring - die wären nur interessant, wenn ich im browser ein problem hätte

                          ich dachte immer, dass der eine apostroph reicht, um das als string zu implementieren

                          ich habe auch eine ältere version, mit den selbem html sachen - da kommt auch kein fehler

                          das dumme ist, ich kann nicht mal nachsehen, wo es stehen bleibt, weil der compiler meckert und das script nicht beginnt

                          1 Reply Last reply Reply Quote 0
                          • liv-in-sky
                            liv-in-sky @paul53 last edited by

                            @paul53

                            ich habe mal die ganzen html sachen auskommentiert - selbes problem

                            z.b.

                            Image 3.png

                            paul53 1 Reply Last reply Reply Quote 0
                            • paul53
                              paul53 @liv-in-sky last edited by

                              @liv-in-sky
                              Die for-Schleife in Zeile 300 hat keine schließende geschweifte Klammer (Zeile 304).

                              liv-in-sky Homoran 2 Replies Last reply Reply Quote 2
                              • liv-in-sky
                                liv-in-sky @paul53 last edited by

                                @paul53

                                super - tausend dank - habe wohl zu viel programmiert

                                das war's - geht wieder

                                1 Reply Last reply Reply Quote 1
                                • Homoran
                                  Homoran Global Moderator Administrators @paul53 last edited by

                                  @paul53 sagte in [gelöst]finde fehler im script nicht:

                                  @liv-in-sky
                                  Die for-Schleife in Zeile 300 hat keine schließende geschweifte Klammer (Zeile 304).

                                  und dann wartet das Skript bis zum Ende und wirft den Fehler nach der letzten Zeile?

                                  liv-in-sky 1 Reply Last reply Reply Quote 0
                                  • liv-in-sky
                                    liv-in-sky @Homoran last edited by

                                    @homoran

                                    eigentlich wird sowas jaim editor angezeigt - habe wohl bei aufräumen der log-reste die klammer gelöscht

                                    Homoran 1 Reply Last reply Reply Quote 0
                                    • Homoran
                                      Homoran Global Moderator Administrators @liv-in-sky last edited by

                                      @liv-in-sky sagte in [gelöst]finde fehler im script nicht:

                                      @homoran

                                      eigentlich wird sowas jaim editor angezeigt - habe wohl bei aufräumen der log-reste die klammer gelöscht

                                      alles gut.
                                      ich frage mich nur warum im log als Position des Fehlers die erste Zeile nach dem Skript genannt ist.
                                      Als ob der Compiler noch bis zum letzten Zeichen auf die schließende Klammer gewartet hätte bevor er Alarm schlägt.

                                      liv-in-sky 1 Reply Last reply Reply Quote 0
                                      • liv-in-sky
                                        liv-in-sky @Homoran last edited by

                                        @homoran

                                        ich teste morgen nochmal alles durch - dann gibt es das update

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

                                        Support us

                                        ioBroker
                                        Community Adapters
                                        Donate

                                        604
                                        Online

                                        31.8k
                                        Users

                                        80.0k
                                        Topics

                                        1.3m
                                        Posts

                                        javascript
                                        3
                                        21
                                        456
                                        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