Notices


Reply
Thread Tools
Posts: 313 | Thanked: 247 times | Joined on Jan 2010 @ USA
#41
I just updated to 1.3 version and now it is getting stuck at "authenticating...". If I enter the username/password again, it logs in fine.
 
Posts: 3,428 | Thanked: 2,856 times | Joined on Jul 2008
#42
Originally Posted by dsawhney View Post
I just updated to 1.3 version and now it is getting stuck at "authenticating...". If I enter the username/password again, it logs in fine.
This happens every time you open it?

Run:

Code:
/opt/pyRadio/pyRadio.py
From a terminal and see if there is any error output.
__________________
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: 313 | Thanked: 247 times | Joined on Jan 2010 @ USA
#43
Originally Posted by fatalsaint View Post
This happens every time you open it?

Run:

Code:
/opt/pyRadio/pyRadio.py
From a terminal and see if there is any error output.
Launching it from xterm fixed the issue, now I can't reproduce it anymore. Thanks for the help.
 

The Following User Says Thank You to dsawhney For This Useful Post:
Flandry's Avatar
Posts: 1,559 | Thanked: 1,786 times | Joined on Oct 2009 @ Boston
#44
Nothing happens when running from icon. If i start it with /opt/pyRadio/pyRadio.py, i get this error in libpiano/pulse_calls.py line 7

ImportError: No module named glib
__________________

Unofficial PR1.3/Meego 1.1 FAQ

***
Classic example of arbitrary Nokia decision making. Couldn't just fallback to the no brainer of tagging with lat/lon if network isn't accessible, could you Nokia?
MAME: an arcade in your pocket
Accelemymote: make your accelerometer more joy-ful
 

The Following User Says Thank You to Flandry For This Useful Post:
Posts: 3,428 | Thanked: 2,856 times | Joined on Jul 2008
#45
Originally Posted by Flandry View Post
Nothing happens when running from icon. If i start it with /opt/pyRadio/pyRadio.py, i get this error in libpiano/pulse_calls.py line 7

ImportError: No module named glib
ahhh.. sneaky little imports snuck in from qwerty12's code.

I just looked at it and verified that only 2 actual imports are required in there.

If you want to use it now, you can edit:

/opt/pyRadio/libpiano/pulse_calls.py

And at the very top there is:
Code:
from ctypes import *
Followed by 2 import lines. You can completely remove the first one (sys, os, time, thread) and remove glib from the second one. So all thats up there will be:

Code:
from ctypes import *
import gobject
I will implement this fix when I get home and publish it tonight.
__________________
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 2 Users Say Thank You to fatalsaint For This Useful Post:
qwerty12's Avatar
Posts: 4,274 | Thanked: 5,358 times | Joined on Sep 2007 @ Looking at y'all and sighing
#46
Originally Posted by fatalsaint View Post
ahhh.. sneaky little imports snuck in from qwerty12's code.

I just looked at it and verified that only 2 actual imports are required in there.
In my defense, that was a full PyGStreamer example (ripped from another page...)
 

The Following User Says Thank You to qwerty12 For This Useful Post:
Posts: 3,428 | Thanked: 2,856 times | Joined on Jul 2008
#47
Originally Posted by qwerty12 View Post
In my defense, that was a full PyGStreamer example (ripped from another page...)
I know, I didn't blame you - I didn't clean it up well enough .

I wonder though if that'll fix his problem... what is glib provided by? You and I have it.. I would have thought python-gobject provides it.. but that's a dependency for pyRadio so he has to have that one..
__________________
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!
 
qwerty12's Avatar
Posts: 4,274 | Thanked: 5,358 times | Joined on Sep 2007 @ Looking at y'all and sighing
#48
Originally Posted by fatalsaint View Post
I know, I didn't blame you - I didn't clean it up well enough .

I wonder though if that'll fix his problem... what is glib provided by? You and I have it.. I would have thought python-gobject provides it.. but that's a dependency for pyRadio so he has to have that one..
I should've put actual useful comments in it...

~ $ dpkg -S glib.so | grep python
python-gobject: /usr/lib/pyshared/python2.5/gtk-2.0/glib/_glib.so
 

The Following User Says Thank You to qwerty12 For This Useful Post:
Flandry's Avatar
Posts: 1,559 | Thanked: 1,786 times | Joined on Oct 2009 @ Boston
#49
Thanks, that did the trick, although it took long enough to start up that i thought it had failed again.

To sort of answer my previous question about the difference in processor usage over the command line, C implementation: i have regular problems with hiccups in audio with pyRadio that i didn't have in pianobar. Changing the volume causes it to happen, switching app focus does it, etc. I'm sure after a reboot it will be smoother--it's due to the tendency of Maemo5 to *#&% up memory/processor usage after a few days of uptime, which is getting tiresome. So, not pyRadio's fault but indicative it has higher resource requirements (unsurprisingly).

Looks slick so far--more feedback after some usage (and a reboot).

Edit: Get a room, you two. :P
__________________

Unofficial PR1.3/Meego 1.1 FAQ

***
Classic example of arbitrary Nokia decision making. Couldn't just fallback to the no brainer of tagging with lat/lon if network isn't accessible, could you Nokia?
MAME: an arcade in your pocket
Accelemymote: make your accelerometer more joy-ful

Last edited by Flandry; 2010-06-16 at 21:29.
 

The Following 2 Users Say Thank You to Flandry For This Useful Post:
Posts: 3,428 | Thanked: 2,856 times | Joined on Jul 2008
#50
Originally Posted by qwerty12 View Post
I should've put actual useful comments in it...
Yeah so that makes no sense. Even though the imports are unnecessary and I should remove them anyway.. should not be preventing him from running it because with python-gobject he should get glib.

Flandry:
Code:
dpkg -l | grep python-gobject
It's installed right?


Well.. if its working for you, then I guess so. That's quite strange.
__________________
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:
Reply

Tags
bad tags, good tags, pyradio


 
Forum Jump


All times are GMT. The time now is 23:43.