[Pidgin] #9641: TimeoutError: Unable to get database connection within 20 seconds

Pidgin trac at pidgin.im
Tue Jul 7 14:32:41 EDT 2009


#9641: TimeoutError: Unable to get database connection within 20 seconds
---------------------+------------------------------------------------------
 Reporter:  mpt      |     Owner:  kstange
     Type:  defect   |    Status:  new    
Component:  webpage  |   Version:         
 Keywords:           |  
---------------------+------------------------------------------------------
 ==== How to Reproduce ====

 While doing a GET operation on `/ticket/9639`, Trac issued an internal
 error.

 http://developer.pidgin.im/ticket/9639

 Request parameters:
 {{{
 {'id': u'9639'}
 }}}


 User Agent was: `Mozilla/5.0 (X11; U; Linux i686; en-US) AppleWebKit/531.3
 (KHTML, like Gecko) Chrome/3.0.192.0 Safari/531.3`

 ==== System Information ====

 || '''Trac''' || `0.11.1` ||
 || '''Python''' || `2.5.2 (r252:60911, Jan  4 2009, 17:40:26) ` [[br]]
 `[GCC 4.3.2]` ||
 || '''setuptools''' || `0.6c8` ||
 || '''psycopg2''' || `2.0.7` ||
 || '''Genshi''' || `0.5.1` ||
 || '''jQuery:''' || `1.2.6` ||

 ==== Python Traceback ====
 {{{
 Traceback (most recent call last):
   File "/usr/local/lib/python2.5/site-
 packages/Trac-0.11.1-py2.5.egg/trac/web/main.py", line 423, in
 _dispatch_request
     dispatcher.dispatch(req)
   File "/usr/local/lib/python2.5/site-
 packages/Trac-0.11.1-py2.5.egg/trac/web/main.py", line 173, in dispatch
     chosen_handler)
   File "/usr/local/lib/python2.5/site-
 packages/Trac-0.11.1-py2.5.egg/trac/web/main.py", line 286, in
 _pre_process_request
     chosen_handler = filter_.pre_process_request(req, chosen_handler)
   File "build/bdist.linux-i686/egg/tracvote/__init__.py", line 121, in
 pre_process_request
   File "/usr/local/lib/python2.5/site-
 packages/Trac-0.11.1-py2.5.egg/trac/web/api.py", line 169, in __getattr__
     value = self.callbacks[name](self)
   File "/usr/local/lib/python2.5/site-
 packages/Trac-0.11.1-py2.5.egg/trac/web/main.py", line 254, in _get_perm
     return PermissionCache(self.env, self.authenticate(req))
   File "/usr/local/lib/python2.5/site-
 packages/Trac-0.11.1-py2.5.egg/trac/web/main.py", line 131, in
 authenticate
     authname = authenticator.authenticate(req)
   File "build/bdist.linux-i686/egg/acct_mgr/web_ui.py", line 487, in wrap
     return func(self, *args, **kwds)
   File "build/bdist.linux-i686/egg/acct_mgr/web_ui.py", line 498, in
 authenticate
     return auth.LoginModule.authenticate(self, req)
   File "/usr/local/lib/python2.5/site-
 packages/Trac-0.11.1-py2.5.egg/trac/web/auth.py", line 70, in authenticate
     authname = self._get_name_for_cookie(req, req.incookie['trac_auth'])
   File "/usr/local/lib/python2.5/site-
 packages/Trac-0.11.1-py2.5.egg/trac/web/auth.py", line 180, in
 _get_name_for_cookie
     db = self.env.get_db_cnx()
   File "/usr/local/lib/python2.5/site-
 packages/Trac-0.11.1-py2.5.egg/trac/env.py", line 257, in get_db_cnx
     return DatabaseManager(self).get_connection()
   File "/usr/local/lib/python2.5/site-
 packages/Trac-0.11.1-py2.5.egg/trac/db/api.py", line 76, in get_connection
     return self._cnx_pool.get_cnx(self.timeout or None)
   File "/usr/local/lib/python2.5/site-
 packages/Trac-0.11.1-py2.5.egg/trac/db/pool.py", line 109, in get_cnx
     % timeout)
 TimeoutError: Unable to get database connection within 20 seconds

 }}}

-- 
Ticket URL: <http://developer.pidgin.im/ticket/9641>
Pidgin <http://pidgin.im>
Pidgin


More information about the Tracker mailing list