Opened 11 years ago

Closed 11 years ago

Last modified 8 months ago

#338 closed defect (invalid)

'trac.mimeview.api.Mimeview' object has no attribute 'to_unicode' error in repo search

Reported by: anuradha.moturi@… Owned by: Alec Thomas
Priority: normal Component: RepoSearchPlugin
Severity: normal Keywords:
Cc: akshay.guleria@…, varmasoft@… Trac Release: 0.9

Description (last modified by Ryan J Ollos)


I have the latest reposearch plugin( It giving the following error message :

Traceback (most recent call last):
  File "/usr/lib/python2.3/site-packages/trac/web/", line 206, in handler
    dispatch_request(mpr.path_info, mpr, env)
  File "/usr/lib/python2.3/site-packages/trac/web/", line 139, in dispatch_request
  File "/usr/lib/python2.3/site-packages/trac/web/", line 107, in dispatch
    resp = chosen_handler.process_request(req)
  File "/usr/lib/python2.3/site-packages/trac/", line 158, in process_request
    results += list(source.get_search_results(req, query, filters))
  File "build/bdist.linux-i686/egg/tracreposearch/", line 74, in get_search_results
  File "/usr/lib/python2.3/site-packages/trac/", line 165, in __getattr__
    raise AttributeError, "'%s' object has no attribute '%s'" % (cls, name)
AttributeError: 'trac.mimeview.api.Mimeview' object has no attribute 'to_unicode'

Attachments (0)

Change History (2)

comment:1 Changed 11 years ago by Alec Thomas

Resolution: invalid
Status: newclosed

The plugin has two directories, one for Trac 0.9 and one for 0.10 (trunk). You need the one for 0.9.

comment:2 Changed 8 months ago by Ryan J Ollos

Description: modified (diff)

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Alec Thomas.
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.