Plugin fails if non-directories exist in trac environment root, below is a patch to ensure that the file isn't a directory before trying to open it as a environment. Not included in this patch as I didn't need it would be to also catch an exception from the open environment command, because even if it is a directory it's possible that it is not a Trac environment.
Index: tracsearchall/searchall.py
===================================================================
--- tracsearchall/searchall.py (revision 2767)
+++ tracsearchall/searchall.py (working copy)
@@ -52,11 +52,14 @@
# skip our own project
if project == this_project:
continue
-
+
# make up URL for project
project_url = '/'.join( (base_url, project) )
project_path = os.path.join(search_path,project)
+ if not os.path.isdir( project_path ):
+ continue
+
env = open_environment(project_path)