Transient problems with MacPorts Trac

Rainer Müller raimue at macports.org
Mon Mar 23 14:51:34 PDT 2015


Hello Mac OS Forge admins,

I am forwarding the inquiry below to you. Could you please look into it?

Another report also noted that new commits to the Subversion repository
are not being imported to Trac, the last one was r134330:
http://trac.macports.org/log

Shree is no longer our point of contact for issues. Please use the
generic admin address of Mac OS Forge instead.

Rainer

On 2015-03-23 13:44, Clemens Lang wrote:
> Hi Shree,
> 
> I'm seeing database connection problems with trac on every second
> or so page load. When logged in, I see a python stack trace:
> 
> Traceback (most recent call last):
>   File "/usr/lib/python2.6/site-packages/trac/web/api.py", line 441, in send_error
>     data, 'text/html')
>   File "/usr/lib/python2.6/site-packages/trac/web/chrome.py", line 828, in render_template
>     message = req.session.pop('chrome.%s.%d' % (type_, i))
>   File "/usr/lib/python2.6/site-packages/trac/web/api.py", line 216, in __getattr__
>     value = self.callbacks[name](self)
>   File "/usr/lib/python2.6/site-packages/trac/web/main.py", line 309, in _get_session
>     return Session(self.env, req)
>   File "/usr/lib/python2.6/site-packages/trac/web/session.py", line 201, in __init__
>     if req.authname == 'anonymous':
>   File "/usr/lib/python2.6/site-packages/trac/web/api.py", line 216, in __getattr__
>     value = self.callbacks[name](self)
>   File "/usr/lib/python2.6/site-packages/trac/web/main.py", line 168, in authenticate
>     authname = authenticator.authenticate(req)
>   File "/usr/lib/python2.6/site-packages/IgneousAuthenticationModule-2.0-py2.6.egg/igneousauth/auth.py", line 34, in authenticate
>     s = Session.objects.get(pk=fid)
>   File "/usr/lib/python2.6/site-packages/django/db/models/manager.py", line 132, in get
>     return self.get_query_set().get(*args, **kwargs)
>   File "/usr/lib/python2.6/site-packages/django/db/models/query.py", line 344, in get
>     num = len(clone)
>   File "/usr/lib/python2.6/site-packages/django/db/models/query.py", line 82, in __len__
>     self._result_cache = list(self.iterator())
>   File "/usr/lib/python2.6/site-packages/django/db/models/query.py", line 273, in iterator
>     for row in compiler.results_iter():
>   File "/usr/lib/python2.6/site-packages/django/db/models/sql/compiler.py", line 680, in results_iter
>     for rows in self.execute_sql(MULTI):
>   File "/usr/lib/python2.6/site-packages/django/db/models/sql/compiler.py", line 734, in execute_sql
>     cursor = self.connection.cursor()
>   File "/usr/lib/python2.6/site-packages/django/db/backends/__init__.py", line 252, in cursor
>     cursor = util.CursorWrapper(self._cursor(), self)
>   File "/usr/lib/python2.6/site-packages/django/db/backends/postgresql_psycopg2/base.py", line 144, in _cursor
>     cursor = self.connection.cursor()
> InterfaceError: connection already closed
> 
> Can you take a look?
> 



More information about the macports-dev mailing list