升级到 ubuntu 15.10 后 Soundconverter 无法工作

升级到 ubuntu 15.10 后 Soundconverter 无法工作

自从我升级到 ubuntu 15.10 后,soundconverter 就不再启动了。

这是我尝试启动它时的输出,没有任何参数

$ soundconverter 
SoundConverter 2.1.5
  using Gstreamer version: 0.10.36
  using 4 thread(s)
  using gio
Traceback (most recent call last):
  File "/usr/bin/soundconverter", line 189, in <module>
gui_main(NAME, VERSION, GLADEFILE, files)
  File "/usr/share/soundconverter/python/soundconverter/ui.py", line 1512, in gui_main
win = SoundConverterWindow(builder)
  File "/usr/share/soundconverter/python/soundconverter/ui.py", line 1177, in __init__
self.prefs = PreferencesDialog(builder, self.widget)
  File "/usr/share/soundconverter/python/soundconverter/ui.py", line 447, in __init__
self.set_widget_initial_values(builder)
  File "/usr/share/soundconverter/python/soundconverter/ui.py", line 479, in set_widget_initial_values
uri = filename_to_uri(self.get_string('selected-folder'))
  File "/usr/share/soundconverter/python/soundconverter/fileoperations.py", line 150, in filename_to_uri
filename = str(gnomevfs.URI(filename))
TypeError: could not parse URI

并安装 soundconverter 版本

$ apt-cache policy soundconverter
soundconverter:
  Installé : 2.1.5-1
  Candidat : 2.1.5-1
 Table de version :
 *** 2.1.5-1 0
        500 http://fr.archive.ubuntu.com/ubuntu/ wily/universe amd64 Packages
        100 /var/lib/dpkg/status

strace -e open /usr/bin/soundconverter 的错误输出可以在这里找到:http://paste.ubuntu.com/13582686/

从 python 看到的路径结果:

$ python
Python 2.7.10 (default, Oct 14 2015, 16:09:02) 
[GCC 5.2.1 20151010] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import os
>>> print(os.path.expanduser('~'))
/home/roms

正如您所猜测的,这是我的主目录,因为我使用 roms 作为用户名。

相关内容