﻿id	summary	reporter	owner	description	type	status	priority	component	severity	resolution	keywords	cc	release
13030	AttributeError: 'Environment' object has no attribute 'get_db_cnx'	massimo.b@…	Martin Scharrer	"Updated to trac-1.2, AccountManagerPlugin r16171, WatchListPlugin r16171. This fixed bug 12715 but runs into this one:
{{{
#!python
 Trac detected an internal error:

AttributeError: 'Environment' object has no attribute 'get_db_cnx'


Python Traceback
Most recent call last:

File ""/usr/lib64/python2.7/site-packages/trac/web/main.py"", line 613, in _dispatch_request
  dispatcher.dispatch(req)
File ""/usr/lib64/python2.7/site-packages/trac/web/main.py"", line 263, in dispatch
  self._post_process_request(req, *resp)
File ""/usr/lib64/python2.7/site-packages/trac/web/main.py"", line 444, in _post_process_request
  resp = f.post_process_request(req, *resp[:-1])
File ""build/bdist.linux-x86_64/egg/tracwatchlist/plugin.py"", line 692, in post_process_request
  if self.is_watching(realm, resid, user):
File ""build/bdist.linux-x86_64/egg/tracwatchlist/plugin.py"", line 254, in is_watching
  db = db or self.env.get_db_cnx()
}}}"	defect	new	normal	WatchlistPlugin	normal				1.2
