AttributeError: 'Environment' object has no attribute 'get_db_cnx'
Forgot to add this. Probably useful.
Python Traceback
Most recent call last: File "c:/users/ronald/appdata/local/temp/easy_install-je7wtm/Trac-1.2-py2.7-win32.egg.tmp/trac/web/main.py", line 613, in _dispatch_request
File "c:/users/ronald/appdata/local/temp/easy_install-je7wtm/Trac-1.2-py2.7-win32.egg.tmp/trac/web/main.py", line 253, in dispatch
File "C:/Python27/lib/site-packages/tracganttcalendarplugin-0.6.4.post0-py2.7.egg/ganttcalendar/ticketgantt.py", line 259, in process_request
Reply To anta40
I just setup Trac 0.12 on Windows, using this tutorial: http://www.jochenhebbrecht.be/site/2014-08-03/windows/installing-trac-101-windows-81-configuring-subversion-repository AttributeError: 'Environment' object has no attribute 'get_db_cnx'
You're using Trac 1.2. The plugin doesn't support Trac 1.2. Instead, downgrade to Trac 1.0 or 0.12.
I just setup Trac 0.12 on Windows, using this tutorial: http://www.jochenhebbrecht.be/site/2014-08-03/windows/installing-trac-101-windows-81-configuring-subversion-repository
Seems to work fine. Then I need 2 additional features: being able to handle multiple projects, and Gantt chart support. Multiple projects support can be added by using tutorial: https://trac-hacks.org/wiki/SimpleMultiProjectPlugin Again, haven't tested it extensively, but seemed to work fine.
Now the issue issue is the Gantt chart plugin cannot be run. I followed the steps for Trac 0.12 from https://trac-hacks.org/wiki/GanttCalendarPlugin.
When I open my Trac Page, I can see the Ticket Calendar and Ticket Gantt menus. Yet if they are clicked, I got this: Trac detected an internal error: AttributeError: 'Environment' object has no attribute 'get_db_cnx'