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)

fatalsaint 2011-09-25 00:06

Re: [application] pyRadio (Pandora)
 
Quote:

Originally Posted by dsawhney (Post 1095506)
Installed pyradio for first time after firmware reflash so don't have the pyradio directory or config file in /home/user/.config. Looks like this file is only created after the first successful authentication.

I've already verified the login/password multiple times, it is correct. Work on the pandora website just fine. I can try to create the config file manually if you tell me the syntax.

Remember that by default the N900 capitalizes the first letter of both the username and the password. So if it's supposed to be caps and you hold the shift it'll be lowercase instead.

syntax would just be:

user=something@hotmail.com
password=mypassword

Addison 2011-09-25 07:01

Re: [application] pyRadio (Pandora)
 
Is there any other stuff that pyRadio downloads onto the tablet outside of /usr/lib/python2.5 and /opt/?

Djhunt 2011-09-25 14:57

Re: [application] pyRadio (Pandora)
 
I updated, but now the program does not load. Is there something else I need to configure or install?

Code:

$ /opt/pyRadio/pyRadio.py
Traceback (most recent call last):
  File "/opt/pyRadio/pyRadio.py", line 9, in <module>
    from pyRadio_ui import *
  File "/opt/pyRadio/pyRadio_ui.py", line 231, in <module>
    from PySide import QtWebKit
ImportError: could not import PySide.QtNetwork


dsawhney 2011-09-25 15:57

Re: [application] pyRadio (Pandora)
 
Quote:

Originally Posted by fatalsaint (Post 1095549)
Remember that by default the N900 capitalizes the first letter of both the username and the password. So if it's supposed to be caps and you hold the shift it'll be lowercase instead.

syntax would just be:

user=something@hotmail.com
password=mypassword

Thanks, config file fixed the issue

fatalsaint 2011-09-25 16:47

Re: [application] pyRadio (Pandora)
 
Quote:

Originally Posted by Djhunt (Post 1095840)
I updated, but now the program does not load. Is there something else I need to configure or install?

Code:

$ /opt/pyRadio/pyRadio.py
Traceback (most recent call last):
  File "/opt/pyRadio/pyRadio.py", line 9, in <module>
    from pyRadio_ui import *
  File "/opt/pyRadio/pyRadio_ui.py", line 231, in <module>
    from PySide import QtWebKit
ImportError: could not import PySide.QtNetwork


Ok, this looks like I'm missing a dependency. Run:
Code:

apt-get install python-pyside.qtnetwork
That should fix the problem. Thanks for letting me know, I'll fix it.

Addison,

pyRadio itself only loads its stuff to /opt. It's dependencies load to other places. I don't know all of the places that the dependencies install too. That just looked to be the biggest one.

Djhunt 2011-09-25 21:18

Re: [application] pyRadio (Pandora)
 
[QUOTE=fatalsaint;1095946]Ok, this looks like I'm missing a dependency. Run:
Code:

apt-get install python-pyside.qtnetwork
That should fix the problem. Thanks for letting me know, I'll fix it.

When I ran it I got the following:

Code:

~ $ apt-get install python-pyside.qtnetwork
E: Could not open lock file /var/lib/dpkg/lock - open (13 Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
~ $

I typed 'yes' and it just scrolls the letter y.

TiagoTiago 2011-09-25 21:58

Re: [application] pyRadio (Pandora)
 
Try opening HAM, checking for update (wait till it's done loading the list) and then closing and then try again.

Djhunt 2011-09-25 23:59

Re: [application] pyRadio (Pandora)
 
What is HAM, and how do I open it? (These questions probably reveal little I know...)

TiagoTiago 2011-09-26 00:29

Re: [application] pyRadio (Pandora)
 
Wait, were you even root to start with?

fatalsaint 2011-09-26 04:01

Re: [application] pyRadio (Pandora)
 
Tiago was on the right track. My fault, I wasn't specific.

You needed to be root first before running that command.

Code:

sudo gainroot
Then run the apt-get command.


All times are GMT. The time now is 17:03.

vBulletin® Version 3.8.8