[Bug 1190097] Re: Nautilus tries but fails to auto-install applications needed to open files of a given type
Sebastien Bacher
seb128 at ubuntu.com
Wed Jun 12 14:04:08 UTC 2013
Thanks Adam, trying to figure out what is happening there I looked at a
dbus-monitor log and saw that:
"error sender=:1.444 -> dest=:1.438 error_name=org.freedesktop.DBus.Python.xdg.Exceptions.ParsingError reply_serial=158
string "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"
removing '/usr/share/app-install/desktop/workrave:workrave.desktop'
fixes the issue
I'm adding app-install-data-ubuntu (which ships the broken .desktop),
workrave (where the original .desktop comes from) and sessioninstaller
(which shouldn't probably stop working because one file has parsing
errors) to the affected components
** Also affects: app-install-data-ubuntu (Ubuntu)
Importance: Undecided
Status: New
** Also affects: sessioninstaller (Ubuntu)
Importance: Undecided
Status: New
** Changed in: nautilus (Ubuntu)
Status: New => Invalid
** Changed in: nautilus (Ubuntu)
Importance: Undecided => Low
** Changed in: sessioninstaller (Ubuntu)
Importance: Undecided => Low
** Changed in: sessioninstaller (Ubuntu)
Status: New => Triaged
** Changed in: app-install-data-ubuntu (Ubuntu)
Importance: Undecided => High
** Changed in: app-install-data-ubuntu (Ubuntu)
Status: New => Triaged
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to app-install-data-ubuntu in
Ubuntu.
https://bugs.launchpad.net/bugs/1190097
Title:
Nautilus tries but fails to auto-install applications needed to open
files of a given type
Status in “app-install-data-ubuntu” package in Ubuntu:
Triaged
Status in “nautilus” package in Ubuntu:
Invalid
Status in “sessioninstaller” package in Ubuntu:
Triaged
Bug description:
I'm running Nautilus 3.6.3 on Ubuntu 13.10 (Saucy).
When I double click a file in Nautilus and there is no application
installed which can open the file, Nautilus will try to auto-install
an application but the auto-install hangs. Specifically, for example:
1. Make sure that Gnumeric is not installed on your system.
2. Create a file with extension .gnumeric and double click it in Nautlius.
Nautilus will report:
Could not display "finance.gnumeric".
There is no application installed for "Gnumeric spreadsheet" files.
Do you want to search for an application to open this file?
Click Yes. You'll now see a dialog that looks like this:
Searching for suitable software to open files
Files requires to install [sic] software to open files of the following file type: Gnumeric spreadsheet
The dialog has a progress bar, which will briefly pulse and then stop.
You can now only press Cancel.
A glance at the code shows that Nautilus is trying to send a DBus
message to PackageKit to perform the install. There are apparently
some PackageKit components on my system (e.g. libpackagekit-glib2-14
is installed), but something is not working.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/app-install-data-ubuntu/+bug/1190097/+subscriptions
More information about the foundations-bugs
mailing list