Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. [gelöst] BUG: sayit funktioniert bei win nicht zuverlässig.

    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 [gelöst] BUG: sayit funktioniert bei win nicht zuverlässig.

    This topic has been deleted. Only users with topic management privileges can see it.
    • apollon77
      apollon77 @bahnuhr last edited by

      @bahnuhr Fehler 25 sagt nur das irgendwas rechtemässig in deinem npm verzeichnis npm selbst blockt was zu tun. ein grund mehr ... schau was er anmeckert und lösche das manuell

      1 Reply Last reply Reply Quote 0
      • apollon77
        apollon77 last edited by

        ABER WARTE KURZ!!!! Die GitHub version hat nen Fehler ... lass mich nochmal fixen

        1 Reply Last reply Reply Quote 0
        • apollon77
          apollon77 last edited by

          JETZT bitte nochmal versuchen

          sigi234 1 Reply Last reply Reply Quote 0
          • sigi234
            sigi234 Forum Testing Most Active @apollon77 last edited by sigi234

            @apollon77 sagte in BUG: sayit funktioniert unter win nicht zuverlässig.:

            JETZT bitte nochmal versuchen

            Keine Datei im Ordner

            sayit.0	2020-07-27 18:49:24.451	debug	(21828) Duration "a b c ": 4
            sayit.0	2020-07-27 18:49:24.442	info	(21828) saying: a b c
            sayit.0	2020-07-27 18:49:15.433	debug	(21828) Duration "C:\Program Files\iobroker\Test\node_modules\iobroker.sayit/gong.mp3": 9
            sayit.0	2020-07-27 18:49:15.379	info	(21828) saying: C:\Program Files\iobroker\Test\node_modules\iobroker.sayit/gong.mp3
            javascript.0	2020-07-27 18:49:15.375	info	(27232) script.js.Test.sayit: registered 0 subscriptions and 0 schedules
            javascript.0	2020-07-27 18:49:15.370	info	(27232) Start javascript script.js.Test.sayit
            javascript.0	2020-07-27 18:49:15.363	info	(27232) Stop script script.js.Test.sayit
            sayit.0	2020-07-27 18:48:50.439	debug	(21828) system.adapter.admin.0: logging true
            sayit.0	2020-07-27 18:48:44.846	info	(21828) All files uploaded
            sayit.0	2020-07-27 18:48:44.714	info	(21828) Upload announce mp3 files
            sayit.0	2020-07-27 18:48:44.692	info	(21828) starting. Version 1.10.2 in C:/Program Files/iobroker/Test/node_modules/iobroker.sayit, node: v12.18.0, js-controller: 3.1.6
            sayit.0	2020-07-27 18:48:44.460	debug	(21828) Plugin sentry Initialize Plugin (enabled=true)
            sayit.0	2020-07-27 18:48:44.132	debug	(21828) statesDB connected
            sayit.0	2020-07-27 18:48:44.132	debug	(21828) States connected to redis: 127.0.0.1:9000
            sayit.0	2020-07-27 18:48:44.102	debug	(21828) States create System PubSub Client
            sayit.0	2020-07-27 18:48:44.081	debug	(21828) States create User PubSub Client
            sayit.0	2020-07-27 18:48:44.055	debug	(21828) Redis States: Use Redis connection: 127.0.0.1:9000
            sayit.0	2020-07-27 18:48:44.054	debug	(21828) objectDB connected
            sayit.0	2020-07-27 18:48:44.051	debug	(21828) Objects connected to redis: 127.0.0.1:9013
            sayit.0	2020-07-27 18:48:44.024	debug	(21828) Objects client initialize lua scripts
            sayit.0	2020-07-27 18:48:44.023	debug	(21828) Objects create User PubSub Client
            sayit.0	2020-07-27 18:48:44.023	debug	(21828) Objects create System PubSub Client
            sayit.0	2020-07-27 18:48:43.844	debug	(21828) Objects client ready ... initialize now
            sayit.0	2020-07-27 18:48:43.102	debug	(21828) Redis Objects: Use Redis connection: 127.0.0.1:9013
            host.Medion(Test)	2020-07-27 18:48:42.247	info	instance system.adapter.sayit.0 started with pid 21828
            host.Medion(Test)	2020-07-27 18:48:39.174	info	instance system.adapter.sayit.0 terminated with code null ()
            host.Medion(Test)	2020-07-27 18:48:39.173	warn	instance system.adapter.sayit.0 terminated due to SIGTERM
            host.Medion(Test)	2020-07-27 18:48:39.138	info	stopInstance timeout 1000 system.adapter.sayit.0 killing pid 25740
            host.Medion(Test)	2020-07-27 18:48:38.124	info	stopInstance system.adapter.sayit.0 (force=false, process=true)
            host.Medion(Test)	2020-07-27 18:48:09.929	info	instance system.adapter.ical.0 terminated with code 0 (NO_ERROR)
            ical.0	2020-07-27 18:48:09.427	info	(17472) Terminated (NO_ERROR): Without reason
            ical.0	2020-07-27 18:48:03.652	info	(17472) processing URL: Sigi https://calendar.google.com/calendar/ical/sigiking1%40gmail.com/private-0889be050404ce26f3cfb9051ca62c90/basic.ics
            ical.0	2020-07-27 18:48:02.114	info	(17472) starting. Version 1.7.0 in C:/Program Files/iobroker/Test/node_modules/iobroker.ical, node: v12.18.0, js-controller: 3.1.6
            host.Medion(Test)	2020-07-27 18:48:00.216	info	instance system.adapter.ical.0 started with pid 17472
            javascript.0	2020-07-27 18:47:38.596	info	(27232) script.js.Test.sayit: registered 0 subscriptions and 0 schedules
            
            
            1 Reply Last reply Reply Quote 0
            • bahnuhr
              bahnuhr Forum Testing Most Active last edited by

              So,
              Installation hat geklappt.

              mp3 wird jetzt gespeichert in:
              C:\iobroker\iobroker-data\sayit

              Ist das richtig ?
              Oder wäre es nicht besser unter: ...iobroker-data/file/sayit.2

              Fazit:
              busy kommt weiterhin wenn die Datei erzeugt wurde und keine vorher angeklickt wurde.

              Genauer:
              mp3 erzeugt
              nix gemacht
              mp3 erzeugt -> busy
              oder
              mp3 erzeugt
              andere mp3 angeklickt
              mp3 erzeugt -> kein busy

              apollon77 1 Reply Last reply Reply Quote 0
              • bahnuhr
                bahnuhr Forum Testing Most Active last edited by

                So, ich bin noch eins weiter !!

                iob läuft auf nuc mit win10

                sayit.2 hat die Instanz von nuc mit win10
                sayit.4 hat die Instanz vom Surface im Wohnzimmer ebenfalls mit win10

                Wenn ich Script starte: setState('sayit.4.tts.text', "test ab2");
                dann kann mann dies so viel ändern wie man will die mp3 wird korrekt erzeugt.

                Wenn ich Script starte: setState('sayit.2.tts.text', "test ab2");
                dann kommt o.g. Verhalten.

                Fazit von mir:
                Sayit.2 zeigt "busy" auf dem Rechner wo iob läuft.
                Auf dem anderen Rechner wo iob nicht läuft klappt alles wie gewollt.

                Kann man dies verstehen ?

                1 Reply Last reply Reply Quote 0
                • bahnuhr
                  bahnuhr Forum Testing Most Active last edited by

                  So, ich geb jetzt auf.

                  Hab gedacht ich hätte es.
                  wmp geschlossen und dann ging es.
                  Aber nur kurz.

                  manchmal steht im log "copied" dann ist die mp3 richtig.
                  Aber manchmal auch nicht. Dann wird die mp3 richtig angesagt aber die Datei ist noch die alte.

                  Ich versteh das nicht.

                  mfg
                  Dieter

                  bahnuhr 1 Reply Last reply Reply Quote 0
                  • apollon77
                    apollon77 @bahnuhr last edited by

                    @bahnuhr sagte in BUG: sayit funktioniert unter win nicht zuverlässig.:

                    mp3 wird jetzt gespeichert in:
                    C:\iobroker\iobroker-data\sayit
                    Ist das richtig ?
                    Oder wäre es nicht besser unter: ...iobroker-data/file/sayit.2

                    Ja korrekt. Und nein nicht in files/ 😉

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

                      @apollon77 sagte in BUG: sayit funktioniert unter win nicht zuverlässig.:

                      @bahnuhr Naja ok dann ists ja aber nichts mit "jemand blockt Sie wegen abspielen"

                      Es ist Windows selber, das die Datei nach dem schreiben noch nicht wieder freigibt.
                      Erst wenn Windows eine andere Datei anfassen muss lässt es die alte los.

                      Zumindest war das meine Beobachtung

                      bahnuhr 1 Reply Last reply Reply Quote 0
                      • bahnuhr
                        bahnuhr Forum Testing Most Active @Homoran last edited by

                        @Homoran sagte in BUG: sayit funktioniert unter win nicht zuverlässig.:

                        @apollon77 sagte in BUG: sayit funktioniert unter win nicht zuverlässig.:

                        @bahnuhr Naja ok dann ists ja aber nichts mit "jemand blockt Sie wegen abspielen"

                        Es ist Windows selber, das die Datei nach dem schreiben noch nicht wieder freigibt.
                        Erst wenn Windows eine andere Datei anfassen muss lässt es die alte los.

                        Zumindest war das meine Beobachtung

                        das kann schon sein.
                        Aber ne Lösung ist das nicht.

                        1 Reply Last reply Reply Quote 0
                        • apollon77
                          apollon77 last edited by

                          na ok mit der Annahme ... lasst mich mal was versuchen 😉

                          1 Reply Last reply Reply Quote 0
                          • apollon77
                            apollon77 last edited by

                            Bzw ... hast DU mal versucht das Caching einzuschalten? Dann wird in jedem Fall noch eine zweite Datei geschrieben 🙂 Vllt reicht das ja

                            bahnuhr 1 Reply Last reply Reply Quote 0
                            • bahnuhr
                              bahnuhr Forum Testing Most Active @apollon77 last edited by

                              @apollon77 sagte in BUG: sayit funktioniert unter win nicht zuverlässig.:

                              Bzw ... hast DU mal versucht das Caching einzuschalten? Dann wird in jedem Fall noch eine zweite Datei geschrieben 🙂 Vllt reicht das ja

                              wie und wo ist das ?

                              apollon77 1 Reply Last reply Reply Quote 0
                              • apollon77
                                apollon77 @bahnuhr last edited by

                                @bahnuhr Im Admin kannst Du ein cacheDirectory setzen

                                bahnuhr 1 Reply Last reply Reply Quote 0
                                • bahnuhr
                                  bahnuhr Forum Testing Most Active @apollon77 last edited by

                                  @apollon77 sagte in BUG: sayit funktioniert unter win nicht zuverlässig.:

                                  Im Admin kannst Du ein cacheDirectory setzen

                                  In der Instanz admin hab ich dies nicht.
                                  Auch bei dem Schraubenschlüssel auf der Übersichtsseite oben gibt es dies auch nicht.

                                  Kannst du bitte mal genauer schreiben wo dies sein soll.

                                  apollon77 1 Reply Last reply Reply Quote 0
                                  • apollon77
                                    apollon77 @bahnuhr last edited by

                                    @bahnuhr Hm ... egal ... ist Standardmässig an ... und denke einstellbar bei den Cloud-Generatoren

                                    1 Reply Last reply Reply Quote 0
                                    • bahnuhr
                                      bahnuhr Forum Testing Most Active @bahnuhr last edited by

                                      @bahnuhr sagte in BUG: sayit funktioniert unter win nicht zuverlässig.:

                                      manchmal steht im log "copied" dann ist die mp3 richtig.
                                      Aber manchmal auch nicht. Dann wird die mp3 richtig angesagt aber die Datei ist noch die alte.

                                      Wie hier schon erwähnt wird nur manchmal kopiert (Logik ist für mich nicht ersichtlich).

                                      Kann man dies ändern?

                                      Also jedes mal speichern.
                                      Dann müsste doch die mp3 richtig sein.

                                      apollon77 1 Reply Last reply Reply Quote 0
                                      • apollon77
                                        apollon77 @bahnuhr last edited by

                                        @bahnuhr Log?

                                        bahnuhr 1 Reply Last reply Reply Quote 0
                                        • bahnuhr
                                          bahnuhr Forum Testing Most Active @apollon77 last edited by

                                          @apollon77 sagte in BUG: sayit funktioniert unter win nicht zuverlässig.:

                                          @bahnuhr Log?

                                          Gerne.
                                          Die ersten beiden Mal hat er nicht kopiert. Die nächsten Male aber doch.
                                          Vielleicht hilfst weiter.

                                          
                                          sayit.2	2020-07-28 13:42:53.605	debug	(146500) Duration "x y z": 3
                                          sayit.2	2020-07-28 13:42:53.505	info	(146500) Copied file "C:\iobroker\iobroker-data\sayit/sayit.2.say.mp3" to "C:\iobroker\cache\870dc326c1db7d0947a8cabda92536e2.mp3"
                                          sayit.2	2020-07-28 13:42:53.503	debug	(146500) Caching File C:\iobroker\cache\870dc326c1db7d0947a8cabda92536e2.mp3 for "de-DE_CLOUD_Female;x y z" now
                                          sayit.2	2020-07-28 13:42:53.502	debug	(146500) Status code: 200
                                          sayit.2	2020-07-28 13:42:53.321	debug	(146500) Cache File C:\iobroker\cache\870dc326c1db7d0947a8cabda92536e2.mp3 for "de-DE_CLOUD_Female;x y z" not found
                                          sayit.2	2020-07-28 13:42:53.321	info	(146500) saying: x y z
                                          
                                          sayit.2	2020-07-28 13:42:10.571	debug	(146500) Duration "test 1 2 ": 2
                                          sayit.2	2020-07-28 13:42:10.569	info	(146500) Copied file "C:\iobroker\iobroker-data\sayit/sayit.2.say.mp3" to "C:\iobroker\cache\6a9f31711abaa6d2303693eb16ff2686.mp3"
                                          sayit.2	2020-07-28 13:42:10.567	debug	(146500) Caching File C:\iobroker\cache\6a9f31711abaa6d2303693eb16ff2686.mp3 for "de-DE_CLOUD_Female;test 1 2 " now
                                          sayit.2	2020-07-28 13:42:10.565	debug	(146500) Status code: 200
                                          sayit.2	2020-07-28 13:42:10.401	debug	(146500) Cache File C:\iobroker\cache\6a9f31711abaa6d2303693eb16ff2686.mp3 for "de-DE_CLOUD_Female;test 1 2 " not found
                                          sayit.2	2020-07-28 13:42:10.401	info	(146500) saying: test 1 2
                                          
                                          sayit.2	2020-07-28 13:41:42.927	debug	(146500) Duration "1 2 3 4 5 ": 3
                                          sayit.2	2020-07-28 13:41:42.924	info	(146500) Copied file "C:\iobroker\iobroker-data\sayit/sayit.2.say.mp3" to "C:\iobroker\cache\9f64f57da4f54dfb6225235430ed13a9.mp3"
                                          sayit.2	2020-07-28 13:41:42.923	debug	(146500) Caching File C:\iobroker\cache\9f64f57da4f54dfb6225235430ed13a9.mp3 for "de-DE_CLOUD_Female;1 2 3 4 5 " now
                                          sayit.2	2020-07-28 13:41:42.922	debug	(146500) Status code: 200
                                          sayit.2	2020-07-28 13:41:42.748	debug	(146500) Cache File C:\iobroker\cache\9f64f57da4f54dfb6225235430ed13a9.mp3 for "de-DE_CLOUD_Female;1 2 3 4 5 " not found
                                          sayit.2	2020-07-28 13:41:42.748	info	(146500) saying: 1 2 3 4 5
                                          
                                          sayit.2	2020-07-28 13:41:11.051	debug	(146500) Duration "a b c d ": 2
                                          sayit.2	2020-07-28 13:41:11.049	info	(146500) Copied file "C:\iobroker\iobroker-data\sayit/sayit.2.say.mp3" to "C:\iobroker\cache\bee5de77c6cefefd29409e80ad13af2a.mp3"
                                          sayit.2	2020-07-28 13:41:11.048	debug	(146500) Caching File C:\iobroker\cache\bee5de77c6cefefd29409e80ad13af2a.mp3 for "de-DE_CLOUD_Female;a b c d " now
                                          sayit.2	2020-07-28 13:41:11.047	debug	(146500) Status code: 200
                                          sayit.2	2020-07-28 13:41:10.856	debug	(146500) Cache File C:\iobroker\cache\bee5de77c6cefefd29409e80ad13af2a.mp3 for "de-DE_CLOUD_Female;a b c d " not found
                                          sayit.2	2020-07-28 13:41:10.856	info	(146500) saying: a b c d
                                          
                                          sayit.2	2020-07-28 13:40:37.353	debug	(146500) Duration "Hallo": 1
                                          sayit.2	2020-07-28 13:40:37.352	info	(146500) Copied file "C:\iobroker\iobroker-data\sayit/sayit.2.say.mp3" to "C:\iobroker\cache\b9732e55d1e0743f0374dfbe0a5ac64e.mp3"
                                          sayit.2	2020-07-28 13:40:37.345	debug	(146500) Caching File C:\iobroker\cache\b9732e55d1e0743f0374dfbe0a5ac64e.mp3 for "de-DE_CLOUD_Female;Hallo" now
                                          sayit.2	2020-07-28 13:40:37.335	debug	(146500) Status code: 200
                                          sayit.2	2020-07-28 13:40:37.075	debug	(146500) Cache File C:\iobroker\cache\b9732e55d1e0743f0374dfbe0a5ac64e.mp3 for "de-DE_CLOUD_Female;Hallo" not found
                                          sayit.2	2020-07-28 13:40:37.075	info	(146500) saying: Hallo
                                          
                                          sayit.2	2020-07-28 13:39:53.032	debug	(146500) Duration "test 2": 2
                                          sayit.2	2020-07-28 13:39:53.025	info	(146500) saying: test 2
                                          
                                          sayit.2	2020-07-28 13:39:19.511	debug	(146500) Duration "test 3": 2
                                          sayit.2	2020-07-28 13:39:19.480	info	(146500) saying: test 3
                                          
                                          apollon77 1 Reply Last reply Reply Quote 0
                                          • apollon77
                                            apollon77 @bahnuhr last edited by apollon77

                                            @bahnuhr sagte in BUG: sayit funktioniert unter win nicht zuverlässig.:

                                            Copied

                                            Das wird über einen Stream gemacht ... und mit genau denen hatten wir bei Windows schonmal Probleme beim Logging.

                                            Update nochmal ... ich hab mal jetzt copyFile von nodejs verwendet ... gibts aber erst ab nodejs 8, aber da sist jetzt EOL ... also braucht nodejs 8.5+ dann jetzt!

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            664
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            bug sayit
                                            6
                                            95
                                            4607
                                            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