🤖Have you ever tried Chat.M5Stack.com before asking??😎
    M5Stack Community
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Speaker playWAV creating 'unexpected keyword' error

    General
    2
    7
    5.3k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • B
      bluebulldog
      last edited by

      UiFlow V1.7.5 Desktop, Core 2 for AWS

      0_1635605726200_Capture.PNG

      I am trying to play a WAV file using Speaker playWAV. UiFlow says "Execute code successfully".

      However, when I run it on the Core2, it says:
      "unexpected keyword argument 'dataf'.

      When I click on the Detail button below the message, it says:
      File "<string>", line 15, in <module>
      TypeError: unexpected keyword argument 'dataf'

      Can someone tell me what the problem is, and how to fix it?

      1 Reply Last reply Reply Quote 0
      • ajb2k3A
        ajb2k3
        last edited by

        The block is broken and was reported last week.
        The community is waiting on the block to be fixed.
        For now just use the Playwav block

        UIFlow, so easy an adult can learn it!
        If I don't know it, be patient!
        I've ether not learned it or am too drunk to remember it!
        Author of the WIP UIFlow Handbook!
        M5Black, Go, Stick, Core2, and so much more it cant be fit in here!

        B 1 Reply Last reply Reply Quote 0
        • B
          bluebulldog @ajb2k3
          last edited by

          @ajb2k3 Would you please tell me where to find that block? I am not seeing it in UiFlow.

          1 Reply Last reply Reply Quote 0
          • ajb2k3A
            ajb2k3
            last edited by

            0_1635667504786_Screenshot 2021-10-31 at 08.04.51.png

            Sorry Its the Play Local Wave File block.
            if you click on "Null" it will list wave files stored on the Core2.

            UIFlow, so easy an adult can learn it!
            If I don't know it, be patient!
            I've ether not learned it or am too drunk to remember it!
            Author of the WIP UIFlow Handbook!
            M5Black, Go, Stick, Core2, and so much more it cant be fit in here!

            B 1 Reply Last reply Reply Quote 0
            • B
              bluebulldog @ajb2k3
              last edited by

              @ajb2k3 Thank you. I had been using the desktop version, and that block was not available there. I found it in the online version. Is there a way to be automatically notified when the broken block is fixed? Or somewhere that I should look to find out?

              ajb2k3A 1 Reply Last reply Reply Quote 0
              • ajb2k3A
                ajb2k3 @bluebulldog
                last edited by

                @bluebulldog said in Speaker playWAV creating 'unexpected keyword' error:

                @ajb2k3 Thank you. I had been using the desktop version, and that block was not available there. I found it in the online version. Is there a way to be automatically notified when the broken block is fixed? Or somewhere that I should look to find out?

                there will be an updater log posted when a new version of the online side and firmware is made available

                UIFlow, so easy an adult can learn it!
                If I don't know it, be patient!
                I've ether not learned it or am too drunk to remember it!
                Author of the WIP UIFlow Handbook!
                M5Black, Go, Stick, Core2, and so much more it cant be fit in here!

                B 1 Reply Last reply Reply Quote 0
                • B
                  bluebulldog @ajb2k3
                  last edited by

                  @ajb2k3 OK. Thank you.

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