[racket] PLaneT package for global error logging and suggestions (a la stackoverflow)
I've now released ErrRecorder as a PLaneT package.
http://li21-127.members.linode.com:8021/errrecorder
(soon to be just plain www.errrecorder.org)
ErrRecorder is a global database of error messages that allows users to suggest solutions to common errors. I've been running it on my lab machines locally for ~10 weeks of class, and we're up to about 13K error messages.
If you're interested in installing it, you need to require it (once):
(require (planet clements/errrecorder))
... and then restart DrRacket to see it take effect. For instance, try evaluating (/ 1 0) and then clicking on the magnifying glass icon.
If you have any interest in the tool, please let me know! Suggestions also greatly appreciated.
Finally: special thanks to Josh Robinson, the student that implemented it.
John Clements
Technical details:
This tool installs an error-display-handler that takes the first 200 chars of any error message and sends it to a single server. It then displays a magnifying glass next to the error message. Clicking this icon opens a browser window that searches for the given error is the database. The client-side is about 300 lines of racket, with no planet-requires.
The server uses the MongoDB database along with Jay McCarthy's mongodb package to log error messages, and to collect them into "groups" of similar-looking error messages. Its web interface allows users to suggest solutions to groups of problems. The server logs error strings and dates, but not IP addresses or any other identifiable user data.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4669 bytes
Desc: not available
URL: <http://lists.racket-lang.org/users/archive/attachments/20110204/34239748/attachment.p7s>