| <type 'exceptions.TypeError'> | Python 2.7.5: /bin/python Thu Jan 29 12:55:12 2026 |
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 |
| 2659 else: |
| 2660 fname = '/' |
| => 2661 do_tree(fname) |
| 2662 |
| 2663 elif action == 'rss': |
| do_tree = <function do_tree>, fname = '/' |
| /home/rautenkr/public_html/tobias/darcsweb/darcsweb.cgi in do_tree(dname='/') |
| 1811 def do_tree(dname): |
| 1812 print_header() |
| => 1813 print_navbar() |
| 1814 |
| 1815 # the head |
| 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'