- Просмотр iTunes-контента через AirPlay в Ubuntu Linux, Сергей, 15:09 , 26-Дек-10 (1)
- Не получается со скриптом на Python, Slava, 07:26 , 20-Мрт-17 (2)
Статья написана давно, может что-то поменялось. Помогите разобраться!! У меня вот так: root@NewServer:/home/sle# python Play2wifi.py python: can't open file 'Play2wifi.py': [Errno 2] No such file or directory root@NewServer:/home/sle# python play2wifi.py Play2wifi - /home/sle Play2wifi - Reading general configuration from play2wifi.cfg Traceback (most recent call last): File "play2wifi.py", line 305, in <module> ap.getArguments(sys.argv[1:]) File "play2wifi.py", line 117, in getArguments self.main() File "play2wifi.py", line 87, in main self.__myurlopener.open(self.__xmbc+"xbmcHttp?command=setresponseformat%28webheader;false;webfooter;false;header;%3Cxml%3E;footer;%3C/xml%3E;opentag;%3Ctag%3E;closetag;%3C/tag%3E;closefinaltag;true%29") File "/usr/lib/python2.7/urllib.py", line 213, in open return getattr(self, name)(url) File "/usr/lib/python2.7/urllib.py", line 350, in open_http h.endheaders(data) File "/usr/lib/python2.7/httplib.py", line 1035, in endheaders self._send_output(message_body) File "/usr/lib/python2.7/httplib.py", line 879, in _send_output self.send(msg) File "/usr/lib/python2.7/httplib.py", line 841, in send self.connect() File "/usr/lib/python2.7/httplib.py", line 822, in connect self.timeout, self.source_address) File "/usr/lib/python2.7/socket.py", line 571, in create_connection raise err IOError: [Errno socket error] [Errno 111] Connection refused
|