#Piper

1 messages Β· Page 1 of 1 (latest)

winged spindle
#

Okay so I saw more about this

#

what do we know

#

Last change in wyoming was 24 June

#

so that was shipped in July release

#

@fallow tusk

quaint falcon
#

i have google speakers and a fully kiosk tab, my google when they use piper, they just do the ding thing, but no voice, my fully kiosk tab does nothing

patent oasis
#

when I execute this service call it thows errors in piper's container:

action: tts.speak
data:
  cache: false
  media_player_entity_id: media_player.living_room_home
  message: Testing 1 2 3
target:
  entity_id: tts.piper_british
valid jungle
#

for what its worth my piper runs on a separate mac and it also is acting unreliably since b1. Sometimes it will start speaking and stop abruptly and others it doesn’t start at all.

patent oasis
#

error from piper:

ERROR:asyncio:Task exception was never retrieved
future: <Task finished name='wyoming event handler' coro=<AsyncEventHandler.run() done, defined at /usr/local/lib/python3.11/dist-packages/wyoming/server.py:31> exception=AttributeError("'NoneType' object has no attribute 'get'")>
Traceback (most recent call last):
  File "/usr/local/lib/python3.11/dist-packages/wyoming/server.py", line 41, in run
    if not (await self.handle_event(event)):
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/dist-packages/wyoming_piper/handler.py", line 112, in handle_event
    raise err
  File "/usr/local/lib/python3.11/dist-packages/wyoming_piper/handler.py", line 73, in handle_event
    stream_start = SynthesizeStart.from_event(event)
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/dist-packages/wyoming/tts.py", line 121, in from_event
    context=event.data.get("context"),
            ^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'get'
quaint falcon
#

logs also show a for media_player Server returned 404 Not Found not sure if that its related

patent oasis
winged spindle
#

just double checking

winged spindle
#

okay where can I find piper

#

found it

patent oasis
#

it's like the call is passing a None when it should be passing something else

quaint falcon
#

i might be related to not having a voice_id, but even with a voice ID, it still not reliable, it will work once, but say half the words

#

i don't use voice IDs, but maybe you do

patent oasis
#

I'm gonna blame the "Streaming" tts that was added

winged spindle
#

Wow.

#

Rude

#

πŸ˜›

patent oasis
#

πŸ˜›

#

i mean the shoe fits

fallow tusk
#

πŸ‘€

winged spindle
#

MIKE

#

heyo

#

I can reproduce

fallow tusk
#

I see the problem. One line πŸ€¦β€β™‚οΈ Thanks @patent oasis

winged spindle
#

oh

#

nice

patent oasis
#

piper side or HA side?

winged spindle
#

I assume HA as this works in 2025.7

fallow tusk
#

It ends up being the Piper side, but it could have been either. It's in the Wyoming protocol package.

patent oasis
#

i just started digging into that, took a min to find OHF-voice πŸ˜›

quaint falcon
#

let me know when I should start hitting the addon-refresh button 😁

patent oasis
#

@fallow tusk if you drop a new container I can update and test any fixes πŸ™‚

#

currently pointed at: rhasspy/wyoming-piper:latest

valid jungle
#

does streaming work when running piper on a separate system? I'm not sure I've ever figured it out

fallow tusk
winged spindle
#

no rights

#

sadly

fallow tusk
#

Me either πŸ˜„

patent oasis
# fallow tusk Ready πŸ‘ Thanks!

still throwing the error:

 * Serving Flask app 'tts'
 * Debug mode: off
INFO:werkzeug:WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.
 * Running on all addresses (0.0.0.0)
 * Running on http://127.0.0.1:5000
 * Running on http://172.20.0.3:5000
INFO:werkzeug:Press CTRL+C to quit
INFO:__main__:Ready
ERROR:asyncio:Task exception was never retrieved
future: <Task finished name='wyoming event handler' coro=<AsyncEventHandler.run() done, defined at /usr/local/lib/python3.11/dist-packages/wyoming/server.py:31> exception=AttributeError("'NoneType' object has no attribute 'get'")>
Traceback (most recent call last):
  File "/usr/local/lib/python3.11/dist-packages/wyoming/server.py", line 41, in run
    if not (await self.handle_event(event)):
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/dist-packages/wyoming_piper/handler.py", line 112, in handle_event
    raise err
  File "/usr/local/lib/python3.11/dist-packages/wyoming_piper/handler.py", line 73, in handle_event
    stream_start = SynthesizeStart.from_event(event)
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/dist-packages/wyoming/tts.py", line 121, in from_event
    context=event.data.get("context"),
            ^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'get'
fallow tusk
patent oasis
fallow tusk
#

Woohoo! Thanks for your help 🍻

patent oasis
quaint falcon
#

Thanks piper working well now on the addon.