--> -->
<type 'exceptions.TypeError'> | Python 2.7.5: /bin/python Fri May 3 06:00:04 2024 |
A problem occurred in a Python script. Here is the sequence of
function calls leading up to the error, in the order they occurred.
/home/rautenkr/public_html/tobias/darcsweb/darcsweb.cgi in print_blob(fname='/origami.ogg') |
1289 except ValueError:
|
1290 # pygments really could not find any lexer for this file.
|
=> 1291 print_blob_simple(fname)
|
1292
|
1293 def print_blob_simple(fname):
|
global print_blob_simple = <function print_blob_simple>, fname = '/origami.ogg' |
/home/rautenkr/public_html/tobias/darcsweb/darcsweb.cgi in print_blob_simple(fname='/origami.ogg') |
1297 count = 1
|
1298 for l in f:
|
=> 1299 l = fixu8(escape(l))
|
1300 if l and l[-1] == '\n':
|
1301 l = l[:-1]
|
l = 'OggS\x00\x02\x00\x00\x00\x00\x00\x00\x00\x00\xc9\xf4\x04x\x00\x00\x00\x00\xdc\xec\x01(\x01*\x80theora\x03\x02\x01\x00%\x00\x1c\x00\x02N\x00\x01\xb5\x02\x05\x00\x00\x00\n', global fixu8 = <function fixu8>, global escape = <function escape> |
/home/rautenkr/public_html/tobias/darcsweb/darcsweb.cgi in fixu8(s='OggS\x00\x02\x00\x00\x00\x00\x00\x00\x00\x00\xc9\xf4\x04x\x00\x00\x00\x00\xdc\xec\x01(\x01*\x80theora\x03\x02\x01\x00%\x00\x1c\x00\x02N\x00\x01\xb5\x02\x05\x00\x00\x00\n') |
104 n = []
|
105 for i in s.split('\n'):
|
=> 106 n.append(_fixu8(i))
|
107 return '\n'.join(n)
|
108
|
n = [], n.append = <built-in method append of list object>, global _fixu8 = <function _fixu8>, i = 'OggS\x00\x02\x00\x00\x00\x00\x00\x00\x00\x00\xc9\xf4\x04x\x00\x00\x00\x00\xdc\xec\x01(\x01*\x80theora\x03\x02\x01\x00%\x00\x1c\x00\x02N\x00\x01\xb5\x02\x05\x00\x00\x00' |
/home/rautenkr/public_html/tobias/darcsweb/darcsweb.cgi in _fixu8(s='OggS\x00\x02\x00\x00\x00\x00\x00\x00\x00\x00\xc9\xf4\x04x\x00\x00\x00\x00\xdc\xec\x01(\x01*\x80theora\x03\x02\x01\x00%\x00\x1c\x00\x02N\x00\x01\xb5\x02\x05\x00\x00\x00') |
115 except UnicodeDecodeError:
|
116 pass
|
=> 117 raise 'DecodingError', config.repoencoding
|
118
|
119
|
global config = <class __main__.config>, config.repoencoding = ('utf8',) |
<type 'exceptions.TypeError'>: exceptions must be old-style classes or derived from BaseException, not str
args =
('exceptions must be old-style classes or derived from BaseException, not str',)
message =
'exceptions must be old-style classes or derived from BaseException, not str'