Thanks for the quick reply. I don't know where to change this line.
In trac/plugins are only EGGs. In /usr/lib/python2.3/site-pacakges also. Must I "open" the egg, change the line and then close ist again? Which EGG to edit? So I need to restart apache? Developing java based webapps is no problem for me, But for python and egss I am a complete n00b :-) Huibert Gill > -----Ursprüngliche Nachricht----- > Von: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Im Auftrag von Alec Thomas > Gesendet: Mittwoch, 1. März 2006 09:04 > An: [email protected] > Betreff: Re: [Trac] Trac RepoSearch > > Hi Gill, > > Can you try changing line 83 from this: > > content = node.get_content().read().lower() > > to this: > > try: > content = node.get_content().read().lower() > except: > self.env.log.debug(node.path) > raise > > Then check the logs and see what type of object the node is? > > Alec > > On Wed, Mar 01, 2006 at 08:41:45AM +0100, Gill Huibert wrote: > > Hi, > > > > I installed Trac here (at work) last week. > > We've been using subversion for about 2 years, with a > (then) hacked-up > > version of "view CVS" for browsing the repos in a browser. > > > > So far we have been very pleased with trac, it is easy to > setup, it is > > responsive, and the wiki/svn integration is just the tool > we have been > > looking for. > > > > I installed the TracTag and Admin plugins, they work fine. > > > > Then I found the RepoSearch plugin, which would _really_ help us. > > The installation went fine, I gave my user the repossearch > permission. > > > > But searching the repos does not work, details will follow. > > > > I could open a ticket, but I think it may not be a problem > in trac, but with > > my local config. > > Otherwise a lot of other people would be having the same > problem, and from > > reading the list I know that some of you got this plugin up > and running. > > > > When I try to search I get the following Error: > > > > <START ERROR> > > Oops... > > Trac detected an internal error: > > > > 'NoneType' object has no attribute 'read' > > > > If you think this really should work and you can reproduce > it. Then you > > should consider to report this problem to the Trac team. > > > > Go to http://trac.edgewall.com/ and create a new ticket > where you describe > > the problem, how to reproduce it. Don't forget to include the python > > traceback found below. > > > > TracGuide - The Trac User and Administration Guide > > > > > > Python traceback > > > > Traceback (most recent call last): > > File > "/usr/lib/python2.3/site-packages/trac/web/modpython_frontend.py", > > line 206, in handler > > dispatch_request(mpr.path_info, mpr, env) > > File "/usr/lib/python2.3/site-packages/trac/web/main.py", > line 139, in > > dispatch_request > > dispatcher.dispatch(req) > > File "/usr/lib/python2.3/site-packages/trac/web/main.py", > line 107, in > > dispatch > > resp = chosen_handler.process_request(req) > > File "/usr/lib/python2.3/site-packages/trac/Search.py", > line 158, in > > process_request > > results += list(source.get_search_results(req, query, filters)) > > File > "build/bdist.linux-i686/egg/tracreposearch/search.py", line 102, in > > get_search_results > > File > "build/bdist.linux-i686/egg/tracreposearch/search.py", line 83, in > > full_walker > > AttributeError: 'NoneType' object has no attribute 'read' > > > > > > <END ERROR> > > > > > > My system config: > > > > - Default Debian 3.0 (with regular updates) > > - subversion 1.2 > > - trac 0.9.3 > > - python 2.3 > > > > Trac and svn are the debian provided packages > > > > I use trac with mod_python as discribed in the readme. > > > > > > My trac plugins dir: > > > > total 104K > > drwxr-xr-x 2 www-data www-data 144 Mar 1 08:36 . > > drwxr-xr-x 10 www-data www-data 4.0K Feb 23 15:38 .. > > -rw-r--r-- 1 www-data www-data 9.4K Feb 23 15:13 > TracHacks-0.1-py2.3.egg > > -rw-r--r-- 1 www-data www-data 12K Feb 24 13:07 > TracTags-0.2-py2.3.egg > > -rw-r--r-- 1 www-data www-data 34K Jan 12 21:00 > > TracWebAdmin-0.1.1dev_r2765-py2.3.egg > > -rw-r--r-- 1 www-data www-data 39K Feb 23 14:44 > > tracreposearch-0.1-py2.3.egg > > > > > > > > Any help would be appriciated. > > > > Mit freundlichen Grüßen / With kind regards > > > > Huibert Gill > > > > > > _______________________________________________ > > Trac mailing list > > [email protected] > > http://lists.edgewall.com/mailman/listinfo/trac > > > > -- > Evolution: Taking care of those too stupid to take care of themselves. > _______________________________________________ > Trac mailing list > [email protected] > http://lists.edgewall.com/mailman/listinfo/trac > _______________________________________________ Trac mailing list [email protected] http://lists.edgewall.com/mailman/listinfo/trac
