Active Topics

 



Notices


Reply
Thread Tools
cddiede's Avatar
Posts: 1,034 | Thanked: 784 times | Joined on Dec 2007 @ Annapolis, MD
#721
Okay, Pandora is working on my desktop again. Verified that the credentials I used originally were incorrect.

Fired up pyradio on the N9 and re-authenticated with the correct name and password over wi-fi and still no streams or channels shown on the client. A station search on the client yields no results.

Here's what the terminal shows when the app is runnning:

~ $ /opt/pyRadio/pyRadio.py
Using the meego graphics system
loaded the Generic plugin
loaded the grue plugin
Loaded the MeeGo sensor plugin
Setting data rate 0 Hz (interval 0 ms) for "meego.orientationsensor"
?
PANDORA: Loading key from file "/opt/pyRadio/libpiano/key_in"
PANDORA: Downloading key from url "https://raw.github.com/PromyLOPh/pianobar/master/src/libpiano/crypt_key_input.h"
Found SGX/MBX driver, enabling FullClearOnEveryFrame
Found v1.4 driver, enabling brokenTexSubImage
hijackWindow() context created for Panda(0x624c48, name = "pyRadio") 1
Found SGX/MBX driver, enabling FullClearOnEveryFrame
Found v1.4 driver, enabling brokenTexSubImage
QGLWindowSurface: Using plain widget as window surface QGLWindowSurface(0x745fb0)
hijackWindow() context created for QInputDialog(0xaef0bb30) 1
Found SGX/MBX driver, enabling FullClearOnEveryFrame
Found v1.4 driver, enabling brokenTexSubImage
QGLWindowSurface: Using plain widget as window surface QGLWindowSurface(0x754a08)
could not autorotate on PANDORA: Loading key from file "/opt/pyRadio/libpiano/key_out"
PANDORA: Downloading key from url "https://raw.github.com/PromyLOPh/pianobar/master/src/libpiano/crypt_key_output.h"
PANDORA: Saving keys
PANDORA: dataDir = "/opt/pyRadio/libpiano/"
PANDORA: dataDir.isDir? True
Traceback (most recent call last):
File "/opt/pyRadio/radioplayer.py", line 40, in run
self.pandora = Pandora( self.format, self.protocol_version )
File "/opt/pyRadio/libpiano/pandora.py", line 45, in __init__
if not self.keys.loadKeys():
File "/opt/pyRadio/libpiano/keys.py", line 67, in loadKeys
self.saveKeys()
File "/opt/pyRadio/libpiano/keys.py", line 76, in saveKeys
f = open( os.path.join( self._dataDir, "key_in" ), "wb" )
IOError: [Errno 13] Permission denied: '/opt/pyRadio/libpiano/key_in'
hijackWindow() context created for QInputDialog(0xaef0bb30) 1
Found SGX/MBX driver, enabling FullClearOnEveryFrame
Found v1.4 driver, enabling brokenTexSubImage
QGLWindowSurface: Using plain widget as window surface QGLWindowSurface(0x754688)
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 89, in auth
ret = self.pandora.authListener( str(user), str(password) )
AttributeError: 'int' object has no attribute 'authListener'

Last edited by cddiede; 2011-11-16 at 22:51.
 
Posts: 3,428 | Thanked: 2,856 times | Joined on Jul 2008
#722
Please try to install this deb:
http://www.linuxniche.com/pyradio_4.4_all.deb

And tell me if there is any errors.
__________________
If I've helped you or you use any of my packages feel free to help me out.
-----------------------------------------------------------------------------------
Maintaining:
pyRadio - Pandora Radio on your N900, N810 or N800!
 

The Following User Says Thank You to fatalsaint For This Useful Post:
Posts: 3,428 | Thanked: 2,856 times | Joined on Jul 2008
#723
Originally Posted by cddiede View Post
Okay, Pandora is working on my desktop again. Verified that the credentials I used originally were incorrect.

Fired up pyradio on the N9 and re-authenticated with the correct name and password over wi-fi and still no streams or channels shown on the client...
Give me a copy/paste from the terminal when you run it.
__________________
If I've helped you or you use any of my packages feel free to help me out.
-----------------------------------------------------------------------------------
Maintaining:
pyRadio - Pandora Radio on your N900, N810 or N800!
 

The Following User Says Thank You to fatalsaint For This Useful Post:
cddiede's Avatar
Posts: 1,034 | Thanked: 784 times | Joined on Dec 2007 @ Annapolis, MD
#724
This sounds bad:

AttributeError: 'int' object has no attribute 'authListener'


Is that bad?
 
Posts: 3,428 | Thanked: 2,856 times | Joined on Jul 2008
#725
Ok saw your edit - that problem is because the deb isn't installing all the way and running the postinstall script.

Please try to install the deb from above and it might fix it.
__________________
If I've helped you or you use any of my packages feel free to help me out.
-----------------------------------------------------------------------------------
Maintaining:
pyRadio - Pandora Radio on your N900, N810 or N800!
 

The Following User Says Thank You to fatalsaint For This Useful Post:
cddiede's Avatar
Posts: 1,034 | Thanked: 784 times | Joined on Dec 2007 @ Annapolis, MD
#726
Okay, new package installs and I can now authenticate. I see my Pandora stations.

But there's no audio and pressing play/skip does nothing.

Also there is a GUI artifact now showing both the portrait and landscape battery/signal bars at the same time.

Here's what the terminal shows when running:

/opt/pyRadio $ /opt/pyRadio/pyRadio.py
Using the meego graphics system
loaded the Generic plugin
loaded the grue plugin
Loaded the MeeGo sensor plugin
Setting data rate 0 Hz (interval 0 ms) for "meego.orientationsensor"
?
PANDORA: Loading key from file "/opt/pyRadio/libpiano/key_in"
could not autorotate on PANDORA: Loading key from file "/opt/pyRadio/libpiano/key_out"
Found SGX/MBX driver, enabling FullClearOnEveryFrame
Found v1.4 driver, enabling brokenTexSubImage
Radio Started.
hijackWindow() context created for Panda(0x624140, name = "pyRadio") 1
Found SGX/MBX driver, enabling FullClearOnEveryFrame
Found v1.4 driver, enabling brokenTexSubImage
QGLWindowSurface: Using plain widget as window surface QGLWindowSurface(0x3d609370)
hijackWindow() context created for QInputDialog(0xaecfdb10) 1
Found SGX/MBX driver, enabling FullClearOnEveryFrame
Found v1.4 driver, enabling brokenTexSubImage
QGLWindowSurface: Using plain widget as window surface QGLWindowSurface(0x3d6b95a8)
hijackWindow() context created for QInputDialog(0xaecfdb10) 1
Found SGX/MBX driver, enabling FullClearOnEveryFrame
Found v1.4 driver, enabling brokenTexSubImage
QGLWindowSurface: Using plain widget as window surface QGLWindowSurface(0x3d6092c8)
INCOMPATIBLE VERSION DETECTED, BUMPING.
INCOMPATIBLE VERSION DETECTED, BUMPING.
hijackWindow() context created for QComboBoxPrivateContainer(0x67c4b0) 1
Found SGX/MBX driver, enabling FullClearOnEveryFrame
Found v1.4 driver, enabling brokenTexSubImage
QGLWindowSurface: Using plain widget as window surface QGLWindowSurface(0x3d60db40)
Error: com.savagebeast.radio.api.protocol.xmlrpc.RadioXml RpcException: com.savagebeast.radio.api.internal.xmlrpc.handler. HandlerPlaylist.getFragment(java.lang.String, int, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)
Code: 0
Traceback (most recent call last):
File "/opt/pyRadio/pyRadio.py", line 276, in playNextSong
self.player.getMoreSongs(self.curStation, self.c.format)
File "/opt/pyRadio/radioplayer.py", line 122, in getMoreSongs
fragment = self.pandora.getFragment( station, format )
File "/opt/pyRadio/libpiano/pandora.py", line 311, in getFragment
url = parsed[i]["audioURL"]
TypeError: string indices must be integers, not str
Traceback (most recent call last):
File "/opt/pyRadio/pyRadio.py", line 166, in doLove
self.song[1]["rating"] = 1
TypeError: 'int' object is unsubscriptable
 
cddiede's Avatar
Posts: 1,034 | Thanked: 784 times | Joined on Dec 2007 @ Annapolis, MD
#727
EDIT:

The play/skip buttons do work and I see album art, but there is no audio...

In fact, pressing the hardware volume keys do not engage the audio volume, but instead just adjust the ringer volume. This is normal N9 behavior when no media application is open.

Audio volume can still be adjusted using the on screen controls.

Last edited by cddiede; 2011-11-16 at 23:12.
 
Posts: 3,428 | Thanked: 2,856 times | Joined on Jul 2008
#728
Can you tell me if this gives any output:

cat /proc/component_version
__________________
If I've helped you or you use any of my packages feel free to help me out.
-----------------------------------------------------------------------------------
Maintaining:
pyRadio - Pandora Radio on your N900, N810 or N800!
 

The Following User Says Thank You to fatalsaint For This Useful Post:
Addison's Avatar
Posts: 3,811 | Thanked: 1,151 times | Joined on Oct 2007 @ East Lansing, MI
#729
Originally Posted by fatalsaint View Post
It's a wee-bit ugly. Guess I need to try and force colors again.

That should make Addison happy.. I think he wanted it to black on the N810 too.
Yessssh!
 
cddiede's Avatar
Posts: 1,034 | Thanked: 784 times | Joined on Dec 2007 @ Annapolis, MD
#730
This is what I see:

/proc # cat /proc/component_version
cat: can't open '/proc/component_version': No such file or directory
/proc # cd /proc
/proc # ls|grep com
/proc # ls|grep ver
driver
version
/proc # cat version
Linux version 2.6.32.39-dfl61-20112910 (bifh7@) (gcc version 4.4.1 ('cs2009q3-hard-67-sb16') ) #1 PREEMPT Fri Aug 19 21:10:50 EEST 2011
 

The Following User Says Thank You to cddiede For This Useful Post:
Reply

Tags
bad tags, good tags, pyradio


 
Forum Jump


All times are GMT. The time now is 18:25.