![]() ![]()
|
Hi everybody, I got this problem when I tried to install webcontrol script a use it. After install and run I tried to run the http://localhost:4774 and nothing appears..
I searched for debug output and found this in output log: xception in thread Thread-3: Traceback (most recent call last): File \"/usr/lib/python2.4/threading.py\", line 442, in __bootstrap self.run() File \"/usr/lib/python2.4/threading.py\", line 422, in run self.__target(*self.__args, **self.__kwargs) File \"/usr/kde/3.4/share/apps/amarok/scripts/common/Publisher.py\", line 33, in run self.localip = socket.gethostbyname(self.localhostname) gaierror: (-2, \'Name or service not known\') 192.168.0.54 - - [03/Feb/2006 15:09:07] \"GET / HTTP/1.1\" 200 - Traceback (most recent call last): File \"/usr/lib/python2.4/SocketServer.py\", line 222, in handle_request self.process_request(request, client_address) File \"/usr/lib/python2.4/SocketServer.py\", line 241, in process_request self.finish_request(request, client_address) File \"/usr/lib/python2.4/SocketServer.py\", line 254, in finish_request self.RequestHandlerClass(request, client_address, self) File \"/usr/lib/python2.4/SocketServer.py\", line 521, in __init__ self.handle() File \"/usr/lib/python2.4/BaseHTTPServer.py\", line 316, in handle self.handle_one_request() File \"/usr/lib/python2.4/BaseHTTPServer.py\", line 310, in handle_one_request method() File \"/usr/kde/3.4/share/apps/amarok/scripts/webcontrol/RequestHandler.py\", line 254, in do_GET self.wfile.write(PLIST.toHtml(status)) File \"/usr/kde/3.4/share/apps/amarok/scripts/webcontrol/Playlist.py\", line 106, in toHtml self._buildDoc() File \"/usr/kde/3.4/share/apps/amarok/scripts/webcontrol/Playlist.py\", line 205, in _buildDoc self.doc = minidom.parse(PLAYLISTFILE) File \"/usr/lib/python2.4/xml/dom/minidom.py\", line 1915, in parse return expatbuilder.parse(file) File \"/usr/lib/python2.4/xml/dom/expatbuilder.py\", line 924, in parse result = builder.parseFile(fp) File \"/usr/lib/python2.4/xml/dom/expatbuilder.py\", line 207, in parseFile parser.Parse(buffer, 0) ExpatError: not well-formed (invalid token): line 59, column 11 Seems that the doesnt find the module Publisher. Shouter doenst find it too.. I searched for that module and I have found a package named: flup-r1837.tar.gz. I installed that module: python setup.py install. But this erros continue.. I have python 2.4.2 and I use gentoo linux. Please help me Thanks!! |
![]() ![]()
|
|
![]() ![]()
|
Me too..
But I have it working for a while.. 5 minutes :S I have not changed anything in amarok or python and it stoped working again!! any ideia? thks |
![]() ![]()
|
I know the problem.. python finds the module, but some king f musics doenst work in the webcontrol, i dont know why yet, but the page doenst appears. try to put just one music and it probably will work correctly. Try with diferent musics..
I just want to discover why some musics breaks the script.. |
Registered users: Bing [Bot], claydoh, Google [Bot], rblackwell, Yahoo [Bot]