[BUGREPORT] broken comments.py
Klaus Trainer <klaus.trainer-S0/[email protected]> Sun, 05 Oct 2008 18:23:07 +0200
| Newsgroups | gmane.comp.web.pyblosxom.devel |
|---|---|
| Message-ID | <[email protected]> |
Hello! When posting a comment I get an "Internal Server Error", the output of Apache's error.log is attached. The error is reproducible an depends not on the comment input. The bug seems to have been introduced with the latest commit, in line 999 in comments.py. Since I don't know anything how to fix it, except by switching to the version before the latest commit, I'm just reporting this bug here. My 'blog_encoding' is "utf-8". Klaus ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Pyblosxom-devel mailing list Pyblosxom-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org https://lists.sourceforge.net/lists/listinfo/pyblosxom-devel
error.log
(text/plain, 4.4 KB)
[Sun Oct 05 16:01:34 2008] [notice] Apache/2.2.9 (Debian) mod_wsgi/2.3 Python/2.5.2 configured -- resuming normal operations
[Sun Oct 05 16:01:51 2008] [error] [client 89.48.110.231] mod_wsgi (pid=16264): Exception occurred processing WSGI script '/home/klausi/myblog/cgi-bin/pyblosxom.wsgi'., referer: http://klaus.homeunix.net/blog/Thoughts/20080615.html
[Sun Oct 05 16:01:51 2008] [error] [client 89.48.110.231] Traceback (most recent call last):, referer: http://klaus.homeunix.net/blog/Thoughts/20080615.html
[Sun Oct 05 16:01:51 2008] [error] [client 89.48.110.231] File "/usr/lib/python2.5/site-packages/Pyblosxom/pyblosxom.py", line 495, in __call__, referer: http://klaus.homeunix.net/blog/Thoughts/20080615.html
[Sun Oct 05 16:01:51 2008] [error] [client 89.48.110.231] return [self.run_pyblosxom(env, start_response)], referer: http://klaus.homeunix.net/blog/Thoughts/20080615.html
[Sun Oct 05 16:01:51 2008] [error] [client 89.48.110.231] File "/usr/lib/python2.5/site-packages/Pyblosxom/pyblosxom.py", line 487, in run_pyblosxom, referer: http://klaus.homeunix.net/blog/Thoughts/20080615.html
[Sun Oct 05 16:01:51 2008] [error] [client 89.48.110.231] p.run(), referer: http://klaus.homeunix.net/blog/Thoughts/20080615.html
[Sun Oct 05 16:01:51 2008] [error] [client 89.48.110.231] File "/usr/lib/python2.5/site-packages/Pyblosxom/pyblosxom.py", line 203, in run, referer: http://klaus.homeunix.net/blog/Thoughts/20080615.html
[Sun Oct 05 16:01:51 2008] [error] [client 89.48.110.231] blosxom_handler(self._request), referer: http://klaus.homeunix.net/blog/Thoughts/20080615.html
[Sun Oct 05 16:01:51 2008] [error] [client 89.48.110.231] File "/usr/lib/python2.5/site-packages/Pyblosxom/pyblosxom.py", line 1047, in blosxom_handler, referer: http://klaus.homeunix.net/blog/Thoughts/20080615.html
[Sun Oct 05 16:01:51 2008] [error] [client 89.48.110.231] renderer.render(), referer: http://klaus.homeunix.net/blog/Thoughts/20080615.html
[Sun Oct 05 16:01:51 2008] [error] [client 89.48.110.231] File "/usr/lib/python2.5/site-packages/Pyblosxom/renderers/blosxom.py", line 337, in render, referer: http://klaus.homeunix.net/blog/Thoughts/20080615.html
[Sun Oct 05 16:01:51 2008] [error] [client 89.48.110.231] self._processContent(), referer: http://klaus.homeunix.net/blog/Thoughts/20080615.html
[Sun Oct 05 16:01:51 2008] [error] [client 89.48.110.231] File "/usr/lib/python2.5/site-packages/Pyblosxom/renderers/blosxom.py", line 288, in _processContent, referer: http://klaus.homeunix.net/blog/Thoughts/20080615.html
[Sun Oct 05 16:01:51 2008] [error] [client 89.48.110.231] output, current_date = self._processEntry(entry, current_date), referer: http://klaus.homeunix.net/blog/Thoughts/20080615.html
[Sun Oct 05 16:01:51 2008] [error] [client 89.48.110.231] File "/usr/lib/python2.5/site-packages/Pyblosxom/renderers/blosxom.py", line 256, in _processEntry, referer: http://klaus.homeunix.net/blog/Thoughts/20080615.html
[Sun Oct 05 16:01:51 2008] [error] [client 89.48.110.231] { "entry": entry, "template": template }), referer: http://klaus.homeunix.net/blog/Thoughts/20080615.html
[Sun Oct 05 16:01:51 2008] [error] [client 89.48.110.231] File "/usr/lib/python2.5/site-packages/Pyblosxom/renderers/blosxom.py", line 408, in _run_callback, referer: http://klaus.homeunix.net/blog/Thoughts/20080615.html
[Sun Oct 05 16:01:51 2008] [error] [client 89.48.110.231] defaultfunc=lambda x:x), referer: http://klaus.homeunix.net/blog/Thoughts/20080615.html
[Sun Oct 05 16:01:51 2008] [error] [client 89.48.110.231] File "/usr/lib/python2.5/site-packages/Pyblosxom/tools.py", line 848, in run_callback, referer: http://klaus.homeunix.net/blog/Thoughts/20080615.html
[Sun Oct 05 16:01:51 2008] [error] [client 89.48.110.231] output = func(input), referer: http://klaus.homeunix.net/blog/Thoughts/20080615.html
[Sun Oct 05 16:01:51 2008] [error] [client 89.48.110.231] File "/home/klausi/myblog/plugins/comments.py", line 999, in cb_story_end, referer: http://klaus.homeunix.net/blog/Thoughts/20080615.html
[Sun Oct 05 16:01:51 2008] [error] [client 89.48.110.231] encodedEntry = entry[key].encode(encoding), referer: http://klaus.homeunix.net/blog/Thoughts/20080615.html
[Sun Oct 05 16:01:51 2008] [error] [client 89.48.110.231] UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 1143: ordinal not in range(128), referer: http://klaus.homeunix.net/blog/Thoughts/20080615.html