Modify

Opened 17 years ago

Closed 16 years ago

#1776 closed defect (invalid)

Installation issue with class not available for loading

Reported by: anonymous Owned by: Dave Cole
Priority: normal Component: CustomRoadmapPlugin
Severity: blocker Keywords:
Cc: Dave Cole Trac Release: 0.11

Description

after setting up the plugin, as outlined in the read me document, i am getting the following error

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

the log is File "d:\mysoftwares\python24\lib\site-packages\Trac-0.11dev_r5823-py2.4.egg\trac\web\main.py", line 434, in dispatch_request

dispatcher.dispatch(req)

File "d:\mysoftwares\python24\lib\site-packages\Trac-0.11dev_r5823-py2.4.egg\trac\web\main.py", line 217, in dispatch

resp = chosen_handler.process_request(req)

File "d:\mysoftwares\python24\lib\site-packages\Trac-0.11dev_r5823-py2.4.egg\trac\ticket\roadmap.py", line 212, in process_request

stat = get_ticket_stats(self.stats_provider, tickets)

File "d:\mysoftwares\python24\lib\site-packages\Trac-0.11dev_r5823-py2.4.egg\trac\config.py", line 410, in get

raise AttributeError('Cannot find an implementation of the "%s" '

Version of the the files is

Trac: 0.11dev-r5823 Python: 2.4.4 (#71, Oct 18 2006, 08:34:43) [MSC v.1310 32 bit (Intel)] setuptools: 0.6c6 SQLite: 3.3.6 pysqlite: 2.3.2 Genshi: 0.4.2 Pygments: 0.8.1 Subversion: 1.4.2 (r22196) jQuery: 1.1.2

Attachments (0)

Change History (3)

comment:1 Changed 17 years ago by edward.chwieseni@…

Severity: normalblocker
Trac Release: 0.100.11

I'm using Python 2.4 and Trac 0.11 and I am having the same problem. Any suggestions.

comment:2 Changed 17 years ago by Matt Callaghan

Cc: Dave Cole added; anonymous removed

I'm receiving a similar error:

Trac detected an internal error:

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

Python Traceback

File "/usr/local/lib/python2.5/site-packages/Trac-0.11b1-py2.5.egg/trac/web/main.py", line 398, in _dispatch_request
  dispatcher.dispatch(req)
File "/usr/local/lib/python2.5/site-packages/Trac-0.11b1-py2.5.egg/trac/web/main.py", line 195, in dispatch
  resp = chosen_handler.process_request(req)
File "/usr/local/lib/python2.5/site-packages/Trac-0.11b1-py2.5.egg/trac/ticket/roadmap.py", line 333, in process_request
  stat = get_ticket_stats(self.stats_provider, tickets)
File "/usr/local/lib/python2.5/site-packages/Trac-0.11b1-py2.5.egg/trac/config.py", line 466, in __get__
  self.section, self.name))

System Information

User Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-CA; rv:1.8.1.5) Gecko/20070713 Firefox/2.0.0.5

Trac: 0.11b1
Python: 2.5 (r25:51908, Nov 27 2006, 19:14:46) [GCC 4.1.2 20061115 (prerelease) (SUSE Linux)]
setuptools: 0.6c6
SQLite: 3.3.8
pysqlite: 2.3.2
Genshi: 0.5dev-r801
Pygments: 0.8.1
jQuery: 1.2.1

I've in fact applied the trac-0.11dev.patch as outlined in the documentation however it didn't make a difference ...

Any tips/thoughts/solutions would be lovely!

comment:3 Changed 16 years ago by anonymous

Resolution: invalid
Status: newclosed

Enable the components

In trac.ini:

[components]
customroadmap.* = enabled

Modify Ticket

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