Help: error when launching python server.py

101 views
Skip to first unread message

mlaverdiere

unread,
Oct 11, 2010, 10:39:23 AM10/11/10
to Client175, csei...@gmail.com
Hi,

I'm trying to run Clien175 on a MyBookWorld server (NAS). Here's the
output I got when trying issuing the python server.py command:

Traceback (most recent call last):
File "server.py", line 70, in <module>
mpd = mpd_proxy.Mpd(HOST, PORT, PASSWORD)
File "/ml/client175/mpd_proxy2.py", line 47, in Mpd
_Instance = _Mpd_Instance(host, port, password)
File "/ml/client175/mpd_proxy2.py", line 143, in __init__
self._connect()
File "/ml/client175/mpd_proxy2.py", line 156, in _connect
self.con.connect(self._host, self._port, self._password)
File "/ml/client175/mpd.py", line 419, in connect
self._sock = self._connect_tcp(host, port)
File "/ml/client175/mpd.py", line 395, in _connect_tcp
flags):
socket.gaierror: [Errno 3] invalid value for ai_flags.


Any idea of what's going wrong?

Thanks for any help.

Chris S

unread,
Oct 13, 2010, 7:41:55 PM10/13/10
to Client175
It looks like the error is in just opening a port to connect to mpd.
I am not familiar with that device, do you know what version of python
is installed? Are there any firewalls? Perhaps it is a permission
issue, you could also try running it as root and see what happens.
Reply all
Reply to author
Forward
0 new messages