ClarkuCSCI / QualCoder-sshd

QualCoder installed in Docker, accessible via SSH
0 stars 0 forks source link

ffmpeg #3

Open bjarman opened 1 month ago

bjarman commented 1 month ago

Hi! I am trying to make this work but get this error using a Macbook Pro running Sonoma 14.7:

Last login: Tue Oct 22 11:14:43 on ttys000 /Users/frebj199/QualCoder-sshd/QualCoder.command ; exit;
(base) frebj199@UU-KQGK640XQQ ~ % /Users/frebj199/QualCoder-sshd/QualCoder.command ; exit; [+] Running 1/0 ✔ Container qualcoder-sshd-qualcoder-1 Running 0.0s Successfully started the Docker container root@localhost's password: X11 forwarding request failed on channel 0 /usr/local/lib/python3.12/dist-packages/pydub/utils.py:170: RuntimeWarning: Couldn't find ffmpeg or avconv - defaulting to ffmpeg, but may not work warn("Couldn't find ffmpeg or avconv - defaulting to ffmpeg, but may not work", RuntimeWarning) qt.qpa.xcb: could not connect to display qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found. This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: xcb, eglfs, minimalegl, wayland-egl, minimal, linuxfb, wayland, vkkhrdisplay, vnc, offscreen.

ffmpeg is installed using homebrew - perhaps this is a path related issue?

peterstory commented 1 month ago

Do you have XQuartz installed? https://www.xquartz.org

XQuartz is the only dependency on macOS. Once you have X11 forwarding configured and XQuartz installed, everything else runs within the Docker container.