Pithos loads stations, but won't play

Bug #773775 reported by Dean Sellis
26
This bug affects 5 people
Affects Status Importance Assigned to Milestone
Pithos
Incomplete
Undecided
Unassigned

Bug Description

I've installed Pithos (latest 0.3.9 release) and my stations load, the buffering message displays and goes to 100%, then nothing happens. It won't play any music. This is on Ubuntu 11.04 and everything is up to date. Here's output from the verbose command line:

 pithos -v
INFO - pithos:<module>:776 - Pithos 0.3.9
INFO - plugin:enable:36 - Enabling module notification_icon
INFO - plugin:enable:36 - Enabling module mediakeys
INFO - mediakeys:bind_dbus:30 - Bound media keys with DBUS
INFO - plugin:enable:36 - Enabling module notify
/usr/lib/python2.7/dist-packages/pithos/pandora/xmlrpc.py:48: FutureWarning: The behavior of this method will change in future versions. Use specific 'len(elem)' or 'elem is not None' test instead.
  if s:
/usr/lib/python2.7/dist-packages/pithos/pandora/xmlrpc.py:45: FutureWarning: The behavior of this method will change in future versions. Use specific 'len(elem)' or 'elem is not None' test instead.
  if a:
INFO - pithos:pandora_ready:319 - Pandora connected
INFO - pithos:pandora_ready:329 - Restoring saved station: id = 440694220451439027
INFO - pithos:station_changed:501 - Selecting station 440694220451439027; total = 70
INFO - pandora:get_playlist:227 - pandora: Get Playlist
INFO - pithos:start_song:370 - Starting song: index = 0
INFO - pithos:art_callback:446 - Downloaded album art for 0
INFO - pithos:art_callback:446 - Downloaded album art for 1
INFO - pithos:art_callback:446 - Downloaded album art for 2
INFO - pithos:art_callback:446 - Downloaded album art for 3

No matter what I click on no music will ever play.

Revision history for this message
Joshua Kugler (jkugler) wrote :
Download full text (9.3 KiB)

This just started happening for me recently as well. Pithos was working for a while. This is a Kubuntu 11.04 machine with KDE 4.7.00. PulseAudio, of course. My pithos -v output is similar to the original reporters.

I don't know if this helps, but if I strace the process, after it starts loads, and buffers, it generates this approximately once per second:

If you want the full strace output, let me know.

clock_gettime(CLOCK_MONOTONIC, {74127, 65768916}) = 0
clock_gettime(CLOCK_MONOTONIC, {74127, 66280294}) = 0
read(4, 0x92f5298, 4096) = -1 EAGAIN (Resource temporarily unavailable)
clock_gettime(CLOCK_MONOTONIC, {74127, 66716243}) = 0
poll([{fd=5, events=POLLIN}, {fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=7, events=POLLIN}, {fd=13, events=POLLIN}, {fd=14, events=POLLIN}], 6, 0) = 0 (Timeout)
read(4, 0x92f5298, 4096) = -1 EAGAIN (Resource temporarily unavailable)
clock_gettime(CLOCK_MONOTONIC, {74127, 68494473}) = 0
poll([{fd=5, events=POLLIN}, {fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=7, events=POLLIN}, {fd=13, events=POLLIN}, {fd=14, events=POLLIN}], 6, 0) = 0 (Timeout)
poll([{fd=4, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=4, revents=POLLOUT}])
writev(4, [{"5\30\4\0A\10\240\6\270\0\240\6\337\1d\0\225\4\5\0B\10\240\6A\10\240\6*\0\0\0"..., 8820}, {NULL, 0}, {"", 0}], 3) = 8820
read(4, 0x92f5298, 4096) = -1 EAGAIN (Resource temporarily unavailable)
read(4, 0x92f5298, 4096) = -1 EAGAIN (Resource temporarily unavailable)
clock_gettime(CLOCK_MONOTONIC, {74127, 76855389}) = 0
poll([{fd=5, events=POLLIN}, {fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=7, events=POLLIN}, {fd=13, events=POLLIN}, {fd=14, events=POLLIN}], 6, 0) = 1 ([{fd=4, revents=POLLIN}])
read(4, "g\2\332$\270\0\240\6\271\0\240\6\344\26k\4\0\0\0\0\337\1d\0\5\0008\0\337\0012\1", 4096) = 32
read(4, 0x92f5298, 4096) = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=4, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=4, revents=POLLOUT}])
writev(4, [{"\224\5\4\0Q\10\240\6\0\0\0\0\337\1d\0\231\3\4\0\271\0\240\6Q\10\240\6\0\0\0\0"..., 40}, {NULL, 0}, {"", 0}], 3) = 40
read(4, 0x92f5298, 4096) = -1 EAGAIN (Resource temporarily unavailable)
clock_gettime(CLOCK_MONOTONIC, {74127, 78061058}) = 0
poll([{fd=5, events=POLLIN}, {fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=7, events=POLLIN}, {fd=13, events=POLLIN}, {fd=14, events=POLLIN}], 6, 0) = 0 (Timeout)
poll([{fd=4, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=4, revents=POLLOUT}])
writev(4, [{"5\30\4\0R\10\240\6z\0\240\6\337\1d\0\225\4\5\0S\10\240\6R\10\240\6*\0\0\0"..., 88}, {NULL, 0}, {"", 0}], 3) = 88
poll([{fd=4, events=POLLIN}], 1, -1) = 1 ([{fd=4, revents=POLLIN}])
read(4, "\1 \343$\1\0\0\0\4\0\0\0\0\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 4096) = 36
read(4, 0x92f5298, 4096) = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=4, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=4, revents=POLLOUT}])
writev(4, [{"\24\0\6\0z\0\240\6\300\1\0\0\6\0\0\0\0\0\0\0\377\377\377\177", 24}, {NULL, 0}, {"", 0}], 3) = 24
poll([{fd=4, events=POLLIN}], 1, -1) = 1 ([{fd=4, revents=POLLIN}])
read(4, "\1 \344$\4\0\0\0\6\0\0...

Read more...

Revision history for this message
Joshua Kugler (jkugler) wrote :

Addition details...somewhat fuzzy.

Today, I had an unrelated problem and ended up killing the pulse audio daemon. (Mind, I've restarted this laptop a few times). This evening, I started Pithos, and it started playing fine. Weeeeeeird.

I'll keep an eye on this.

Revision history for this message
Adam Porter (alphapapa) wrote :

Any updates on this? It works for me.

Revision history for this message
Joshua Kugler (jkugler) wrote :

No updates from me. Haven't been able to reproduce the problem since. I'm guessing it's some esoteric sound system glitch.

Revision history for this message
Adam Porter (alphapapa) wrote :

I'm guessing you're right. I'm marking it as incomplete.

Changed in pithos:
status: New → Incomplete
Revision history for this message
G Taylor (gravity-addiction) wrote :

I am currently having this issue, on Ubuntu 11.10 x64

$ pithos

(pithos:2178): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",

(pithos:2178): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",

(pithos:2178): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",

(pithos:2178): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",
/usr/local/bin/pithos:805: GtkWarning: Ignoring the separator setting
  builder.add_from_file(ui_filename)
WARNING:root:Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/pithos/gobject_worker.py", line 34, in _run
    result = command(*args)
  File "/usr/local/lib/python2.7/dist-packages/pithos/pandora/pandora.py", line 252, in get_playlist
    songs.append(Song(self.pandora, i))
  File "/usr/local/lib/python2.7/dist-packages/pithos/pandora/pandora.py", line 276, in __init__
    self.audioUrl = d['additionalAudioUrl'][self.pandora.audio_format]
IndexError: list index out of range

Revision history for this message
G Taylor (gravity-addiction) wrote :

bandaid to the problem, under Settings -> Advanced Settings -> Audio Format dropdown it was on mp3-hifi 3rd in the list. i set it to mp3 2nd in the list, and everything works as advertised.

Revision history for this message
Jessie (iluminameluna) wrote :

I don't know if it's directly related or not because I don't get any clr error messages. I have JUST installed Pithos, & am running this version: Pithos 0.3.17. I first installed it from the Synaptic Package Manager, then, when it wasn't working, I ck the Pithos webpage & I found this bit of code to install/update on Ubuntu:

sudo add-apt-repository ppa:kevin-mehall/pithos-daily
sudo apt-get update
sudo apt-get install pithos

I use my son's Pandora acct since I'm living in his house (funny, huh?) but all I get when I start up the app is this:

Error: Gstreamer error: state change failed and some element failed to post a proper error message with the reason for the failure.

Someone above suggested they changed their preferred audio format from mp3 hi-fi to mp3 (3rd choice to 2nd) but I've tried all of them & none of them worked.

Also, don't know how to get the output gotten by Dean Sellis with "verbose" (don't even know what that is) or J Kugler's "strace" (this one either).

I'm running Lubuntu 11.10, all updates current.

If "killing the pulse audio daemon" will fix the prob, I'm all for killing. How would I get to the particular line in the source code? I'm thinking some notepad app but not sure how or where to start looking for it.

Any help for this grandma would be repaid in Karma. Thanks!

Revision history for this message
Jessie (iluminameluna) wrote :

Additionally:

The Stations load, I get to pick one, the songs start to load, the buffers go to 100% then the above message appears. & it tries another song & it stops "trying" at the fourth song at which point it does NOT buffer to 100% but says instead: Error: Resource Not Found.

If I go to the Pandora website, I can log in & play Pandora but I'd rather not have my browser open all night 'cause it just heats up my Asus Eee PC 901 even though the battery has been removed since I have it on A/C power. Plus I'm basically bedridden so I have it playing almost 24-7 & my comp gets awfully hot.

Thanks again ... =D

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.