View Single Post
Posts: 30 | Thanked: 7 times | Joined on Nov 2010 @ Rhode Island
#887
Originally Posted by gawga_boy View Post
Yep.. Get the same thing. This is after I exited pyRadio via the X in the upper right corner. It'll just sit there on the Authenticating screen and to go any further on startup. Sometimes I can exit with X and start it over and it'll work fine other times I have to reboot.

This leads to a question. What's the proper way to exit pyRadio if the X isn't and is causing this condition?

RX-51
PANDORA: Loading key from file "/opt/pyRadio/libpiano/key_in"
PANDORA: Loading key from file "/opt/pyRadio/libpiano/key_out"
Error calling slot "auth"
Traceback (most recent call last):
File "/opt/pyRadio/pyRadio.py", line 211, in auth
authenticated = self.player.auth( self.c.user, self.c.password )
File "/opt/pyRadio/radioplayer.py", line 87, in auth
self.pandora.sync()
AttributeError: 'NoneType' object has no attribute 'sync'
('found new MAFW renderer %s', 'Mafw-Gst-Renderer')
using MAFW Gst-Renderer
MAFW PROPERTY RECEIVED 5905952 volume 6246152 <ctypes.LP__GError object at 0x447c5e90>
volume 28
Radio Started.
I fixed my install by having the shortcut call a script that first deletes the contents of the /home/user/.config/pyradio directory and then calls /opt/pyRadio/pyRadio.py. Additionally, so I wouldn't have to enter my credentials each time, I hard-coded them in pyRadio.py. For some reason, the code path that executes when the config is missing avoids this error.

Last edited by DrKlaw; 2011-12-25 at 22:47. Reason: clarity