Comment 8 for bug 173118

Revision history for this message
Albert Damen (albrt) wrote :

After installing the new version of gnome-app-install it still crashed for me, both when manually started and when searching for a plug-in with totem.
gdb still showed the same bad string as previously. dpkg -s gome-app-install confirmed the new version (0.5.0-0ubuntu1) was installed.
Looking in AppInstall/Menu.py I noticed a second occurrence of gst.caps_from_string. Adding the same split call as was added before the first occurrence of gst.caps_from_string solved the issue:

--- Menu.py 2007-12-10 21:34:50.000000000 +0100
+++ Menu2.py 2007-12-10 21:46:24.000000000 +0100
@@ -263,6 +263,8 @@
             if fuzzy and term in codec:
                 return True
             else:
+ if ":" in codec:
+ codec = codec.split(":")[1]
                 cap = gst.caps_from_string(codec)
                 #print "codec: ",codec
                 #print "cap: ",cap

Leaving status as fix-released until someone can confirm gnome-app-install is still crashing.