Ticket #5358 (new defect)
Internal error - database connection problem with one environment
| Reported by: | STZ-SW | Owned by: | jonas |
|---|---|---|---|
| Priority: | normal | Milestone: | 0.10.6 |
| Component: | general | Version: | 0.10.3 |
| Severity: | normal | Keywords: | postgres dbpool |
| Cc: | Matthew.Carlson@… |
Description (last modified by cboos) (diff)
when I called my trac this morning I saw the following error message: "Trac detected an internal error:"
Traceback (most recent call last):
File "/var/lib/python-support/python2.5/trac/web/main.py", line 387, in dispatch_request
dispatcher.dispatch(req)
File "/var/lib/python-support/python2.5/trac/web/main.py", line 191, in dispatch
chosen_handler = self._pre_process_request(req, chosen_handler)
File "/var/lib/python-support/python2.5/trac/web/main.py", line 263, in _pre_process_request
chosen_handler = f.pre_process_request(req, chosen_handler)
File "/var/lib/python-support/python2.5/trac/versioncontrol/api.py", line 73, in pre_process_request
self.get_repository(req.authname) # triggers a sync if applicable
File "/var/lib/python-support/python2.5/trac/versioncontrol/api.py", line 101, in get_repository
repos = self._connector.get_repository(rtype, rdir, authname)
File "/var/lib/python-support/python2.5/trac/versioncontrol/svn_fs.py", line 260, in get_repository
crepos = CachedRepository(self.env.get_db_cnx(), repos, None, self.log)
File "/var/lib/python-support/python2.5/trac/versioncontrol/cache.py", line 34, in __init__
self.sync()
File "/var/lib/python-support/python2.5/trac/versioncontrol/cache.py", line 53, in sync
cursor = self.db.cursor()
File "/var/lib/python-support/python2.5/trac/db/util.py", line 78, in cursor
return IterableCursor(self.cnx.cursor())
File "/var/lib/python-support/python2.5/trac/db/util.py", line 78, in cursor
return IterableCursor(self.cnx.cursor())
File "/usr/lib/python2.5/site-packages/pyPgSQL/PgSQL.py", line 2599, in cursor
return Cursor(self, name, isRefCursor)
File "/usr/lib/python2.5/site-packages/pyPgSQL/PgSQL.py", line 2718, in __init__
self.conn._Connection__setupTransaction()
File "/usr/lib/python2.5/site-packages/pyPgSQL/PgSQL.py", line 2510, in __setupTransaction
self.conn.query("BEGIN WORK")
OperationalError: no connection to the server
At a first glance this looks like a database connection error. But only one environment is affected. The other ones work fine as before. So it can't be a database error, can it?
Resync didn't help and upgrade is not required (trac says).
Attachments
Change History
Note: See
TracTickets for help on using
tickets.


