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 stoppe mal die Instanz, sieht so aus als ob er das File löschen wollte als versucht wurde was rein zu schreiben

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

        Instanz gestoppt und neu versucht.

        Weiterhin Fehler 25:

        $ ./iobroker url "https://github.com/ioBroker/ioBroker.sayit/tarball/master" sayit
        install https://github.com/ioBroker/ioBroker.sayit/tarball/master
        NPM version: 6.14.4
        npm install https://github.com/ioBroker/ioBroker.sayit/tarball/master --loglevel error (System call)
        npm
         ERR! code EPERMnpm ERR! syscall renamenpm ERR! path C:\iobroker\node_modules\iobroker.sayitnpm ERR! dest C:\iobroker\node_modules\.iobroker.sayit.DELETEnpm ERR! errno -4048
        npm 
        ERR! Error: EPERM: operation not permitted, rename 'C:\iobroker\node_modules\iobroker.sayit' -> 'C:\iobroker\node_modules\.iobroker.sayit.DELETE'npm ERR!  [OperationalError: EPERM: operation not permitted, rename 'C:\iobroker\node_modules\iobroker.sayit' -> 'C:\iobroker\node_modules\.iobroker.sayit.DELETE'] {npm ERR!   cause: [Error: EPERM: operation not permitted, rename 'C:\iobroker\node_modules\iobroker.sayit' -> 'C:\iobroker\node_modules\.iobroker.sayit.DELETE'] {npm ERR!     errno: -4048,npm ERR!     code: 'EPERM',npm ERR!     syscall: 'rename',npm ERR!     path: 'C:\\iobroker\\node_modules\\iobroker.sayit',npm ERR!     dest: 'C:\\iobroker\\node_modules\\.iobroker.sayit.DELETE'npm ERR!   },npm ERR!   errno: -4048,npm ERR!   code: 'EPERM',npm ERR!   syscall: 'rename',npm ERR!   path: 'C:\\iobroker\\node_modules\\iobroker.sayit',npm ERR!   dest: 'C:\\iobroker\\node_modules\\.iobroker.sayit.DELETE',npm ERR!   parent: 'iobroker'npm
         ERR! }npm ERR! npm ERR! The operation was rejected by your operating system.npm ERR! It's possible that the file was already in use (by a text editor or antivirus),npm ERR! or that you lack permissions to access it.npm ERR! npm ERR! If you believe this might be a permissions issue, please double-check thenpm ERR! permissions of the file and its containing directories, or try runningnpm ERR!
         the command again as root/Administrator.
        npm ERR! A complete log of this run can be found in:npm ERR!     C:\Users\iobroker\AppData\Roaming\npm-cache\_logs\2020-07-27T09_30_00_889Z-debug.log
        ERROR: host.NUC-Buero Cannot install https://github.com/ioBroker/ioBroker.sayit/tarball/master: 4294963248
        ERROR: process exited with code 25
        
        apollon77 1 Reply Last reply Reply Quote 0
        • apollon77
          apollon77 @bahnuhr last edited by

          @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"

          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 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
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            421
                                            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