View Single 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: