我下载了pyTranscriber-v1.4-linux-安装程序并按照以下脚本将其安装在 Ubuntu 18.04 上:
#!/bin/bash
mkdir -p /opt/pyTranscriber
cp -r app/* /opt/pyTranscriber
chmod +x /opt/pyTranscriber/*
cp shortcut/pytranscriber.desktop /usr/share/applications/
pyTransscriber 已成功安装并可以运行。但是,无论我在 GUI 中按下什么按钮,程序都会退出,无法执行任何操作。
是否存在我遗漏了的安装过程或依赖项,或者我做错了什么?
这是我运行时得到的错误输出/opt/pyTranscriber/pyTranscriber
:
xxx@xxxxx:/opt/pyTranscriber$ ./pyTranscriber
Gtk-Message: 01:05:52.628: Failed to load module "canberra-gtk-module"
Gtk-Message: 01:05:52.629: Failed to load module "canberra-gtk-module"
Qt: Session management error: None of the authentication protocols specified are supported
Fontconfig warning: "/etc/fonts/conf.avail/53-monospace-lcd-filter.conf", line 10: Having multiple values in <test> isn't supported and may not work as expected
(.staticx.prog:4548): Gtk-WARNING **: 01:05:55.418: Could not load a pixbuf from /org/gtk/libgtk/icons/16x16/status/image-missing.png.
This may indicate that pixbuf loaders or the mime database could not be found.
**
Gtk:ERROR:../gtk/gtk/gtkiconhelper.c:494:ensure_surface_for_gicon: assertion failed (error == NULL): Failed to load /org/gtk/libgtk/icons/16x16/status/image-missing.png: Unrecognized image file format (gdk-pixbuf-error-quark, 3)
Bail out! Gtk:ERROR:../gtk/gtk/gtkiconhelper.c:494:ensure_surface_for_gicon: assertion failed (error == NULL): Failed to load /org/gtk/libgtk/icons/16x16/status/image-missing.png: Unrecognized image file format (gdk-pixbuf-error-quark, 3)
Aborted (core dumped)