"Open with other application" crashes on .theme files

Bug #1242845 reported by deutrino
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Linux Mint
New
Undecided
Unassigned

Bug Description

I downloaded a GNOME mouse cursor theme and decided to see if Mint could install it from the Files browser, by right-clicking the index.theme file.

Up popped a dialog box titled: Select an application to open "index.theme"

It contained the text:

No applications available to open "index.theme"
Click "Show other applications", for more options, or "Find applications online" to install a new application.

So, I clicked the "Find applications online" button. The first time I did this, it failed and complained that the 'aop-install-data' package was needed to handle MIME type decoding, or something along those lines (not an exact error message). So I installed that package and tried again, once more getting to the dialog and clicking the "Find applications online" button.

Actual behavior:

After searching a while, it crashed and popped up a dialog titled "Failed to look for applications online" which contains a Python traceback:

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

Expected behavior:

The search should come back with either no results, or usable results, and not crash.

Release: Linux Mint 15 "olivia"
Edition: Cinnamon 64-bit

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.