[Bug 827074] [NEW] could use python-oops to record errors

Martin Pool mbp at canonical.com
Tue Aug 16 02:44:44 UTC 2011


Public bug reported:

It might be useful if the udd importer unified its error tracking code
with https://launchpad.net/python-oops; that would be a good foundation
for capturing more information (like local variables or a timeline.)

12:40
lifeless: poolie: you should be able to configure and publish an oops from that system now, with lp:python-oops and lp:python-oops-datedir-repo
lifeless: config = oops.Config()
lifeless: repo = oops_datedir_repo.DateDirRepo('/where/the/oopses/go', 'packageimporter')
poolie: nice
lifeless: report = config.create()
lifeless: # flesh it out
lifeless: config.publish(report)
lifeless: # bah I forgot a step - 
lifeless: config.publishers.append(repo.publish)

** Affects: udd
     Importance: Medium
         Status: Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Distributed Development Developers, which is subscribed to Ubuntu
Distributed Development.
https://bugs.launchpad.net/bugs/827074

Title:
  could use python-oops to record errors

To manage notifications about this bug go to:
https://bugs.launchpad.net/udd/+bug/827074/+subscriptions



More information about the technical-board mailing list