View Single Post
Posts: 7 | Thanked: 2 times | Joined on Dec 2007 @ CHINA
#863
Originally Posted by fatalsaint View Post
pyRadio supports a Proxy configuration. Put in a U.S. proxy server that runs on 8080 or 80 and it should work.
Lots of thanks in advance. I've used pyRadio before and it's great. Now I'm outside the US and I'm excited to know pyRadio add supports for proxy.

However, when I tried to run
Code:
export http_proxy=http://myproxy:8080
/opt/pyRadio/pyRadio.py
from xterm, I can't get my copy of pyRadio running. I also set Proxy Server in the Settings menu to http://myproxy:8080. When I reviewed the log file on the server, there is no trace of pyRadio accessing to my other wise functioning proxy server at all. The GUI freeze at "Authenticating to Pandora as..." and the output in term is
Code:
RX-51
PANDORA: Loading key from file "/opt/pyRadio/libpiano/key_in"
PANDORA: Loading key from file "/opt/pyRadio/libpiano/key_out"
Radio Started.
('found new MAFW renderer %s', 'Mafw-Gst-Renderer')
using MAFW Gst-Renderer
MAFW PROPERTY RECEIVED 5896736 volume 6732984 <ctypes.LP__GError object at 0x447d1440>
volume 28
Error calling slot "auth" 
Traceback (most recent call last):
  File "/opt/pyRadio/pyRadio.py", line 211, in auth
    authenticated = self.player.auth( self.c.user, self.c.password )
  File "/opt/pyRadio/radioplayer.py", line 87, in auth
    self.pandora.sync()
  File "/opt/pyRadio/libpiano/pandora.py", line 67, in sync
    u = urlopen( reqUrl, enc )
  File "/usr/lib/python2.5/urllib2.py", line 124, in urlopen
    return _opener.open(url, data)
  File "/usr/lib/python2.5/urllib2.py", line 381, in open
    response = self._open(req, data)
  File "/usr/lib/python2.5/urllib2.py", line 399, in _open
    '_open', req)
  File "/usr/lib/python2.5/urllib2.py", line 360, in _call_chain
    result = func(*args)
  File "/usr/lib/python2.5/urllib2.py", line 1115, in https_open
    return self.do_open(httplib.HTTPSConnection, req)
  File "/usr/lib/python2.5/urllib2.py", line 1082, in do_open
    raise URLError(err)
urllib2.URLError: <urlopen error (110, 'Connection timed out')>
('found new MAFW renderer %s', 'Mafw-Gst-Renderer')
using MAFW Gst-Renderer
MAFW PROPERTY RECEIVED 5896736 volume 5349280 <ctypes.LP__GError object at 0x447d1440>
volume 28
Is there anything I missed?

Last edited by wwweagle; 2011-12-16 at 14:14.