Edgewall Software
Modify

Opened 10 years ago

Closed 10 years ago

#11737 closed defect (cantfix)

ProgrammingError: Cannot operate on a closed cursor.

Reported by: faun@… Owned by:
Priority: normal Milestone:
Component: general Version: 1.0
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

How to Reproduce

While doing a POST operation on /admin/ganttcalendar/holiday, Trac issued an internal error.

(please provide additional details here)

Request parameters:

{'__FORM_TOKEN': u'c49fb8d0906d4747338932d1',
 'cat_id': u'ganttcalendar',
 'create_table': u'\u521b\u5efa\u8868\u5e76\u63d2\u5165\u4e00\u4e9b\u5047\u65e5\u3002',
 'panel_id': u'holiday',
 'path_info': None}

User agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/36.0.1985.143 Safari/537.36

System Information

Trac 1.0
Trac 1.0
Babel 0.9.6
Docutils 0.8.1
Genshi 0.6 (with speedups)
Pygments 1.6
pysqlite 2.6.0
Python 2.7.3 (default, Mar 18 2014, 05:13:23)
[GCC 4.6.3]
Python 2.7.3 (default, Mar 18 2014, 05:13:23)
[GCC 4.6.3]
pytz 2012c
pytz 2012c
setuptools 0.6
setuptools 0.6
SQLite 3.7.13
jQuery 1.7.2

Enabled Plugins

IniAdmin 0.3-r0
TracAccountManager 0.5dev-r0
TracAcronyms 0.2dev
TracAutoWikify 0.2dev
TracDragDrop 0.12.0.12
TracExtractUrl 0.3
TracGanttCalendarPlugin 0.6.2-r0
TracMindMapMacro 0.4
TracStats 0.5
TracTags 0.7dev
TracTocMacro 11.0.0.4

Python Traceback

Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/Trac-1.0-py2.7.egg/trac/web/main.py", line 497, in _dispatch_request
    dispatcher.dispatch(req)
  File "/usr/local/lib/python2.7/dist-packages/Trac-1.0-py2.7.egg/trac/web/main.py", line 214, in dispatch
    resp = chosen_handler.process_request(req)
  File "/usr/local/lib/python2.7/dist-packages/Trac-1.0-py2.7.egg/trac/admin/web_ui.py", line 125, in process_request
    path_info)
  File "/usr/local/lib/python2.7/dist-packages/TracGanttCalendarPlugin-0.6.2_r0-py2.7.egg/ganttcalendar/admin.py", line 88, in render_admin_panel
    cursor.execute(sql)
  File "/usr/local/lib/python2.7/dist-packages/Trac-1.0-py2.7.egg/trac/db/util.py", line 66, in execute
    return self.cursor.execute(sql)
  File "/usr/local/lib/python2.7/dist-packages/Trac-1.0-py2.7.egg/trac/db/sqlite_backend.py", line 78, in execute
    result = PyFormatCursor.execute(self, *args)
  File "/usr/local/lib/python2.7/dist-packages/Trac-1.0-py2.7.egg/trac/db/sqlite_backend.py", line 56, in execute
    args or [])
  File "/usr/local/lib/python2.7/dist-packages/Trac-1.0-py2.7.egg/trac/db/sqlite_backend.py", line 48, in _rollback_on_error
    return function(self, *args, **kwargs)
ProgrammingError: Cannot operate on a closed cursor.

Attachments (0)

Change History (1)

comment:1 by Jun Omae, 10 years ago

Resolution: cantfix
Status: newclosed

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The ticket will remain with no owner.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from (none) to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.