| <type 'exceptions.TypeError'> | Python 2.7.5: /bin/python Fri Dec 12 08:15:34 2025 |
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 |
| 2644 else: |
| 2645 topi = 0 |
| => 2646 do_log(topi) |
| 2647 |
| 2648 elif action == 'headblob': |
| do_log = <function do_log>, topi = 0 |
| /home/rautenkr/public_html/tobias/darcsweb/darcsweb.cgi in do_log(topi=0) |
| 1989 def do_log(topi): |
| 1990 print_header() |
| => 1991 print_navbar() |
| 1992 print_log(topi = topi) |
| 1993 print_footer() |
| global print_navbar = <function print_navbar> |
| /home/rautenkr/public_html/tobias/darcsweb/darcsweb.cgi in print_navbar(h='', f='') |
| 394 """ % { "myreponame": config.myreponame, 'hash': h } |
| 395 |
| => 396 realf = realpath(f) |
| 397 f = urllib.quote(f) |
| 398 |
| realf undefined, global realpath = <function realpath>, f = '' |
| /home/rautenkr/public_html/tobias/darcsweb/darcsweb.cgi in realpath(fname='') |
| 253 |
| 254 def realpath(fname): |
| => 255 realf = filter_file(config.repodir + '/_darcs/pristine/' + fname) |
| 256 if os.path.exists(realf): |
| 257 return realf |
| realf undefined, global filter_file = <function filter_file>, global config = <class __main__.config>, config.repodir = '../cmake/doxygen/', fname = '' |
| /home/rautenkr/public_html/tobias/darcsweb/darcsweb.cgi in filter_file(s='../cmake/doxygen//_darcs/pristine/') |
| 78 def filter_file(s): |
| 79 if '..' in s or '"' in s: |
| => 80 raise 'FilterFile FAILED' |
| 81 if s == '/': |
| 82 return s |
<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'