Audacity snap [pango_font_description_set_size 断言‘size >=0’失败]

Audacity snap [pango_font_description_set_size 断言‘size >=0’失败]

我使用的是 Ubuntu 版本 20.04.1 LTS 和 Gnome 3.36.3

从命令行运行 audacity 出现以下错误:

Attempting to connect to Audacity failed...retrying
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
ALSA lib seq.c:935:(snd_seq_open_noupdate) Unknown SEQ default
ALSA lib control.c:1373:(snd_ctl_open_noupdate) Invalid CTL hw:0
ALSA lib control.c:1373:(snd_ctl_open_noupdate) Invalid CTL hw:0
Expression 'stream->capture.pcm' failed in '/build/audacity/parts/audacity/src/lib-src/portaudio-v19/src/hostapi/alsa/pa_linux_alsa.c', line: 4611
ALSA lib control.c:1373:(snd_ctl_open_noupdate) Invalid CTL hw:0
ALSA lib control.c:1373:(snd_ctl_open_noupdate) Invalid CTL hw:0

(audacity:42362): Pango-CRITICAL **: 18:21:42.969: pango_font_description_set_size: assertion 'size >= 0' failed
(audacity:42362): Pango-CRITICAL **: 18:21:42.969: pango_font_description_set_size: assertion 'size >= 0' failed
(audacity:42362): Pango-CRITICAL **: 18:21:42.969: pango_font_description_set_size: assertion 'size >= 0' failed
(audacity:42362): Pango-CRITICAL **: 18:21:42.969: pango_font_description_set_size: assertion 'size >= 0' failed
(audacity:42362): Pango-CRITICAL **: 18:21:42.969: pango_font_description_set_size: assertion 'size >= 0' failed
...
...

---- Same thing repeats for several lines -----

还尝试了 Xorg 和 Wayland 会话并获得了相同的结果。

任何帮助,将不胜感激!

答案1

我不知道如何修复 snap 包中的这个错误,但一个解决方法是apt - v2.3.3, snap - v2.4.1从 安装稍旧版本的 Audacity(截至 2020 年 8 月 17 日)apt

打开终端并输入以下命令。

sudo snap remove audacity
sudo apt install audacity

相关内容