<type 'exceptions.TypeError'> | Python 2.7.5: /bin/python Fri Mar 29 00:29:36 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 |
2541 # see what should we do according to the received action |
2542 if action == "summary": |
=> 2543 do_summary() |
2544 |
2545 elif action == "commit": |
do_summary = <function do_summary> |
/home/rautenkr/public_html/tobias/darcsweb/darcsweb.cgi in do_summary() |
1455 def do_summary(): |
1456 print_header() |
=> 1457 print_navbar() |
1458 owner = repo_get_owner() |
1459 |
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'