Edgewall Software
Modify

Opened 17 years ago

Closed 17 years ago

Last modified 12 years ago

#6688 closed defect (worksforme)

AttributeError: Cannot find an implementation of the "ITicketGroupStatsProvider" interface named "DefaultTicketGroupStatsProvide". Please update the option milestone.stats_provider in trac.ini.

Reported by: talsop Owned by: Christopher Lenz
Priority: normal Milestone:
Component: roadmap Version: devel
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

How to Reproduce

While doing a GET operation on /milestone/CSTBss, Trac issued an internal error.

I have upgraded to latest Trac code from trunk and when I click on roadmap tab, then select one of the milestones to display information about the milestone I get this error.

Request parameters:

{'id': u'CSTBss'}

System Information

Trac 0.11dev-r6363
Python 2.3.5 (#1, Jun 26 2006, 16:39:05)
[GCC 3.2.3 20030502 (Red Hat Linux 3.2.3-49)]
setuptools 0.6b3
SQLite 3.1.5
pysqlite 1.1.7
Genshi 0.4.1
Subversion 1.3.2 (r19776)

Python Traceback

Traceback (most recent call last):
  File "/usr/lib/python2.3/site-packages/Trac-0.11dev_r6363-py2.3.egg/trac/web/main.py", line 398, in _dispatch_request
    dispatcher.dispatch(req)
  File "/usr/lib/python2.3/site-packages/Trac-0.11dev_r6363-py2.3.egg/trac/web/main.py", line 195, in dispatch
    resp = chosen_handler.process_request(req)
  File "/usr/lib/python2.3/site-packages/Trac-0.11dev_r6363-py2.3.egg/trac/ticket/roadmap.py", line 571, in process_request
    return self._render_view(req, db, milestone)
  File "/usr/lib/python2.3/site-packages/Trac-0.11dev_r6363-py2.3.egg/trac/ticket/roadmap.py", line 707, in _render_view
    stat = get_ticket_stats(self.stats_provider, tickets)
  File "/usr/lib/python2.3/site-packages/Trac-0.11dev_r6363-py2.3.egg/trac/config.py", line 462, in __get__
    raise AttributeError('Cannot find an implementation of the "%s" '
AttributeError: Cannot find an implementation of the "ITicketGroupStatsProvider" interface named "DefaultTicketGroupStatsProvide".  Please update the option milestone.stats_provider in trac.ini.

Attachments (0)

Change History (5)

comment:1 by hyuga <hyugaricdeau@…>, 17 years ago

Works fine for me in trunk. Check your trac.ini file and make sure that the stats_provider option is correct (or just remove it, since DefaultTicketGroupStatsProvider is, well, the default.

comment:2 by anonymous, 17 years ago

Resolution: fixed
Status: newclosed

Looks like that was the problem. Somehow my trac.ini had wrong entry. See below:

stats_provider = DefaultTicketGroupStatsProvide

As you can see there is an 'r' missing from the end of the name.

Thankyou for your help. I will close this ticket.

comment:3 by hyuga <hyugaricdeau@…>, 17 years ago

Resolution: fixed
Status: closedreopened

comment:4 by hyuga <hyugaricdeau@…>, 17 years ago

Resolution: worksforme
Status: reopenedclosed

comment:5 by Christian Boos, 12 years ago

Milestone: 0.11

(clearing report:35)

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Christopher Lenz.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Christopher Lenz to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.