Hi, Thank you for your bug report.
On Sat, May 12, 2012 at 10:21:12AM +0100, Raf Czlonka wrote: > 1. When running the web interface I get a bunch of errors on the console: > [...] > Exception happened during processing of request from ('127.0.0.1', 35413) > Traceback (most recent call last): > File "/usr/lib/python2.7/SocketServer.py", line 284, in > _handle_request_noblock > self.process_request(request, client_address) > File "/usr/lib/python2.7/SocketServer.py", line 310, in process_request > self.finish_request(request, client_address) > File "/usr/lib/python2.7/SocketServer.py", line 323, in finish_request > self.RequestHandlerClass(request, client_address, self) > File "/usr/lib/python2.7/SocketServer.py", line 638, in __init__ > self.handle() > File "/usr/lib/python2.7/BaseHTTPServer.py", line 340, in handle > self.handle_one_request() > File "/usr/lib/python2.7/BaseHTTPServer.py", line 328, in handle_one_request > method() > File "/usr/lib/pymodules/python2.7/gpodder/webui/__init__.py", line 162, in > do_GET > print >>self.wfile, '<p>',episode.description,'</p>' > File "/usr/lib/python2.7/socket.py", line 316, in write > data = str(data) # XXX Should really reject non-string non-buffers > UnicodeEncodeError: 'ascii' codec can't encode character u'\xa0' in position > 678: ordinal not in range(128) Does this happen for all podcasts or only specific podcasts? Can you maybe provide the list of subscriptions (if you don't want to publish them for some reason, feel free to send them to me via private mail), so I have some way of reproducing the bug? As you can see, it tries to print the episode description and fails at that. > ---------------------------------------- > localhost - - [12/May/2012 09:59:50] "GET /logo HTTP/1.1" 200 - > ---------------------------------------- > Exception happened during processing of request from ('127.0.0.1', 35414) > Traceback (most recent call last): > File "/usr/lib/python2.7/SocketServer.py", line 284, in > _handle_request_noblock > self.process_request(request, client_address) > File "/usr/lib/python2.7/SocketServer.py", line 310, in process_request > self.finish_request(request, client_address) > File "/usr/lib/python2.7/SocketServer.py", line 323, in finish_request > self.RequestHandlerClass(request, client_address, self) > File "/usr/lib/python2.7/SocketServer.py", line 638, in __init__ > self.handle() > File "/usr/lib/python2.7/BaseHTTPServer.py", line 340, in handle > self.handle_one_request() > File "/usr/lib/python2.7/BaseHTTPServer.py", line 328, in handle_one_request > method() > File "/usr/lib/pymodules/python2.7/gpodder/webui/__init__.py", line 78, in > do_GET > self.wfile.write(open(fn).read()) > IOError: [Errno 2] No such file or directory: > '/usr/lib/pymodules/python2.7/gpodder/webui/../../../data/gpodder.png' > --------------------------------------------------------------------- This error seems like I've somehow messed up the way that gPodder uses to find the logo file - that's fixed in the Git repository, because the Web UI has changed a bit in gPodder 3.1.0. > 2. I don't know what to expect in a web browser but > > "playing: /path/to/file.mp3" > > would suggest that I should hear something but unfortunately I don't. > The errors above don't seem to be related to the second problem which > probably deservers a separate bug report - BTW, tested with SID's > Luakit and Iceweasel. The playing part is not supported yet (it was a leftover of an Android-related experiment that used Android SL4A APIs to playback the audio). The Web UI is still very experimental and in flux. Can you check out the Git version of gPodder, which has an improved Web UI? It's still readonly, but now uses JQuery Mobile and proper JSON requests to get the data instead of building static HTML on the server side. See http://wiki.gpodder.org/wiki/Git for instructions on how to run gPodder from Git (you can use "bin/gpo webui" in the checkout to test it without having to install it). Thanks, Thomas -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org