Skip to content

[BUG] 1.6.3-ls76 throws ERROR #17

@jonasbkarlsson

Description

@jonasbkarlsson

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

When receiving the first incomming request on port 10200, an error occurs, see provided logs.

Expected Behavior

1.6.3-ls75 works fine.

Steps To Reproduce

When receiving the first incomming request on port 10200, an error occurs, see provided logs.

Environment

- OS: Ubuntu 24.04.3
- How docker service was installed: Docker Engine (docker version 28.3.3) installed using the apt repository described here: https://docs.docker.com/engine/install/ubuntu/#install-using-the-repository

CPU architecture

x86-64

Docker creation

services:
  piper:
    image: lscr.io/linuxserver/piper:1.6.3-ls76
    container_name: piper
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=Etc/UTC
      - PIPER_VOICE=en_US-lessac-medium
      - LOCAL_ONLY= #optional
      - PIPER_LENGTH=1.0 #optional
      - PIPER_NOISE=0.667 #optional
      - PIPER_NOISEW=0.333 #optional
      - PIPER_SPEAKER=0 #optional
      - PIPER_PROCS=1 #optional
      - STREAMING= #optional
    volumes:
      - /home/jonas/Projects/piper/config:/config
    ports:
      - 10200:10200
    restart: unless-stopped

Container logs

Brought to you by linuxserver.io
───────────────────────────────────────

To support LSIO projects visit:
https://www.linuxserver.io/donate/

───────────────────────────────────────
GID/UID
───────────────────────────────────────

User UID:    1000
User GID:    1000
───────────────────────────────────────
Linuxserver.io version: 1.6.3-ls76
Build-date: 2025-08-29T21:22:34+00:00
───────────────────────────────────────
    
[custom-init] No custom files found, skipping...
INFO:__main__:Ready
Connection to localhost (127.0.0.1) 10200 port [tcp/*] succeeded!
[ls.io-init] done.
ERROR:asyncio:Task exception was never retrieved
future: <Task finished name='wyoming event handler' coro=<AsyncEventHandler.run() done, defined at /lsiopy/lib/python3.12/site-packages/wyoming/server.py:31> exception=FileNotFoundError(2, 'No such file or directory')>
Traceback (most recent call last):
  File "/lsiopy/lib/python3.12/site-packages/wyoming/server.py", line 41, in run
    if not (await self.handle_event(event)):
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/lsiopy/lib/python3.12/site-packages/wyoming_piper/handler.py", line 112, in handle_event
    raise err
  File "/lsiopy/lib/python3.12/site-packages/wyoming_piper/handler.py", line 65, in handle_event
    return await self._handle_synthesize(synthesize)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/lsiopy/lib/python3.12/site-packages/wyoming_piper/handler.py", line 166, in _handle_synthesize
    wav_file: wave.Wave_read = wave.open(output_path, "rb")
                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/wave.py", line 649, in open
    return Wave_read(f)
           ^^^^^^^^^^^^
  File "/usr/lib/python3.12/wave.py", line 282, in __init__
    f = builtins.open(f, 'rb')
        ^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: ''

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

Issues

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions