Phil also reported on a package his company plans to release next week, called "mongoose".
The role of Mongoose is to provide a framework for to cleanly catch and report otherwise uncaught exceptions in distributed python applications.
Mongoose will provide a much less intimidating error message than a stack trace (or, under wxPython, an app that suddenly vanishes). Bundled reporting styles include summary and detailed log files, email, and wxPython alerts. They looked very clean in the demo.
Perhaps the most interesting part of the package is that Mongoose creates an ID for each exception, similar to the Talkback ID from Mozilla builds. This ID is a short (5 digit?) hash of the method signatures in the stack trace. This means the ID should be unique to the call stack at time of exception. (By not using file or line numbers in the hash, the IDs should remain constant across product versions.)
The short ID can be easily communicated over the phone to tech support, or be used as a lookup key for user self support. (After the problem is found and a work around created the first time...)
While, in an ideal world, there would be no uncaught exceptions, Mongoose promises to ease support issues for early releases and products which rely on 3rd party libraries.
|