Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
amarok WEBCONTROL python error???
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
crashgen
n00b
n00b


Joined: 28 Nov 2005
Posts: 52

PostPosted: Fri Feb 03, 2006 11:01 pm    Post subject: amarok WEBCONTROL python error??? Reply with quote

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 amarok 1.3.8 (i tried too in 1.3.6)
Please help me

Thanks!!

[copy from amarok forums]
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum