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.
    • bahnuhr
      bahnuhr Forum Testing Most Active @apollon77 last edited by

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

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

      EPERM: operation not permitted

      Irgendetwas sagt das npm das nichtdarf ... lösch das verzeichnis doch mal "per hand"

      Instanzen gelöscht.
      Dienst beendet.
      versucht ..node_modules.iobroker.sayit.sayit.2.say.mp3 zulöschen; hat aber nicht geklappt. mp3 Datei wurde ständig wieder neu erstellt.
      rechner komplett runter gefahren und neu gestartet.
      jetzt verzeichnis ...node_modules.iobroker.sayit gelöscht.
      auch auch verzeichnisse ...iobroker-data.files.sayit ... gelöscht

      dienst gestartet.
      warten bis alle Instanzen wieder da waren.
      Und dann: über git sayit neu installiert.
      mit code 0 (also alles ok).
      Verzeichnis unter ...node_modules und ...iobroker-data sind wieder da.
      Dann Instanzen 2,3,4 neu installiert.
      hat alles geklappt.

      Dann Script:

      setState('sayit.2.tts.text', "a b c "); 
      
      

      und gleich Fehler im log:

      host.NUC-Buero	2020-07-27 11:57:53.449	error	instance system.adapter.sayit.2 terminated with code 1 (JS_CONTROLLER_STOPPED)
      host.NUC-Buero	2020-07-27 11:57:53.449	error	Caught by controller[0]: at processTicksAndRejections (internal/process/task_queues.js:84:21)
      host.NUC-Buero	2020-07-27 11:57:53.449	error	Caught by controller[0]: at endReadableNT (_stream_readable.js:1221:12)
      host.NUC-Buero	2020-07-27 11:57:53.449	error	Caught by controller[0]: at IncomingMessage.EventEmitter.emit (domain.js:482:12)
      host.NUC-Buero	2020-07-27 11:57:53.448	error	Caught by controller[0]: at IncomingMessage.emit (events.js:327:22)
      host.NUC-Buero	2020-07-27 11:57:53.448	error	Caught by controller[0]: at IncomingMessage.<anonymous> (C:\iobroker\node_modules\iobroker.sayit\lib\text2speech.js:165:40)
      host.NUC-Buero	2020-07-27 11:57:53.447	error	Caught by controller[0]: ReferenceError: error is not defined
      sayit.2	2020-07-27 11:57:53.275	info	(8896) stopping...
      sayit.2	2020-07-27 11:57:53.274	error	(8896) ReferenceError: error is not defined at IncomingMessage.<anonymous> (C:\iobroker\node_modules\iobroker.sayit\lib\text2speech.js:165:40) at IncomingMessage.emit (events.js:327:22) at
      sayit.2	2020-07-27 11:57:53.274	error	(8896) uncaught exception: error is not defined
      sayit.2	2020-07-27 11:57:53.144	info	(8896) saying: a b c```
      
      mfg
      Dieter
      apollon77 1 Reply Last reply Reply Quote 0
      • apollon77
        apollon77 @bahnuhr last edited by

        @bahnuhr Hab ich im Sentry gesehn:-)
        Update nochmal

        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 Hab ich im Sentry gesehn:-)
          Update nochmal

          Weiterhin:
          sayit.2 2020-07-27 12:29:23.946 error (6080) File error: Error: EBUSY: resource busy or locked, open 'C:\iobroker\node_modules\iobroker.sayit\lib/../sayit.2.say.mp3'

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

            so, nochmal alles gelöscht und neu installiert.

            Wird das file mp3 nun gar nicht mehr gespeichert ???

            Wenn doch, wo ?

            bahnuhr 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.:

              so, nochmal alles gelöscht und neu installiert.

              Wird das file mp3 nun gar nicht mehr gespeichert ???

              Wenn doch, wo ?

              Nachtrag: das brauch ich ja (will ich ja kopieren)

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

                Es sollte sich an der Speicherstelle nichts geändert haben - also ich habe nichts daran geändert ... vllt ist die Speicherstelle ja das Problem das es "Im npm verzeicghnis" ist ... vllt ists im iobroker-data besser aufgehoben?

                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.:

                  Es sollte sich an der Speicherstelle nichts geändert haben - also ich habe nichts daran geändert ... vllt ist die Speicherstelle ja das Problem das es "Im npm verzeicghnis" ist ... vllt ists im iobroker-data besser aufgehoben?

                  Ich weiß auch nicht.

                  In ...node_modules.iobroker.sayit
                  ist die Datei nicht mehr.

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

                    aber er sagt das er sie erfolgreich geschrieben hat?

                    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.:

                      aber er sagt das er sie erfolgreich geschrieben hat?

                      Dachte schon, aber eben nicht mehr.

                      host.NUC-Buero	2020-07-27 13:56:42.223	info	Restart adapter system.adapter.sayit.2 because enabled
                      host.NUC-Buero	2020-07-27 13:56:42.223	error	instance system.adapter.sayit.2 terminated with code 1 (JS_CONTROLLER_STOPPED)
                      host.NUC-Buero	2020-07-27 13:56:42.223	error	Caught by controller[0]: at processTicksAndRejections (internal/process/task_queues.js:84:21)
                      host.NUC-Buero	2020-07-27 13:56:42.222	error	Caught by controller[0]: at endReadableNT (_stream_readable.js:1221:12)
                      host.NUC-Buero	2020-07-27 13:56:42.222	error	Caught by controller[0]: at IncomingMessage.EventEmitter.emit (domain.js:482:12)
                      host.NUC-Buero	2020-07-27 13:56:42.222	error	Caught by controller[0]: at IncomingMessage.emit (events.js:327:22)
                      host.NUC-Buero	2020-07-27 13:56:42.222	error	Caught by controller[0]: at IncomingMessage.<anonymous> (C:\iobroker\node_modules\iobroker.sayit\lib\text2speech.js:165:70)
                      host.NUC-Buero	2020-07-27 13:56:42.220	error	Caught by controller[0]: ReferenceError: seconds is not defined
                      sayit.2	2020-07-27 13:56:42.051	info	(15988) stopping...
                      sayit.2	2020-07-27 13:56:42.050	error	(15988) ReferenceError: seconds is not defined at IncomingMessage.<anonymous> (C:\iobroker\node_modules\iobroker.sayit\lib\text2speech.js:165:70) at IncomingMessage.emit (events.js:327:22)
                      sayit.2	2020-07-27 13:56:42.050	error	(15988) uncaught exception: seconds is not defined
                      sayit.2	2020-07-27 13:56:41.928	info	(15988) saying: a b c
                      

                      Ich glaub, wir geben auf.
                      Ist ja schon lange so; aber es ist zum Verzweifeln.

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

                        @bahnuhr Ja, hab ich grad gesehn. Update nochmal bitte. Mein Fehler ... Kopieren will gelernt haben

                        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 Ja, hab ich grad gesehn. Update nochmal bitte. Mein Fehler ... Kopieren will gelernt haben

                          hat nichts geholfen:
                          weiterhin:
                          sayit.2 2020-07-27 15:26:31.354 error (1452) File error: Error: EBUSY: resource busy or locked, open 'C:\iobroker\node_modules\iobroker.sayit\lib/../sayit.2.say.mp3'
                          sayit.2 2020-07-27 15:26:29.071 info (1452) saying: Test

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

                            Ok, jetzt zeig mal was Du mit dem File machst ... und wie. Nur um auszuschliessen das es gar nichts mit dem Adater zu tun hat!

                            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.:

                              Ok, jetzt zeig mal was Du mit dem File machst ... und wie. Nur um auszuschliessen das es gar nichts mit dem Adater zu tun hat!

                              Ich mach ja momentan nichts mit dem file:

                              zum Testen nur:

                              setState('sayit.2.tts.text', "Test"); 
                              
                              apollon77 1 Reply Last reply Reply Quote 0
                              • apollon77
                                apollon77 @bahnuhr last edited by

                                @bahnuhr Ahh ok ... schade 🙂

                                Wie war es "Virenscanner"? Der ist aus? bzw File excluded?

                                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 Ahh ok ... schade 🙂

                                  Wie war es "Virenscanner"? Der ist aus? bzw File excluded?

                                  Habe antivir.
                                  kann ich gern einmal ausmachen.

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

                                    so, Antivir aus.

                                    gleiche Ergebnis:

                                    sayit.2	2020-07-27 16:06:18.912	error	(6640) File error: Error: EBUSY: resource busy or locked, open 'C:\iobroker\node_modules\iobroker.sayit\lib/../sayit.2.say.mp3'
                                    sayit.2	2020-07-27 16:06:14.853	info	(6640) saying: Test
                                    
                                    apollon77 1 Reply Last reply Reply Quote 0
                                    • apollon77
                                      apollon77 @bahnuhr last edited by

                                      @bahnuhr Dann bin ich jetzt (auch weil Du mit npm dies egrossen Probleme hatest): Checke mal die Rechte des Files und des Verzeichnisses ... bezogenm auf den User unter dem ioBroker läuft und stelle sicher das der da lesen und schreiben darf

                                      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.:

                                        Rechte des Files und des Verzeichnisses

                                        Habe "jeder"; der darf alles

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

                                          @bahnuhr Dann sind wir wieder am Anfang ... Mist

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

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

                                            @bahnuhr Dann sind wir wieder am Anfang ... Mist

                                            Trotzdem Danke.
                                            ich weiß auch nicht weiter.

                                            Wäre schön gewesen, wenn der Adapter "sayit" (und dies war ja einer der Ersten) korrekt auch unter win laufen würde.

                                            Was war eigentlich mein Ziel:
                                            ich kopiere mir die mp3 in einen anderen Ordner.
                                            Diese Ordner enthält dann nur diese Datei. Und dieser Ordner ist freigegeben per windows media player und die Datei zu streamen.
                                            Dann greife ich per script auf die yamaha Lautsprecher zu und lasse die Datei von einem x-beliebigen Lautsprecher abspielen.
                                            Klappt eingendlich bisher gut.

                                            Nur jetzt halt nicht mehr.

                                            Fazit:
                                            Liegt an win.
                                            oder an mir
                                            oder an sayit.

                                            Alles möglich.
                                            Schade auch.

                                            Homoran apollon77 2 Replies Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            424
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

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