Opened 6 years ago
Closed 6 years ago
#53 closed defect (fixed)
AttributeError: 'Environment' object has no attribute 'get_db_cnx'
Reported by: | Owned by: | pulkomandy | |
---|---|---|---|
Priority: | major | Milestone: | 2.5 |
Component: | GrafX2 | Version: | 2.4 |
Keywords: | Cc: |
Description
How to Reproduce
While doing a GET operation on /downloads
, Trac issued an internal error.
(please provide additional details here)
Request parameters:
{}
User agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36
System Information
System information not available
Enabled Plugins
Plugin information not available
Interface Customization
Interface customization information not available
Python Traceback
Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/trac/web/main.py", line 613, in _dispatch_request dispatcher.dispatch(req) File "/usr/lib/python2.7/dist-packages/trac/web/main.py", line 253, in dispatch resp = chosen_handler.process_request(req) File "build/bdist.linux-x86_64/egg/tracdownloads/core.py", line 144, in process_request return api.process_downloads(context) + (None,) File "build/bdist.linux-x86_64/egg/tracdownloads/api.py", line 341, in process_downloads db = self.env.get_db_cnx() AttributeError: 'Environment' object has no attribute 'get_db_cnx'
Note:
See TracTickets
for help on using tickets.
You just happened to be on the website while I was working on updating to Trac 1.2 (it took a few days to get everything sorted out). We are running fine again, now.