Sat Apr 26 23 17 43 2008 error client 92 36 27 228 mod_wsgi pid 7524 E

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
[Sat Apr 26 23:17:43 2008] [error] [client 92.36.27.228] mod_wsgi (pid=7524): Exception occurred within WSGI script '/home/dev/hgwebdir/piranha.wsgi'.
[Sat Apr 26 23:17:43 2008] [error] [client 92.36.27.228] Traceback (most recent call last):
[Sat Apr 26 23:17:43 2008] [error] [client 92.36.27.228] File "/usr/local/lib/python2.5/site-packages/mercurial/hgweb/request.py", line 100, in run_wsgi
[Sat Apr 26 23:17:43 2008] [error] [client 92.36.27.228] return application(env, respond)
[Sat Apr 26 23:17:43 2008] [error] [client 92.36.27.228] File "/usr/local/lib/python2.5/site-packages/mercurial/hgweb/hgwebdir_mod.py", line 74, in __call__
[Sat Apr 26 23:17:43 2008] [error] [client 92.36.27.228] self.run_wsgi(req)
[Sat Apr 26 23:17:43 2008] [error] [client 92.36.27.228] File "/usr/local/lib/python2.5/site-packages/mercurial/hgweb/hgwebdir_mod.py", line 112, in run_wsgi
[Sat Apr 26 23:17:43 2008] [error] [client 92.36.27.228] hgweb(repo).run_wsgi(req)
[Sat Apr 26 23:17:43 2008] [error] [client 92.36.27.228] File "/usr/local/lib/python2.5/site-packages/mercurial/hgweb/hgweb_mod.py", line 194, in run_wsgi
[Sat Apr 26 23:17:43 2008] [error] [client 92.36.27.228] content = getattr(webcommands, cmd)(self, req, tmpl)
[Sat Apr 26 23:17:43 2008] [error] [client 92.36.27.228] File "/usr/local/lib/python2.5/site-packages/mercurial/hgweb/webcommands.py", line 95, in file
[Sat Apr 26 23:17:43 2008] [error] [client 92.36.27.228] return _filerevision(web, tmpl, webutil.filectx(web.repo, req))
[Sat Apr 26 23:17:43 2008] [error] [client 92.36.27.228] File "/usr/local/lib/python2.5/site-packages/hgext/highlight.py", line 79, in filerevision_highlight
[Sat Apr 26 23:17:43 2008] [error] [client 92.36.27.228] pygmentize('fileline', fctx, style, tmpl)
[Sat Apr 26 23:17:43 2008] [error] [client 92.36.27.228] File "/usr/local/lib/python2.5/site-packages/hgext/highlight.py", line 62, in pygmentize
[Sat Apr 26 23:17:43 2008] [error] [client 92.36.27.228] colorized = highlight(text, lexer, formatter)
[Sat Apr 26 23:17:43 2008] [error] [client 92.36.27.228] File "/usr/lib/python2.5/site-packages/pygments/__init__.py", line 88, in highlight
[Sat Apr 26 23:17:43 2008] [error] [client 92.36.27.228] return format(lex(code, lexer), formatter, outfile)
[Sat Apr 26 23:17:43 2008] [error] [client 92.36.27.228] File "/usr/lib/python2.5/site-packages/pygments/__init__.py", line 45, in lex
[Sat Apr 26 23:17:43 2008] [error] [client 92.36.27.228] return lexer.get_tokens(code)
[Sat Apr 26 23:17:43 2008] [error] [client 92.36.27.228] File "/usr/lib/python2.5/site-packages/pygments/lexer.py", line 151, in get_tokens
[Sat Apr 26 23:17:43 2008] [error] [client 92.36.27.228] text = text.decode(self.encoding)
[Sat Apr 26 23:17:43 2008] [error] [client 92.36.27.228] UnicodeDecodeError: 'ascii' codec can't decode byte 0xca in position 330: ordinal not in range(128)