LoginSignup
0
0

More than 1 year has passed since last update.

Ubuntu 20.04にアップグレード後 inkscape がファイル保存時に異常終了する

Posted at

事象

Ubuntu 18.04のときにインストールした inkscape をUbuntu 20.04にアップグレード後に使用したところ、ファイル保存時に異常終了するようになった。

環境

動作環境は以下の通り。

$ cat /etc/os-release 
NAME="Ubuntu"
VERSION="20.04.2 LTS (Focal Fossa)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 20.04.2 LTS"
VERSION_ID="20.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=focal
UBUNTU_CODENAME=focal

$ sudo snap list | grep inkscape
inkscape              1.1-ce6663b3b7-2021-05-25   9090   latest/stable    inkscape*     -

原因調査

inkscapeを起動してから異常終了するまでのログを確認した。

$ journalctl -f
...
 6月 19 20:02:05 <HOST_NAME> inkscape[2515855]: Failed to load module "canberra-gtk-module"
 6月 19 20:02:05 <HOST_NAME> inkscape[2515855]: Failed to load module "canberra-gtk-module"
...
 6月 19 20:02:20 <HOST_NAME> inkscape[2515855]: Error creating IO channel for /proc/self/mountinfo: Permission denied (g-file-error-quark, 2)
 6月 19 20:02:20 <HOST_NAME> inkscape[2515855]: Settings schema 'org.gtk.Settings.FileChooser' does not contain a key named 'show-type-column'

まず、inkscape起動時(20:02:05)に"canberra-gtk-module"のロードに失敗し、ファイル保存時(20:02:20)に"g-file-error-quark"のマウントに失敗していた。

恒久処置

よくわからないので、再インストールしたところ事象が起きなくなった。

$ sudo snap remove inkscape
$ sudo snap install inkscape

まとめ

inkscapeを再インストールしたら、なおった。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0