Modify ↓
Opened 13 years ago
Closed 13 years ago
#10629 closed defect (cantfix)
ProgrammingError: Cannot operate on a closed cursor.
Reported by: | marcossilva | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | general | Version: | 0.11.7 |
Severity: | normal | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
How to Reproduce
While doing a GET operation on /report/1
, Trac issued an internal error.
(please provide additional details here)
Request parameters:
{'id': u'1'}
User Agent was: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/535.11 (KHTML, like Gecko) Chrome/17.0.963.78 Safari/535.11
System Information
Trac | 0.11.7
|
Python | 2.7.1+ (r271:86832, Apr 11 2011, 18:05:24) [GCC 4.5.2]
|
setuptools | 0.6
|
SQLite | 3.7.4
|
pysqlite | 2.6.0
|
Genshi | 0.6
|
Agilo | 0.9.7
|
Pygments | 1.4
|
Subversion | 1.6.12 (r955767)
|
RPC | 1.0.6
|
jQuery: | 1.5
|
Python Traceback
Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/trac/web/main.py", line 450, in _dispatch_request dispatcher.dispatch(req) File "/usr/lib/python2.7/dist-packages/trac/web/main.py", line 217, in dispatch self._post_process_request(req, *resp) File "/usr/lib/python2.7/dist-packages/trac/web/main.py", line 309, in _post_process_request resp = f.post_process_request(req, *resp) File "/usr/local/lib/python2.7/dist-packages/itteco-0.2.6-py2.7.egg/itteco/ticket/report.py", line 110, in post_process_request data['available_reports'] = self.available_reports(req) File "/usr/local/lib/python2.7/dist-packages/itteco-0.2.6-py2.7.egg/itteco/ticket/report.py", line 183, in available_reports cursor.execute("SELECT id AS report, title " File "/usr/lib/python2.7/dist-packages/trac/db/util.py", line 65, in execute return self.cursor.execute(sql) File "/usr/lib/python2.7/dist-packages/trac/db/sqlite_backend.py", line 80, in execute result = PyFormatCursor.execute(self, *args) File "/usr/lib/python2.7/dist-packages/trac/db/sqlite_backend.py", line 59, in execute args or []) File "/usr/lib/python2.7/dist-packages/trac/db/sqlite_backend.py", line 51, in _rollback_on_error return function(self, *args, **kwargs) ProgrammingError: Cannot operate on a closed cursor.
Attachments (0)
Note:
See TracTickets
for help on using tickets.
PluginIssue. Please report to the plugin maintainers.