Opened 5 years ago

Closed 4 years ago

#5914 closed defect (worksforme)

RepoSearchPlugin: TypeError when starting indexing

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


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/", line 444, in _dispatch_request


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

resp = chosen_handler.process_request(req)

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

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

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


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

return f(*args, kw)

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


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

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

File "/usr/lib/python2.6/", 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.


Attachments (0)

Change History (2)

comment:1 Changed 4 years ago by rjollos

  • Owner changed from athomas to rjollos

Reassigning ticket after changing maintainer of plugin.

comment:2 Changed 4 years ago by rjollos

  • Resolution set to worksforme
  • Status changed from new to closed

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.

Add Comment

Modify Ticket

as closed .
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from rjollos. Next status will be 'closed'.
The resolution will be deleted. Next status will be 'reopened'.

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

Note: See TracTickets for help on using tickets.