Opened 13 years ago

Last modified 12 years ago

#8820 closed defect

Search fails with: AttributeError: 'NoneType' object has no attribute 'get_node' — at Initial Version

Reported by: malkolm@… Owned by: Ryan J Ollos
Priority: normal Component: RepoSearchPlugin
Severity: normal Keywords:
Cc: ejucovy Trac Release: 0.12

Description

Python Traceback Most recent call last:

File "build/bdist.linux-x86_64/egg/trac/web/main.py", line 511, in _dispatch_request

dispatcher.dispatch(req)

File "build/bdist.linux-x86_64/egg/trac/web/main.py", line 237, in dispatch

resp = chosen_handler.process_request(req)

File "build/bdist.linux-x86_64/egg/trac/search/web_ui.py", line 96, in process_request

results = self._do_search(req, terms, filters)

File "build/bdist.linux-x86_64/egg/trac/search/web_ui.py", line 201, in _do_search

or [])

File "build/bdist.linux-x86_64/egg/tracreposearch/search.py", line 79, in get_search_results

self.indexer = Indexer(self.env)

File "build/bdist.linux-x86_64/egg/tracreposearch/indexer.py", line 134, in init

self.reindex()

File "build/bdist.linux-x86_64/egg/tracreposearch/indexer.py", line 97, in wrap

return f(*args, kw)

File "build/bdist.linux-x86_64/egg/tracreposearch/indexer.py", line 242, in reindex

for node in TracRepoSearchPlugin(self.env).walk_repo(self.repo):

File "build/bdist.linux-x86_64/egg/tracreposearch/search.py", line 52, in walk_repo

for node in do_walk('/'):

File "build/bdist.linux-x86_64/egg/tracreposearch/search.py", line 41, in do_walk

node = repo.get_node(path)

System Information:

Trac 0.12.1 Genshi 0.6 mod_wsgi 3.3 (WSGIProcessGroup WSGIApplicationGroup 127.0.0.1|) pysqlite 2.4.1 Python 2.6 (r26:66714, Nov 3 2009, 17:33:18) [GCC 4.4.1 20090725 (Red Hat 4.4.1-2)] setuptools 0.6c11 SQLite 3.6.20 Subversion 1.6.6 (r40053) jQuery 1.4.2 Enabled Plugins: NavAdd 0.1 /data/trac/projects/solar-scm/plugins/NavAdd-0.1-py2.6.egg tracreposearch 0.2 /data/trac/projects/solar-scm/plugins/tracreposearch-0.2-py2.6.egg TracTocMacro 11.0.0.3 /data/trac/projects/solar-scm/plugins/TracTocMacro-11.0.0.3-py2.6.egg

Change History (0)

Note: See TracTickets for help on using tickets.