maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Multimedia (https://talk.maemo.org/forumdisplay.php?f=32)
-   -   [application] pyRadio (Pandora) (https://talk.maemo.org/showthread.php?t=56036)

jsharper 2010-11-02 01:40

Re: [application] pyRadio (Pandora)
 
looks like extras?

Code:

Nokia-N900:~# apt-cache showpkg python2.5-qt4-common
Package: python2.5-qt4-common
Versions:
4.7.5-maemo1 (/var/lib/apt/lists/repository.maemo.org_extras_dists_fremantle-1.3_free_binary-armel_Packages)
 Description Language:
                File: /var/lib/apt/lists/repository.maemo.org_extras_dists_fremantle-1.3_free_binary-armel_Packages
                  MD5: 37f4125cec5d18a1c301b4b2117a3505

4.7.4-maemo0 (/var/lib/apt/lists/repository.maemo.org_extras_dists_fremantle-1.3_free_binary-armel_Packages)
 Description Language:
                File: /var/lib/apt/lists/repository.maemo.org_extras_dists_fremantle-1.3_free_binary-armel_Packages
                  MD5: 37f4125cec5d18a1c301b4b2117a3505

4.7.3-maemo5 (/var/lib/apt/lists/repository.maemo.org_extras_dists_fremantle-1.3_free_binary-armel_Packages)
 Description Language:
                File: /var/lib/apt/lists/repository.maemo.org_extras_dists_fremantle-1.3_free_binary-armel_Packages
                  MD5: 37f4125cec5d18a1c301b4b2117a3505

4.7-maemo7 (/var/lib/apt/lists/repository.maemo.org_extras_dists_fremantle-1.3_free_binary-armel_Packages)
 Description Language:
                File: /var/lib/apt/lists/repository.maemo.org_extras_dists_fremantle-1.3_free_binary-armel_Packages
                  MD5: 37f4125cec5d18a1c301b4b2117a3505

4.7-maemo5 (/var/lib/apt/lists/repository.maemo.org_extras_dists_fremantle-1.3_free_binary-armel_Packages)
 Description Language:
                File: /var/lib/apt/lists/repository.maemo.org_extras_dists_fremantle-1.3_free_binary-armel_Packages
                  MD5: 37f4125cec5d18a1c301b4b2117a3505

4.7-maemo2 (/var/lib/apt/lists/repository.maemo.org_extras_dists_fremantle-1.3_free_binary-armel_Packages)
 Description Language:
                File: /var/lib/apt/lists/repository.maemo.org_extras_dists_fremantle-1.3_free_binary-armel_Packages
                  MD5: 37f4125cec5d18a1c301b4b2117a3505


Reverse Depends:
  peqersi,python2.5-qt4-common
  python2.5-qt4-core,python2.5-qt4-common 4.7-maemo7
  python2.5-qt4-core,python2.5-qt4-common 4.7-maemo2
  python2.5-qt4-core,python2.5-qt4-common 4.7.4-maemo0
  python2.5-qt4-dev,python2.5-qt4-common 4.7.4-maemo0
  python2.5-qt4-core,python2.5-qt4-common 4.7.3-maemo5
  python2.5-qt4-dev,python2.5-qt4-common 4.7.5-maemo1
Dependencies:
4.7.5-maemo1 - python2.5 (2 2.5.1) python2.5-sip4 (2 4.11) python2.5 (18 2.5.4-1maemo5) libqtcore4 (0 (null)) python-qt4 (0 (null))
4.7.4-maemo0 - python2.5 (2 2.5.1) python2.5-sip4 (2 4.10.3) python2.5 (18 2.5.4-1maemo5) libqtcore4 (0 (null)) python-qt4 (0 (null))
4.7.3-maemo5 - python2.5 (2 2.5.1) python2.5-sip4 (2 4.10.2) python2.5 (18 2.5.4-1maemo5) libqtcore4 (0 (null)) python-qt4 (0 (null))
4.7-maemo7 - python2.5 (2 2.5.1) python2.5-sip4 (2 4.10.0) python2.5 (18 2.5.4-1maemo5) libqtcore4 (0 (null)) python-qt4 (0 (null))
4.7-maemo5 - python2.5 (2 2.5.1) python2.5-sip4 (2 4.10.0) python2.5 (18 2.5.4-1maemo5) libqtcore4 (0 (null)) python-qt4 (0 (null))
4.7-maemo2 - python2.5 (2 2.5.1) python2.5-sip4 (2 4.10.0) pymaemo-optify (16 (null)) maemo-version-dev (3 5.0) python-qt4 (0 (null))
Provides:
4.7.5-maemo1 -
4.7.4-maemo0 -
4.7.3-maemo5 -
4.7-maemo7 -
4.7-maemo5 -
4.7-maemo2 -
Reverse Provides:


fatalsaint 2010-11-02 01:54

Re: [application] pyRadio (Pandora)
 
http://maemo.org/packages/view/python2.5-qt4-common

So it appears. I got nothing?

Can you load something like the HealthCheck app that uses PyQt4 or any other PyQt4 apps?

The Arsonist 2010-11-02 11:43

Re: [application] pyRadio (Pandora)
 
Its working fine on my end. It worked after the PR 1.3 update, then after a few app updates, it would launch and then disappear. I just uninstalled it and reinstalled it and everything is fine again. I've been getting some Repos problems(like everyone has), but it didn't affect pyRadio. Just make it simple and uninstall and reinstall.

jsharper 2010-11-03 01:08

Re: [application] pyRadio (Pandora)
 
Ok, I got it installed. I just didn't know the syntax for specifying a particular package. Once I did an "apt-get install python2.5-qt4-common=4.7.4-maemo0" I was then able to apt-get install pyradio since it was then able to install the rest of the (4.7.4-maemo0) python-qt packages.

However, it won't run...
Code:

Nokia-N900:~# /opt/pyRadio/pyRadio.py
Traceback (most recent call last):
  File "/opt/pyRadio/pyRadio.py", line 6, in <module>
    from PyQt4 import QtGui,QtCore
RuntimeError: the sip module implements API v8.0 but the PyQt4.QtGui module requires API v7.1

:(

Why is python-qt such a mess...

ETA: ok i noticed that python2.5-sip4 was updated yesterday too. So I removed everything and started over with "apt-get install python2.5-qt4-common=4.7.4-maemo0 python2.5-sip4=4.10.5-maemo0" to force the older version of both of those packages and now pyradio works.

mustanga30 2010-11-03 01:17

Re: HELP REQUEST Re: [application] pyRadio (Pandora)
 
I had the same problem until I set the date and time.


Quote:

Originally Posted by mfortner (Post 832339)
I've been tinkering with pyRadio for a couple of hours and reading through this thread trying to get it to work on my N810.

It opens, requests login info, but it will not load or create stations...thus will not play.

I think I have found at least part of the problem, but I am not a programmer so I don't really know how to fix it. I have no pyradio directory nor config file in ~/.config ... regarding ~/.config/pyradio/config.

I tried adding the directory and a new file (blank since I new nothing else ) using Cyberduck, but that did not seem to help. It persists in requesting login info at every launch.

From terminal:

~ $ /opt/pyRadio/pyRadio.py
Radio Started.
No FM Transmitter.
could not autorotate on
Error: com.savagebeast.radio.api.protocol.xmlrpc.RadioXml RpcException: 192.168.160.92|1286123784732|OUT_OF_SYNC|You have no chance to survive make your time.
Code: 1
Error: com.savagebeast.radio.api.protocol.xmlrpc.RadioXml RpcException: 192.168.160.182|1286123787967|OUT_OF_SYNC|You have no chance to survive make your time.
Code: 1
Error: com.savagebeast.radio.api.protocol.xmlrpc.RadioXml RpcException: 192.168.161.213|1286123790868|OUT_OF_SYNC|You have no chance to survive make your time.
Code: 1
Traceback (most recent call last):
File "/opt/pyRadio/pyRadio.py", line 206, in auth
self.auth( count )
File "/opt/pyRadio/pyRadio.py", line 206, in auth
self.auth( count )
File "/opt/pyRadio/pyRadio.py", line 206, in auth
self.auth( count )
File "/opt/pyRadio/pyRadio.py", line 191, in auth
self.closeEvent()
File "/opt/pyRadio/pyRadio.py", line 272, in closeEvent
self.player.close()
File "/opt/pyRadio/radioplayer.py", line 126, in close
self.player.close()
File "/opt/pyRadio/libpiano/AbstractBackend.py", line 433, in close
self._close()
File "/opt/pyRadio/libpiano/OSSOBackend.py", line 172, in _close
self.__current_player.stop()
AttributeError: 'NoneType' object has no attribute 'stop'


bocaJ 2010-11-06 04:39

Re: [application] pyRadio (Pandora)
 
I'm still using 1.2 and I've been having problems getting pyradio to work. It was working fine about an hour ago, but the stations kept pausing and song ends, and I couldn't skip forward like I normally could. I closed pyradio, and when I opened it again, I was prompted for login credentials. I entered them and was prompted again. Entered them again and I was booted out. I was able to log into Pandora on my PC, so I know it's not that my account is locked or something like that.

Tried uninstalling-reinstalling to no avail.

I'm trying updating to PR1.3 now, but I'm not holding out much hope.

EDIT: Just updated and still not luck. Any help appreciated.

fatalsaint 2010-11-06 06:21

Re: [application] pyRadio (Pandora)
 
Running
Code:

/opt/pyRadio/pyRadio.py
from a terminal will give more output to troubleshoot.

slvr32 2010-11-06 16:30

Re: [application] pyRadio (Pandora)
 
Not sure if this helps, but trying to install pyRadio from the application manager shows a missing python2.5-qt4-common=4.7.4-maemo0 dependency.

If you run...

apt-get install python2.5-qt4-common

it prompts you to also install python2.5-sip4

and the following packages are then installed (assuming you answered Y)

http://repository.maemo.org fremantle-1.3/free python2.5-sip4 4.11-maemo0
http://repository.maemo.org fremantle-1.3/free python2.5-qt-common 4.7.5-maemo1

So there's a 4.7.4 dependency, but 4.7.5 is now in the repository, leading to the missing 4.7.4 dependency.

Will pyRadio work with 4.7.5, and can the pyRadio package be updated to have a 4.7.5 dependency?

Also, if you follow the earlier apt-get install python2.5-qt4-common
with...

apt-get install pyradio

you also get the following...

The following packages have unmet dependencies:
pyradio:
Depends: python2.5-qt4-gui but it is not going to be installed
Depends: python2.5-qt4-webkit but is not going to be installed
Depends: python2.5-qt4-network but is not going to be installed

And then...

apt-get install python2.5-qt4-gui

python2.5-qt4-gui:
Depends: python2.5-qt4-core (= 4.7.4-maemo0) but it is not going to be installed

and likely similar issues with python2.5-qt4-webkit, network.

So what's the appropriate fix? Updating pyRadio and related dependencies, I hope?

Edit: looks like the real problem was created upstream...

http://forums.internettablettalk.com...t.php?p=866008

"Upon further inspection - apparently somehow something pulled in the sip and common packages from devel into stable (wasn't me), which is very bad. Will notify Niels to fix this."

(will wait for python in the repositories to be fixed)

kiatoa 2010-11-06 16:35

Re: [application] pyRadio (Pandora)
 
In the terminal I get:

INCOMPATIBLE VERSION Pandora does not support your client version.

(I get the never ending password loop when I try to log in.)

ThePooBurner 2010-11-06 17:09

Re: [application] pyRadio (Pandora)
 
Quote:

Originally Posted by kiatoa (Post 865284)
In the terminal I get:

INCOMPATIBLE VERSION Pandora does not support your client version.

(I get the never ending password loop when I try to log in.)

same problem for me. started this morning. worked fine yesterday. they must have changed the crypto key again.


All times are GMT. The time now is 04:26.

vBulletin® Version 3.8.8