View Single Post
Posts: 11 | Thanked: 21 times | Joined on May 2010
#928
fatalsaint,

Here's a copy of the authentication error that I was having problems with. I think I didn't start having a problem with this until I uninstalled and reinstalled the app. Then, I would get this error every time I ran the app with the config file in place. If I deleted the config file, it would run correctly (prompting for user/pass), but if I closed the app and then re-opened it (using settings from config), I would receive this error. Oddly enough, I opened and closed the app nearly a dozen times today in rapid succession trying to capture the error, and it only happened once.

Code:
~ $ /opt/pyRadio/pyRadio.py 
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 5877792 volume 6582432 <ctypes.LP__GError object at 0x4479ce90> 
volume 28 
Radio Started. 
~ $