Modify

Opened 15 years ago

Closed 14 years ago

#5914 closed defect (worksforme)

RepoSearchPlugin: TypeError when starting indexing

Reported by: cstoecklin@… Owned by: Ryan J Ollos
Priority: normal Component: RepoSearchPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11

Description

Hi folks,

I have installed the RepoSearchPlugin on a 0.11.5 trac environment. When I start a search request i get following error message: .... 2009-10-04 22:30:58,235 Trac[indexer] DEBUG: Repository search index: /tmp/trac/index 2009-10-04 22:30:58,651 Trac[indexer] DEBUG: Indexing repository (either repository or indexing criteria have changed) 2009-10-04 22:31:14,078 Trac[indexer] DEBUG: Reindexing SMD.Archive_Script.txt 2009-10-04 22:31:14,114 Trac[chrome] DEBUG: Prepare chrome data for request 2009-10-04 22:31:14,339 Trac[main] ERROR: Internal Server Error: Traceback (most recent call last):

File "/usr/lib/python2.6/site-packages/trac/web/main.py", line 444, in _dispatch_request

dispatcher.dispatch(req)

File "/usr/lib/python2.6/site-packages/trac/web/main.py", line 205, in dispatch

resp = chosen_handler.process_request(req)

File "/usr/lib/python2.6/site-packages/trac/search/web_ui.py", line 107, in process_request

results += list(source.get_search_results(req, terms, filters))

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

self.indexer.reindex()

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

return f(*args, kw)

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

self._reindex_node(node)

File "build/bdist.linux-i686/egg/tracreposearch/indexer.py", line 223, in _reindex_node

self.revs[node.path.encode('utf-8')] = unicode(node.rev)

File "/usr/lib/python2.6/dumbdbm.py", line 164, in setitem

raise TypeError, "keys and values must be strings"

TypeError: keys and values must be strings ...

I have tried to debug the code .. but no have no idea what the problem could be.

Regards, Christian

Attachments (0)

Change History (2)

comment:1 Changed 14 years ago by Ryan J Ollos

Owner: changed from Alec Thomas to Ryan J Ollos

Reassigning ticket after changing maintainer of plugin.

comment:2 Changed 14 years ago by Ryan J Ollos

Resolution: worksforme
Status: newclosed

We'd need more information about your environment to debug this. Since some time has passed I don't anticipate the Reporter will follow up, but feel free to reopen and I will try to help you solve the issue.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Ryan J Ollos.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.