id,summary,reporter,owner,description,type,status,priority,component,severity,resolution,keywords,cc,release 4052,Missing 'get_htdocs_dirs' method for TicketStatsPlugin,10function,Prentice Wongvibulsin,"Here is my current software configuration : User Agent: Mozilla/5.0 (compatible; Konqueror/3.5; Linux) KHTML/3.5.9 (like Gecko) (Debian) !Trac:0.11.1 Python:2.5.2 (!r252:60911, Sep 29 2008, 21:15:13) [GCC 4.3.2] setuptools:0.6c8 SQLite:3.5.9 pysqlite:2.4.1 Genshi:0.5.1 Subversion:1.5.1 (!r32289) jQuery: 1.2.6 ---- The !TicketStatslugin in itself works correctly, but combined with some plugins (like Stractistics) on trac 0.11 exhibit the following error : {{{ AttributeError: 'TicketStatsPlugin' object has no attribute 'get_htdocs_dirs' Python Traceback Most recent call last: File ""/usr/lib/python2.5/site-packages/Trac-0.11.1-py2.5.egg/trac/web/main.py"", line 423, in _dispatch_request File ""/usr/lib/python2.5/site-packages/Trac-0.11.1-py2.5.egg/trac/web/main.py"", line 197, in dispatch File ""/usr/lib/python2.5/site-packages/Trac-0.11.1-py2.5.egg/trac/web/chrome.py"", line 364, in process_request }}} This simple patch do the trick and correct the problem : {{{ 35,37d34 < def get_htdocs_dirs(self): < return pkg_resources.resource_filename(__name__, 'htdocs') < }}} ",defect,closed,normal,TracTicketStatsPlugin,normal,fixed,,,0.11