Here's the trace back after making the suggested change:

Python Traceback
Most recent call last:
File "/usr/lib/python2.5/site-packages/Trac-0.11.4-py2.5.egg/trac/web/
main.py", line 435, in _dispatch_request
  dispatcher.dispatch(req)
File "/usr/lib/python2.5/site-packages/Trac-0.11.4-py2.5.egg/trac/web/
main.py", line 205, in dispatch
  resp = chosen_handler.process_request(req)
File "/usr/lib/python2.5/site-packages/agilo-0.7.3.3_r1417_20090313-
py2.5.egg/agilo/scrum/web_ui/backlog.py", line 237, in process_request
  backlog = self._load_backlog(req, data)
File "/usr/lib/python2.5/site-packages/agilo-0.7.3.3_r1417_20090313-
py2.5.egg/agilo/scrum/web_ui/backlog.py", line 318, in _load_backlog
  backlog = Backlog(self.env, backlog_name, scope=scope)
File "/usr/lib/python2.5/site-packages/agilo-0.7.3.3_r1417_20090313-
py2.5.egg/agilo/scrum/backlog.py", line 170, in __init__
  if not self._load(load):
File "/usr/lib/python2.5/site-packages/agilo-0.7.3.3_r1417_20090313-
py2.5.egg/agilo/scrum/backlog.py", line 778, in _load
  self._load_allowed_tickets(db)
File "/usr/lib/python2.5/site-packages/agilo-0.7.3.3_r1417_20090313-
py2.5.egg/agilo/scrum/backlog.py", line 684, in _load_allowed_tickets
  t, t_level = self._calculate_ticket_level(t, parents)
File "/usr/lib/python2.5/site-packages/agilo-0.7.3.3_r1417_20090313-
py2.5.egg/agilo/scrum/backlog.py", line 590, in
_calculate_ticket_level
  p, level = self._calculate_ticket_level(p, tickets_levels, level)

[HERE FOLLOWS HUNDREDS OF LINES LIKE THE ONE ABOVE]

...

[THEN CONTINUES WITH]

File "/usr/lib/python2.5/site-packages/agilo-0.7.3.3_r1417_20090313-
py2.5.egg/agilo/scrum/backlog.py", line 588, in
_calculate_ticket_level
  for p in ticket.get_incoming():
File "/usr/lib/python2.5/site-packages/agilo-0.7.3.3_r1417_20090313-
py2.5.egg/agilo/ticket/model.py", line 535, in get_incoming
  self._load_incoming_links(db=db)
File "/usr/lib/python2.5/site-packages/agilo-0.7.3.3_r1417_20090313-
py2.5.egg/agilo/ticket/model.py", line 854, in _load_incoming_links
  self._incoming[t_id] = AgiloTicket(self.env, t_id)
File "/usr/lib/python2.5/site-packages/agilo-0.7.3.3_r1417_20090313-
py2.5.egg/agilo/ticket/model.py", line 87, in __init__
  self._fetch_ticket(tkt_id, db=db, t_type=t_type)
File "/usr/lib/python2.5/site-packages/agilo-0.7.3.3_r1417_20090313-
py2.5.egg/agilo/ticket/model.py", line 107, in _fetch_ticket
  t_type = self._get_type(tkt_id, db)
File "/usr/lib/python2.5/site-packages/agilo-0.7.3.3_r1417_20090313-
py2.5.egg/agilo/ticket/model.py", line 753, in _get_type
  db, handle_ta = self._get_db_for_write(db)
File "/usr/lib/python2.5/site-packages/Trac-0.11.4-py2.5.egg/trac/
ticket/model.py", line 60, in _get_db_for_write
  return (self.env.get_db_cnx(), True)
File "/usr/lib/python2.5/site-packages/Trac-0.11.4-py2.5.egg/trac/
env.py", line 273, in get_db_cnx
  return DatabaseManager(self).get_connection()
File "/usr/lib/python2.5/site-packages/Trac-0.11.4-py2.5.egg/trac/db/
api.py", line 76, in get_connection
  return self._cnx_pool.get_cnx(self.timeout or None)
File "/usr/lib/python2.5/site-packages/Trac-0.11.4-py2.5.egg/trac/
config.py", line 409, in __get__
  value = self.accessor(section, self.name, self.default)
File "/usr/lib/python2.5/site-packages/Trac-0.11.4-py2.5.egg/trac/
config.py", line 314, in getint
  value = self.get(name, default)
File "/usr/lib/python2.5/site-packages/Trac-0.11.4-py2.5.egg/trac/
config.py", line 276, in get
  if self.config.parser.has_option(self.name, name):
File "/usr/lib/python2.5/ConfigParser.py", line 340, in has_option
  if not section or section == DEFAULTSECT:

[END]

[SYSTEM INFORMATION]
Trac:   0.11.4
Python:         2.5.2 (r252:60911, Jul 31 2008, 17:44:49) [GCC 4.2.3 (Ubuntu
4.2.3-2ubuntu7)]
setuptools:     0.6c8
SQLite:         3.4.2
pysqlite:       2.4.0
Genshi:         0.5.1
mod_python:     3.3.1
Agilo:  0.7.3.3-r1417-20090313
Subversion:     1.4.6 (r28521)
jQuery: 1.2.6

On May 15, 1:46 am, Felix Schwarz <[email protected]> wrote:
> marten schrieb:
>
> > - agilo 0.7.3.3-r1417-20090313
> > - 75 tickets
>
> Looks good to me.
>
> > I don't see a traceback as admin. How do I switch to simple view?
>
> Normally the error page says something like this at the top:
> "Trac detected an internal error: ..."
>
> Then there is the
> "Python Traceback
> Most recent call last: "
>
> Below you find the button:
> 'Switch to plain text view'
>
> If you click that you get a traceback which is more usable for use.
>
> However I think in your special case we mask the real error in our code
> by a TracError which does not return the traceback. For better
> diagnostics, you can replace one line in agilo/scrum/backlog.py, line 879:
> except Exception, e:
>      error(self, str(e))
>      if handle_ta:
>          db.rollback()
>      raise TracError(_("An error occurred while loading Backlog data:
> %s" % str(e)))
>
> Replace the line 'raise TracError(_(...' just with a 'raise' (be careful
> to use spaces for indentation). After that the problem should be more
> obvious in the traceback.
>
> fs
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Agilo for Scrum" group. This group is moderated by agile42 GmbH 
http://www.agile42.com and is focused in supporting Agilo for Scrum users.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/agilo?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to