我收到以下错误:
Failed to look for applications online
GDBus.Error:org.freedesktop.DBus.Python.xdg.Exceptions.ParsingError: Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/defer/__init__.py", line 489, in _inline_callbacks
result = gen.send(result)
File "/usr/lib/python2.7/dist-packages/sessioninstaller/core.py", line 1030, in _install_mime_types
path))
File "/usr/lib/python2.7/dist-packages/xdg/DesktopEntry.py", line 33, in __init__
self.parse(filename)
File "/usr/lib/python2.7/dist-packages/xdg/DesktopEntry.py", line 42, in parse
IniFile.parse(self, file, ["Desktop Entry", "KDE Desktop Entry"])
File "/usr/lib/python2.7/dist-packages/xdg/IniFile.py", line 81, in parse
raise ParsingError("Invalid line: " + line, filename)
ParsingError: ParsingError in file '/usr/share/app-install/desktop/workrave:workrave.desktop', Invalid line: - RSI (Repetitive Strain Injury) oraz wspomaga rekonwalescencj\u0119"
有任何想法吗?
当我右键单击一个程序,用其他应用程序打开...,在线查找应用程序时,就会发生这种情况。然后弹出此错误。
答案1
删除/usr/share/app-install/desktop/workrave:workrave.desktop
应该可以解决问题,对我来说它解决了;)
sudo rm /usr/share/app-install/desktop/workrave:workrave.desktop
资料来源:这里https://bugs.launchpad.net/ubuntu/+source/nautilus/+bug/1190097