Modify

Opened 10 years ago

Closed 10 years ago

#997 closed defect (fixed)

cursor closed error

Reported by: b.steimel@… Owned by: Russ Tyndall
Priority: normal Component: TimingAndEstimationPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.10

Description (last modified by Noah Kantrowitz)

I have the feature setup so it displays everyone one of my trac projects in a list, it describes doing this for an apache setup in the tracinstall. I get this error when displaying this list

tracProject: Error
(This cursor is already closed.)

I can't click to into the project. When i type it in directly and acually get into the project I get this error. The projects were upgraded from version 9 with no problems. I only have errors when this plugin is installed.

Mod_python error: "PythonHandler trac.web.modpython_frontend"

Traceback (most recent call last):

  File "/usr/lib/python2.4/site-packages/mod_python/apache.py", line 299, in HandlerDispatch
    result = object(req)

  File "/usr/lib/python2.4/site-packages/trac/web/modpython_frontend.py", line 87, in handler
    gateway.run(dispatch_request)

  File "/usr/lib/python2.4/site-packages/trac/web/wsgi.py", line 87, in run
    response = application(self.environ, self._start_response)

  File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 377, in dispatch_request
    env = _open_environment(env_path, run_once=environ['wsgi.run_once'])

  File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 58, in _open_environment
    env_cache[env_path] = open_environment(env_path)

  File "/usr/lib/python2.4/site-packages/trac/env.py", line 435, in open_environment
    if env.needs_upgrade():

  File "/usr/lib/python2.4/site-packages/trac/env.py", line 315, in needs_upgrade
    if participant.environment_needs_upgrade(db):

  File "build/bdist.linux-i686/egg/timingandestimationplugin/api.py", line 281, in environment_needs_upgrade

  File "build/bdist.linux-i686/egg/timingandestimationplugin/api.py", line 57, in db_needs_upgrade

  File "build/bdist.linux-i686/egg/timingandestimationplugin/dbhelper.py", line 70, in db_needs_upgrade

  File "build/bdist.linux-i686/egg/timingandestimationplugin/dbhelper.py", line 59, in get_plugin_db_version

  File "build/bdist.linux-i686/egg/timingandestimationplugin/dbhelper.py", line 50, in get_scalar

  File "/usr/lib/python2.4/site-packages/sqlite/main.py", line 283, in close
    raise _sqlite.ProgrammingError, \

ProgrammingError: This cursor is already closed.

Attachments (0)

Change History (4)

comment:1 Changed 10 years ago by Noah Kantrowitz

Description: modified (diff)

Fix formatting

comment:2 Changed 10 years ago by Noah Kantrowitz

Description: modified (diff)

comment:3 Changed 10 years ago by Russ Tyndall

Oops so sorry about that.

A newer patched version should be available via svn up.

Sorry for the inconvenience,

Russ

comment:4 Changed 10 years ago by Russ Tyndall

Resolution: fixed
Status: newclosed

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Russ Tyndall.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


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

 
Note: See TracTickets for help on using tickets.