12.04 doesn't have gstreamer1.0 by default, so pithos fails to launch with the following error:
Traceback (most recent call last):
File "/usr/lib/python2.7/runpy.py", line 162, in _run_module_as_main
"__main__", fname, loader, pkg_name)
File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "/home/aparulekar/Developer/pithos/pithos/pithos.py", line 24, in <module>
gi.require_version('Gst', '1.0')
File "/usr/lib/python2.7/dist-packages/gi/__init__.py", line 52, in require_version
(namespace, version))
ValueError: Namespace Gst not available for version 1.0
After installing gstreamer1.0 from the Precise backports PPA maintained by the gstreamer developers at https://launchpad.net/~gstreamer-developers/+archive/ppa?field.series_filter=precise, pithos launches, and works sometimes. At other times, the display pane gets populated with one or two songs, and then the following error is seen in the terminal:
(pithos.py:3428): Gtk-WARNING **: Unknown property: GtkEntry.input-purpose
(pithos.py:3428): Gtk-WARNING **: Unknown property: GtkEntry.input-purpose
(pithos.py:3428): Gtk-WARNING **: Unknown property: GtkEntry.input-purpose
(pithos.py:3428): Gtk-WARNING **: Unknown property: GtkEntry.input-purpose
Traceback (most recent call last):
File "/home/ameyp/tmp/pithos/pithos/pithos.py", line 284, in cb
if callback: callback(v)
File "/home/ameyp/tmp/pithos/pithos/pithos.py", line 516, in callback
self.update_song_row(i)
File "/home/ameyp/tmp/pithos/pithos/pithos.py", line 670, in update_song_row
self.songs_model[song.index][2] = self.song_icon(song)
File "/usr/lib/python2.7/dist-packages/gi/overrides/Gtk.py", line 1102, in __setitem__
self.model.set_value(self.iter, key, value)
File "/usr/lib/python2.7/dist-packages/gi/overrides/Gtk.py", line 1013, in set_value
Gtk.ListStore.set_value(self, treeiter, column, value)
File "/usr/lib/python2.7/dist-packages/gi/types.py", line 43, in function
return info.invoke(*args, **kwargs)
TypeError: Argument 3 does not allow None as a value