Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Piper container no working working? #10

Open
ignacio82 opened this issue Feb 27, 2024 · 0 comments
Open

Piper container no working working? #10

ignacio82 opened this issue Feb 27, 2024 · 0 comments

Comments

@ignacio82
Copy link

I woke up to piper no longer and I was hoping someone could point me in the right direction to fix this.

This is what my log shows:

    TtsVoice(
TypeError: __init__() missing 1 required positional argument: 'version'
Traceback (most recent call last):
  File "/usr/lib/python3.9/runpy.py", line 197, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/lib/python3.9/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/usr/local/lib/python3.9/dist-packages/wyoming_piper/__main__.py", line 209, in <module>
    asyncio.run(main())
  File "/usr/lib/python3.9/asyncio/runners.py", line 44, in run
    return loop.run_until_complete(main)
  File "/usr/lib/python3.9/asyncio/base_events.py", line 642, in run_until_complete
    return future.result()
  File "/usr/local/lib/python3.9/dist-packages/wyoming_piper/__main__.py", line 88, in main
    voices = [
  File "/usr/local/lib/python3.9/dist-packages/wyoming_piper/__main__.py", line 89, in <listcomp>
    TtsVoice(
TypeError: __init__() missing 1 required positional argument: 'version'

image

And this is my docker-compose:

##
  piper:
    container_name: Piper
    image: rhasspy/wyoming-piper
    user: 1026:100
    ports:
      - '10200:10200'
    volumes:
      - nfs-piper:/data
      - nfs-wyoming_piper:/usr/local/lib/python3.9/dist-packages/wyoming_piper
      - /etc/timezone:/etc/timezone:ro
      - /etc/localtime:/etc/localtime:ro
    environment:
      - TZ=America/Los_Angeles
    command: --voice en-us-ryan-low
    restart: unless-stopped
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant