Applio icon indicating copy to clipboard operation
Applio copied to clipboard

[Bug]: docker issue portaudio OS Error

Open duckfriend123 opened this issue 7 months ago • 2 comments

Project Version

3.4.0

Platform and OS Version

Debian 12

Affected Devices

All

Existing Issues

No response

What happened?

docker compose up

error: applio-1 | Traceback (most recent call last): applio-1 | File "/app/app.py", line 33, in applio-1 | from tabs.realtime.realtime import realtime_tab applio-1 | File "/app/tabs/realtime/realtime.py", line 10, in applio-1 | from rvc.realtime.callbacks import AudioCallbacks applio-1 | File "/app/rvc/realtime/callbacks.py", line 8, in applio-1 | from rvc.realtime.audio import Audio applio-1 | File "/app/rvc/realtime/audio.py", line 6, in applio-1 | import sounddevice as sd applio-1 | File "/app/.venv/lib/python3.10/site-packages/sounddevice.py", line 71, in applio-1 | raise OSError('PortAudio library not found') applio-1 | OSError: PortAudio library not found applio-1 exited with code 1

Steps to reproduce

  1. git clone
  2. docker compose up

Expected behavior

it work

Attachments

No response

Screenshots or Videos

No response

Additional Information

portaudio19-dev is installed on the host system.

when you add apt install -y -qq ffmpeg portaudio19-dev && \

to the dockerfile it just stays there at "Attaching to applio-1" for 5min, idk if it takes that long but I think its broken.

duckfriend123 avatar Sep 10 '25 08:09 duckfriend123

docker integration is not fully up-to-date, we don't actually use it, so if you could provide some fixes that work with you, that will be awesome

blaisewf avatar Sep 12 '25 22:09 blaisewf

That makes sense. Docker does not have access to a soundcard anyway. Realtime and Discord wont work within the Docker container. I am currently trying to make it work.

mkccl avatar Oct 12 '25 01:10 mkccl