Unable to log in to Trac

Eric Gallager egall at gwmail.gwu.edu
Mon Nov 11 16:13:49 PST 2013


I wasn't even trying to log in, I was just refreshing the page, and got a
similar error:

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 140, in _cursor
    self.connection = Database.connect(**conn_params)
OperationalError: could not connect to server: Connection timed out
	Is the server running on host "data.macosforge.org" and accepting
	TCP/IP connections on port 9999?




On Mon, Nov 11, 2013 at 2:22 PM, Leo Singer <aronnax at macports.org> wrote:

> Hi,
>
> I am unable to log in to Trac right now. Upon logging in, I get the
> following Python traceback:
>
> 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
>
> Thanks,
> Leo Singer
> Graduate Student @ LIGO-Caltech
>
>
> Leo Singer
> Graduate Student @ LIGO-Caltech
> (w)626-395-8510
>
> _______________________________________________
> macports-dev mailing list
> macports-dev at lists.macosforge.org
> https://lists.macosforge.org/mailman/listinfo/macports-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-dev/attachments/20131111/13ec3d05/attachment.html>


More information about the macports-dev mailing list