Modify ↓
Opened 8 years ago
Last modified 7 years ago
#13041 new defect
Does not work with Trac 1.2
Reported by: | anonymous | Owned by: | |
---|---|---|---|
Priority: | normal | Component: | TracMetrixPlugin |
Severity: | normal | Keywords: | |
Cc: | Trac Release: | 1.2 |
Description
The current code in trunk does not work with Trac 1.2:
2017-01-10 16:32:29,551 Trac[main] ERROR: Internal Server Error: <RequestWithSession "GET '/pdashboard'">, referrer 'http://trac/admin/general/plugin' Traceback (most recent call last): File "build/bdist.linux-x86_64/egg/trac/web/main.py", line 613, in _dispatch_request dispatcher.dispatch(req) File "build/bdist.linux-x86_64/egg/trac/web/main.py", line 253, in dispatch resp = chosen_handler.process_request(req) File "build/bdist.linux-x86_64/egg/tracmetrixplugin/web_ui.py", line 165, in process_request db = self.env.get_db_cnx() AttributeError: 'Environment' object has no attribute 'get_db_cnx'
Attachments (0)
Note: See
TracTickets for help on using
tickets.
I'm not sure this plugin will ever work with Trac 1.2 unless someone else wants to make the changes. I plan to review the plugin and see if there is a better equivalent plugin that effort could be put towards.