If a match for my search exists, the following trace is returned. Where no match exists, the search completes normally:
Traceback (most recent call last):
File "/var/lib/python-support/python2.4/trac/web/main.py", line 387, in dispatch_request
dispatcher.dispatch(req)
File "/var/lib/python-support/python2.4/trac/web/main.py", line 237, in dispatch
resp = chosen_handler.process_request(req)
File "/var/lib/python-support/python2.4/trac/Search.py", line 181, in process_request
results += list(source.get_search_results(req, terms, filters))
File "build/bdist.linux-i686/egg/filenamesearch/web_ui.py", line 49, in get_search_results
File "/var/lib/python-support/python2.4/trac/versioncontrol/cache.py", line 110, in has_node
return self.repos.has_node(path, rev)
File "/var/lib/python-support/python2.4/trac/versioncontrol/svn_fs.py", line 319, in has_node
rev_root = fs.revision_root(self.fs_ptr, rev, pool())
File "/var/lib/python-support/python2.4/libsvn/fs.py", line 224, in svn_fs_revision_root
return apply(_fs.svn_fs_revision_root, args)
TypeError: argument number 2:
Converting the returned value of repo.get_youngest_rev() from type unicode to int appears to resolve this. See attached diff.
Thanks!