Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. [Frage]Sayit - Received file is too short

    NEWS

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    [Frage]Sayit - Received file is too short

    This topic has been deleted. Only users with topic management privileges can see it.
    • P
      pix last edited by

      Hallo,

      lasse die DWD Unwetter Warnungen per Sayit ansagen.

      Der Text "Es gibt eine Amtliche WARNUNG vor DAUERREGEN der Stufe 2. Zeitweise schauerartig verstärkter Regen, dabei kommen bis Mittwochabend 30 bis 40 Liter je Quadratmeter zusammen." gibt im Log diesen Fehler aus und der Adapter startet neu:

      2015-10-06 13:55:33.501  - info: sayit.0 saying: Es gibt eine Amtliche WARNUNG vor DAUERREGEN der Stufe 2\. Zeitweise schauerartig verstärkter Regen, dabei kommen bis Mittwochabend 30 bis 40 Liter je Quadratmeter zusammen.
      2015-10-06 13:55:33.697  - warn: sayit.0 Received file is too short: 
      2015-10-06 13:55:33.698  - warn: sayit.0 Cannot read length of file /Users/pix/Documents/iobroker/node_modules/iobroker.sayit/say.mp3
      2015-10-06 13:55:33.698  - warn: sayit.0 Received file is too short: 
          at sayFinished (/Users/pix/Documents/iobroker/node_modules/iobroker.sayit/main.js:203:45)
          at sayItBrowser (/Users/pix/Documents/iobroker/node_modules/iobroker.sayit/main.js:473:5)
          at cacheFile (/Users/pix/Documents/iobroker/node_modules/iobroker.sayit/main.js:397:5)
          at /Users/pix/Documents/iobroker/node_modules/iobroker.sayit/main.js:415:21
          at /Users/pix/Documents/iobroker/node_modules/iobroker.sayit/main.js:277:39
          at getLength (/Users/pix/Documents/iobroker/node_modules/iobroker.sayit/main.js:164:27)
          at /Users/pix/Documents/iobroker/node_modules/iobroker.sayit/main.js:276:21
      2015-10-06 13:55:34.023  - error: host.MacMini-Ethernet.fritz.box instance system.adapter.sayit.0 terminated with code 6 (uncaught exception)
      

      Der kürzere Text "Es gibt eine Amtliche WARNUNG vor DAUERREGEN der Stufe 2." funktioniert

      2015-10-06 13:56:06.119  - info: sayit.0 starting. Version 0.3.11 in /Users/pix/Documents/iobroker/node_modules/iobroker.sayit
      2015-10-06 13:56:06.124  - info: sayit.0 Upload announce mp3 files
      2015-10-06 13:56:18.814  - info: sayit.0 saying: /Users/pix/Documents/iobroker/node_modules/iobroker.sayit/gong.mp3
      2015-10-06 13:56:19.816  - info: sayit.0 saying: Es gibt eine Amtliche WARNUNG vor DAUERREGEN der Stufe 2.
      2015-10-06 13:56:20.092  - info: sayit.0 Copied file '/Users/pix/Documents/iobroker/node_modules/iobroker.sayit/say.mp3' to '/Users/pix/Documents/iobroker/cache/1f7f0ba3d0c7df2ab4113e6426ab5048.mp3'
      

      Die Fehler "is too short" mein vielleicht "is too long", oder? Wie lang darf denn ein Ansagetext sein?

      Gruß

      Pix

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

        Ne.. Es ist wirklich "too short".

        Vermute passiert folgendes: Zu viel Text wird gar nicht konvertiert und Engine gibt so was wie "Text is too long" zurück. Das speichert sayIt adapter trotzdem als mp3 Datei. Um zu erkennen, ob es Fehl-Antwort war, analysiert SayIt die Größe von mp3 Datei und falls die Gröse unter 1kb ist, dann gibt die Fehlermeldung "Received file is too short".

        1 Reply Last reply Reply Quote 0
        • P
          pix last edited by

          Danke für die Antwort.

          Wo kann ich was über die Engine lesen? Hast du einen Link?

          Gesendet von meinem iPhone mit Tapatalk

          1 Reply Last reply Reply Quote 0
          • S
            skorpil last edited by

            Gleiches Problem hier:

            http://forum.iobroker.de/viewtopic.php? … =40#p14645

            Was tun?

            1 Reply Last reply Reply Quote 0
            • X
              xADDRx last edited by

              Hallo,

              Hat hier jemand das Problem gelöst? Ich bekomme leider immer noch die Fehlermeldung:

              sayit.0 2017-10-07 01:49:00.773 error Cannot get file: received file is too short

              Gruß

              Beni

              1 Reply Last reply Reply Quote 0
              • T
                tempestas last edited by

                Klar ist das gelöst.

                Nicht google als Sprachengine nehmen sondern fie cloud oder direkt Amazon Polly.

                1 Reply Last reply Reply Quote 0
                • X
                  xADDRx last edited by

                  Hallo tempestas,

                  danke für die Antwort!

                  Hat mir weitergeholfen.

                  Gruß

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

                  Support us

                  ioBroker
                  Community Adapters
                  Donate
                  FAQ Cloud / IOT
                  HowTo: Node.js-Update
                  HowTo: Backup/Restore
                  Downloads
                  BLOG

                  1.1k
                  Online

                  31.7k
                  Users

                  79.7k
                  Topics

                  1.3m
                  Posts

                  5
                  7
                  1722
                  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