Modify ↓
Opened 6 years ago
Closed 6 years ago
#13563 closed enhancement (fixed)
AttributeError: 'Environment' object has no attribute 'get_db_cnx'
| Reported by: | Owned by: | Ryan J Ollos | |
|---|---|---|---|
| Priority: | normal | Component: | StractisticsPlugin |
| Severity: | normal | Keywords: | |
| Cc: | Trac Release: | 1.2 |
Description (last modified by )
trac 1.2.3 + plugin Stractistics 0.6.dev
An error rised while accessing stractistics in the nav bar:
url: http://<host>/>project>/stractistics
Log:
Traceback (most recent call last):
File "build/bdist.linux-x86_64/egg/trac/web/main.py", line 647, in _dispatch_request
dispatcher.dispatch(req)
File "build/bdist.linux-x86_64/egg/trac/web/main.py", line 248, in dispatch
resp = chosen_handler.process_request(req)
File "/usr/lib/python2.7/site-packages/STractistics-0.6dev-py2.7.egg/stractistics/web_ui.py", line 85, in process_request
db = self.env.get_db_cnx()
AttributeError: 'Environment' object has no attribute 'get_db_cnx'
(139650773723264) Trac[uuuu:perm] DEBUG: DefaultPermissionPolicy allows admin performing TRAC_ADMIN on None
(139650773723264) Trac[uuuu:wikitopdf] DEBUG: Using HTMLDOC version 1.8.28
Attachments (0)
Change History (4)
comment:1 Changed 6 years ago by
| Description: | modified (diff) |
|---|
comment:2 Changed 6 years ago by
| Status: | new → accepted |
|---|
comment:3 Changed 6 years ago by
comment:4 Changed 6 years ago by
| Resolution: | → fixed |
|---|---|
| Status: | accepted → closed |
Note: See
TracTickets for help on using
tickets.



In 17376: