maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Multimedia (https://talk.maemo.org/forumdisplay.php?f=32)
-   -   [M5+M6] [Announce] qAndora - Pandora Internet Radio for N900+N9 (https://talk.maemo.org/showthread.php?t=94019)

Jef91 2015-01-27 18:39

Re: [Announce] qAndora - Pandora Internet Radio for N900+N9
 
Its been awhile since I used my N9, but do you need root to install packages like that? That error message sounds like a permissions issue.

comee 2015-01-27 23:44

Re: [Announce] qAndora - Pandora Internet Radio for N900+N9
 
I had the same problem... got it to install with
Code:

$ devel-su
# develsh
# apt-get install qandora-mobile

not sure why the 'develsh' was required though..?

gawga_boy 2015-01-28 00:01

Re: [Announce] qAndora - Pandora Internet Radio for N900+N9
 
Yes running as root via devel-sh. Must be a umask issue with the directories. Since I posted my question, I tried the brute force by unpacking the archive and moving the various parts into place manually. Was getting warnings regarding permissions on the copy and the permissions changed on the files once they are in place so that pretty much says a umask was involved.

Edit: Yep the develsh was the trick.

Thanks

princefakhan 2015-03-22 17:57

Re: [Announce] qAndora - Pandora Internet Radio for N900+N9
 
Hey! I am using this on N900. I open the app. The login screen comes. I fill my details and then nothing happens. Does this need a premium account?

Thanks.

Jef91 2015-03-22 18:00

Re: [Announce] qAndora - Pandora Internet Radio for N900+N9
 
It does not. You do need to be in one of the countries that Pandora supports though.

If you launch the app from a terminal does it post any output when you press login?

Edit: Also make sure you have the properly python gstreamer packages installed.

princefakhan 2015-03-22 18:59

Re: [Announce] qAndora - Pandora Internet Radio for N900+N9
 
Quote:

Originally Posted by Jef91 (Post 1464673)
It does not. You do need to be in one of the countries that Pandora supports though.

If you launch the app from a terminal does it post any output when you press login?

Edit: Also make sure you have the properly python gstreamer packages installed.

Oh sure! That got out of my mind completely. Thanks for reminding. :D

princefakhan 2015-03-22 19:37

Re: [Announce] qAndora - Pandora Internet Radio for N900+N9
 
Okay! So I deleted the config file. Enabled tor. And then on terminal, I did this.
Code:

BusyBox v1.23.1 (Debian 1.23.1power2) built-in shell (ash)
Enter 'help' for a list of built-in commands.

~ $ cd /home/user/MyDocs/qandora-n900
~/MyDocs/qandora-n900 $ python qAndora.py
qAndora.py:494: GtkWarning: gtk_widget_set_sensitive: assertion `GTK_IS_WIDGET (widget)' failed
  app = QApplication(sys.argv)
ERROR:root:fault code: 12 message: An unexpected error occurred
ERROR:root:fault code: 0 message: An unexpected error occurred
Error calling slot "loginPressed"
Traceback (most recent call last):
  File "qAndora.py", line 457, in loginPressed
    self.rent.loginUser( self.nameEdit.text(), self.passwordEdit.text() )
  File "qAndora.py", line 150, in loginUser
    self.radioPlayer.setStation(self.radioPlayer.getStations()[0])
  File "/home/user/MyDocs/qandora-n900/playerGst/playerGst.py", line 82, in getStations
    return self.pandora.get_stations()
  File "/home/user/MyDocs/qandora-n900/playerGst/pandora.py", line 173, in get_stations
    stations = self.json_call('user.getStationList')['stations']
  File "/home/user/MyDocs/qandora-n900/playerGst/pandora.py", line 140, in json_call
    raise PandoraError("Pandora returned an error", code, "%s (code %d)"%(msg, code))
playerGst.pandora.PandoraError

Looks to me like an error.

Jef91 2015-03-22 20:09

Re: [Announce] qAndora - Pandora Internet Radio for N900+N9
 
That is an error connecting to Pandora. Either your login is invalid or you are in a country Pandora doesn't stream to.

princefakhan 2015-03-22 20:26

Re: [Announce] qAndora - Pandora Internet Radio for N900+N9
 
Yeah! I am in a country Pandora doesn't support. That is why I enabled Tor. But that doesn't seem to work.

I should tell you though, after enabling Tor I can listen to Pandora on the MicroB browser.

Hey guys! is there any other trick that this app might work in my country. Thanks.

tcbl50 2015-03-22 22:38

Re: [Announce] qAndora - Pandora Internet Radio for N900+N9
 
Use openvpn for a US address. That's what I did. There are free vpn sites

tcbl50 2016-07-19 14:50

Re: [Announce] qAndora - Pandora Internet Radio for N900+N9
 
just bumping this thread for such a great app!! i use it the most on my N900 for listening to music!

plus the PC version is also great. thanks Jeff wherever you are

Jef91 2016-07-19 14:51

Re: [Announce] qAndora - Pandora Internet Radio for N900+N9
 
Awesome! Glad you enjoy it.

jbeemer01 2016-07-20 03:30

Re: [Announce] qAndora - Pandora Internet Radio for N900+N9
 
how can i get this on my N9. I tried the download in the first post but i get an error that the site is not found

Jef91 2016-07-20 05:34

Re: [Announce] qAndora - Pandora Internet Radio for N900+N9
 
It looks like that N9 package mirror no longer exists. You'll have to search around for the python-gst0.10 package somewhere else and install it.

I don't have my N9 any longer or I'd give it to you.

jbeemer01 2016-07-21 04:37

Re: [Announce] qAndora - Pandora Internet Radio for N900+N9
 
Ok thanks.

Hey jef which one of these is the right one?
gst0.10-python_0.10.22.orig.tar.bz2 617.8 KiB 8f26f519a5bccd770864317e098e5e307fc5ad1201eb963296 34b6508b253178
gst0.10-python_0.10.22-3ubuntu2.debian.tar.gz 10.5 KiB 5ecc0abbbb0312719278115addfe3ff19b00390a4c38173ac4 5d8e0d4f359e18
gst0.10-python_0.10.22-3ubuntu2.dsc 1.7 KiB 8accfe467c80d5eebd91d6eb46c3b4366e3f1f73307492d724 fac5dfcfc01700

tcbl50 2016-07-21 18:35

Re: [Announce] qAndora - Pandora Internet Radio for N900+N9
 
Quote:

Originally Posted by jbeemer01 (Post 1510239)
Ok thanks.

Hey jef which one of these is the right one?
gst0.10-python_0.10.22.orig.tar.bz2 617.8 KiB 8f26f519a5bccd770864317e098e5e307fc5ad1201eb963296 34b6508b253178
gst0.10-python_0.10.22-3ubuntu2.debian.tar.gz 10.5 KiB 5ecc0abbbb0312719278115addfe3ff19b00390a4c38173ac4 5d8e0d4f359e18
gst0.10-python_0.10.22-3ubuntu2.dsc 1.7 KiB 8accfe467c80d5eebd91d6eb46c3b4366e3f1f73307492d724 fac5dfcfc01700

not necessary. just installed on my N9 and all i did was apt-get install python-gst0.10.

make sure u have the n9repo mirro installed as well!

jbeemer01 2016-07-22 04:17

Re: [Announce] qAndora - Pandora Internet Radio for N900+N9
 
Just tried it but didn't work. Came back say it couldn't unlock the file.

tcbl50 2016-07-22 08:59

Re: [Announce] qAndora - Pandora Internet Radio for N900+N9
 
Did u do this as root? ( devel-su, the password:rootme)

tcbl50 2016-11-28 08:29

Re: [Announce] qAndora - Pandora Internet Radio for N900+N9
 
can someone help me out as Im not very good at python and programming. when i try to run this program on my Arch Linux PC i get this error:

python qAndora.py
File "qAndora.py", line 323
if self.albumartpath == 'images/albumart.png':
^

TabError: inconsistent use of tabs and spaces in indentation

i used to able to run this easily when i used Fedora!

peterleinchen 2016-11-28 09:24

Re: [Announce] qAndora - Pandora Internet Radio for N900+N9
 
Python blocks are based on tabulators.
So I guess you edited that file and saved it with different editor?

Just go through the code with an editor where you see tabs/blanks/controls and you will see it ...

tcbl50 2016-11-29 20:37

Re: [Announce] qAndora - Pandora Internet Radio for N900+N9
 
Never edited the file. Just downloaded the zip from github and as I said I used to be able to play it in Fedora. I don't understand the error n Google not helpful either.

How can I find the original "editor"?

peterleinchen 2016-11-29 23:12

Re: [Announce] qAndora - Pandora Internet Radio for N900+N9
 
Then it seems tabs are interpreted differently on ArchLinux.
Some editors set them to a length of 2 blanks, 4 or even 8 blanks. Or even to a fixed position that matches the next tuple of above.

There is some line around 323 where there are mixed tabs and blanls to achiebe the indent. On Fedora the tabs are replaced with x blanks and on ArchLinux with y blanks. This causes this error.

Open that file and have a look at the indentation (tabs/blanks) at the beginning of the lines.
If you use vi and do it on Fedora and the same time on Arch then you will see immediately. But you should be able to this mix by just scrolling through ...

tcbl50 2017-01-09 08:06

Re: [Announce] qAndora - Pandora Internet Radio for N900+N9
 
Fixed my problem by using Python2 instead of Python3!


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

vBulletin® Version 3.8.8