我最近在我的旧笔记本电脑上安装了 Ubuntu 20.04.1 LTS,我安装的第一个程序是 sonic-pi。我尝试使用“Ubuntu 软件”程序安装它。安装后,我点击了 sonic-pi,但无法打开。我甚至尝试卸载它并使用终端进行安装:
sudo apt update
sudo apt install sonic-pi
但即使这样做了,标题屏幕仍会出现,但之后什么都没有。我做错了什么吗?
答案1
本来想发表评论,但声誉不够。
这libpng warning:
很可能是一个转移注意力的花招,我不认为这会导致 sonic-pi 无法加载。
如果你从终端运行它,sonic-pi 应该会输出更详细的日志$HOME/.sonic-pi/log
。例如,tail $HOME/.sonic-pi/log/server-errors.log
对我来说显示:
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
我还没有尝试过,但你可能会遇到类似的问题,而且我已经看到https://github.com/sonic-pi-net/sonic-pi/issues/2341#issuecomment-628016039建议修复。