Modify ↓
Opened 14 years ago
Closed 14 years ago
#9844 closed defect (cantfix)
UnboundLocalError: local variable 'db' referenced before assignment
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | general | Version: | 0.11.5 |
Severity: | normal | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: |
I Use the TracTest. |
||
Internal Changes: |
Description
How to Reproduce
While doing a GET operation on /testcreate
, Trac issued an internal error.
(please provide additional details here)
Request parameters:
{'path': u'TC_TT2_TT3', 'title': u'CT_05', 'type': u'testcase'}
User Agent was: Mozilla/5.0 (Windows; U; Windows NT 6.1; pt-BR; rv:1.9.2.12) Gecko/20101026 Firefox/3.6.12
System Information
Trac | 0.11.5
|
Python | 2.6.2 (release26-maint, Apr 19 2009, 02:15:38) [GCC 4.3.3]
|
setuptools | 0.6c9
|
SQLite | 3.6.10
|
pysqlite | 2.4.1
|
Genshi | 0.5.1
|
mod_python | 3.3.1
|
Pygments | 1.0
|
Agilo | 0.7.3.3-r1417-20090313
|
Subversion | 1.5.4 (r33841)
|
jQuery: | 1.2.6
|
Python Traceback
Traceback (most recent call last): File "/usr/local/lib/python2.6/dist-packages/Trac-0.11.5-py2.6.egg/trac/web/main.py", line 444, in _dispatch_request dispatcher.dispatch(req) File "/usr/local/lib/python2.6/dist-packages/Trac-0.11.5-py2.6.egg/trac/web/main.py", line 205, in dispatch resp = chosen_handler.process_request(req) File "/home/trac/jardim-rafa/plugins/TestManager-1.3.6-py2.6.egg/testmanager/api.py", line 174, in process_request id = self.get_next_id(type) File "/home/trac/jardim-rafa/plugins/TestManager-1.3.6-py2.6.egg/testmanager/api.py", line 54, in get_next_id db.rollback() UnboundLocalError: local variable 'db' referenced before assignment
Attachments (0)
Change History (1)
comment:1 by , 14 years ago
Milestone: | 0.12.2 |
---|---|
Resolution: | → cantfix |
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
This is a PluginIssue (TestManager).