Modify

Opened 7 days 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)

Change History (0)

Add Comment

Modify Ticket

Action
as new The ticket will remain with no owner.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.