Modify

Opened 10 years ago

Last modified 10 years ago

#12235 new defect

get_db_cnx removed in Trac 1.2+

Reported by: lukasz.matecki@… Owned by: mrjbq7
Priority: normal Component: TracStatsPlugin
Severity: normal Keywords:
Cc: Trac Release: 1.2

Description

W Systemie Trac wystąpił wewnętrzny błąd:

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

Traceback:

File "build/bdist.win32/egg/trac/web/main.py", line 551, in _dispatch_request
  dispatcher.dispatch(req)
File "build/bdist.win32/egg/trac/web/main.py", line 225, in dispatch
  resp = chosen_handler.process_request(req)
File "build/bdist.win32/egg/tracstats/web_ui.py", line 131, in process_request
  db = self.env.get_db_cnx()
Trac 	1.1.4dev-r0
Babel 	0.9.6
Genshi 	0.7 (without speedups)
Pygments 	1.6
pysqlite 	2.6.0
Python 	2.7.1 (r271:86832, Nov 27 2010, 18:30:46) [MSC v.1500 32 bit (Intel)]
pytz 	2011c
RPC 	1.1.2
setuptools 	12.0.1
SQLite 	3.6.21
Subversion 	1.7.5 (r1336830)
jQuery	1.8.3
jQuery UI	1.9.2
jQuery Timepicker	1.1.1
Nazwa	Wersja	Lokalizacja
AllAttachments 	r14371 	h:\trac\utal\plugins\AllAttachments.pyc
tracfilelist 	0.1 	c:\python27\lib\site-packages\tracfilelist-0.1-py2.7.egg
trachtmlnotificationplugin 	0.12.0.1 	c:\python27\lib\site-packages\trachtmlnotificationplugin-0.12.0.1-py2.7.egg
tracstats 	0.5 	c:\python27\lib\site-packages\tracstats-0.5-py2.7.egg
tracxmlrpc 	1.1.2 	c:\python27\lib\site-packages\tracxmlrpc-1.1.2-py2.7.egg

Attachments (0)

Change History (1)

comment:1 Changed 10 years ago by Ryan J Ollos

Plugin is hosted on GitHub. You may want to open a ticket there: github:mrjbq7/tracstats.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain mrjbq7.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.