Opened 7 years ago

Closed 7 years ago

#53 closed defect (fixed)

AttributeError: 'Environment' object has no attribute 'get_db_cnx'

Reported by: crreimol@… Owned by: pulkomandy
Priority: major Milestone: 2.5
Component: GrafX2 Version: 2.4
Keywords: Cc:


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/", line 613, in _dispatch_request
  File "/usr/lib/python2.7/dist-packages/trac/web/", line 253, in dispatch
    resp = chosen_handler.process_request(req)
  File "build/bdist.linux-x86_64/egg/tracdownloads/", line 144, in process_request
    return api.process_downloads(context) + (None,)
  File "build/bdist.linux-x86_64/egg/tracdownloads/", line 341, in process_downloads
    db = self.env.get_db_cnx()
AttributeError: 'Environment' object has no attribute 'get_db_cnx'

Change History (1)

comment:1 by PulkoMandy, 7 years ago

Resolution: fixed
Status: newclosed

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.

Note: See TracTickets for help on using tickets.