Opened 17 years ago
Last modified 17 years ago
#997 closed defect
cursor closed error — at Initial Version
Reported by: | Owned by: | Russ Tyndall | |
---|---|---|---|
Priority: | normal | Component: | TimingAndEstimationPlugin |
Severity: | normal | Keywords: | |
Cc: | Trac Release: | 0.10 |
Description
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=environwsgi.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.