Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#13089 closed defect (fixed)

Error 'Environment' object has no attribute 'get_db_cnx' on trac 1.2

Reported by: Florian Berger <florian.berger@…> Owned by: Ryan J Ollos
Priority: normal Component: UpcomingMilestonesChartMacro
Severity: blocker Keywords:
Cc: Trac Release: 1.2


After an upgrade from trac 1.0.9 to trac 1.2, the UpcomingMilestonesChartMacro displays:

Error: Macro UpcomingMilestonesChart(%,10,Nächste Meilensteine,) failed

'Environment' object has no attribute 'get_db_cnx'

Attachments (0)

Change History (3)

comment:1 Changed 3 years ago by Ryan J Ollos

Owner: changed from falkb to Ryan J Ollos
Status: newaccepted

comment:2 Changed 3 years ago by Ryan J Ollos

Resolution: fixed
Status: acceptedclosed

In 16271:

Make compatible with Trac >= 1.0

The macro is no longer compatible with Trac < 1.0.

Fixes #13089.

comment:3 Changed 3 years ago by Florian Berger <florian.berger@…>

Works like a charm now in 1.2. Thanks!

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Ryan J Ollos.
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.