Codebrowse web-ui should generate OOPS messages

Bug #109948 reported by Tom Haddon
This bug report is a duplicate of:  Bug #84838: code browser should use oops system. Edit Remove
2
Affects Status Importance Assigned to Milestone
Launchpad itself
New
Undecided
Unassigned

Bug Description

Noticed the following in the debug.log for codebrowse.

INF [20070425-13:22:28.525] launchpad_loggerhead: Getting branch for ~bugsquad/bughelper/bughelper.main
INF [20070425-13:22:28.525] cherrypy.msg: HTTP: Page handler: <bound method AtomUI.default of <loggerhead.controllers
.atom_ui.AtomUI object at 0x44da42ec>>
Traceback (most recent call last):
  File "/srv/codebrowse.launchpad.net/turbogears/lib/python2.4/site-packages/CherryPy-2.2.1-py2.4.egg/cherrypy/_cphtt
ptools.py", line 105, in _run
    self.main()
  File "/srv/codebrowse.launchpad.net/turbogears/lib/python2.4/site-packages/CherryPy-2.2.1-py2.4.egg/cherrypy/_cphtt
ptools.py", line 254, in main
    body = page_handler(*virtual_path, **self.params)
  File "<string>", line 3, in default
  File "/srv/codebrowse.launchpad.net/turbogears/lib/python2.4/site-packages/TurboGears-1.0.1-py2.4.egg/turbogears/co
ntrollers.py", line 334, in expose
    output = database.run_with_transaction(
  File "<string>", line 5, in run_with_transaction
  File "/srv/codebrowse.launchpad.net/turbogears/lib/python2.4/site-packages/TurboGears-1.0.1-py2.4.egg/turbogears/da
tabase.py", line 302, in so_rwt
    retval = func(*args, **kw)
  File "<string>", line 5, in _expose
  File "/srv/codebrowse.launchpad.net/turbogears/lib/python2.4/site-packages/TurboGears-1.0.1-py2.4.egg/turbogears/co
ntrollers.py", line 351, in <lambda>
    mapping, fragment, args, kw)))
  File "/srv/codebrowse.launchpad.net/turbogears/lib/python2.4/site-packages/TurboGears-1.0.1-py2.4.egg/turbogears/co
ntrollers.py", line 378, in _execute_func
    output = errorhandling.try_call(func, *args, **kw)
  File "/srv/codebrowse.launchpad.net/turbogears/lib/python2.4/site-packages/TurboGears-1.0.1-py2.4.egg/turbogears/er
rorhandling.py", line 73, in try_call
    return func(self, *args, **kw)
  File "/srv/codebrowse.launchpad.net/launchpad-loggerhead/loggerhead/controllers/atom_ui.py", line 39, in default
    entries = list(h.get_changes(list(revid_list)[:pagesize]))
  File "/srv/codebrowse.launchpad.net/launchpad-loggerhead/loggerhead/util.py", line 334, in locked
    return unbound(self, *args, **kw)
  File "/srv/codebrowse.launchpad.net/launchpad-loggerhead/loggerhead/history.py", line 596, in get_changes
    changes = self._change_cache.get_changes(revid_list, get_diffs)
  File "/srv/codebrowse.launchpad.net/launchpad-loggerhead/loggerhead/util.py", line 334, in locked
    return unbound(self, *args, **kw)
  File "/srv/codebrowse.launchpad.net/launchpad-loggerhead/loggerhead/changecache.py", line 112, in get_changes
    cache[sfetch_list.pop(0)] = out[i] = changes.pop(0)
  File "/usr/lib/python2.4/shelve.py", line 130, in __setitem__
    self.dict[key] = f.getvalue()
  File "/usr/lib/python2.4/bsddb/__init__.py", line 224, in __setitem__
    self.db[key] = value
DBRunRecoveryError: (-30977, 'DB_RUNRECOVERY: Fatal error, run database recovery -- PANIC: Invalid argument')

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.