Inspired by a script mentioned on, I wrote a ruby script that generates an RSS feed for all the Crash Reporter logs on your machine. Just create a New Special Subscription in NetNewsWire, point it at the script, and you’re all set.

10 Responses to “RSS feed for crash reports”
  1. Mitch Chapman says:

    Very nice! Thanks for sharing this.

  2. spiffy neat. definitly add this script as well. so much easier than trying to remember to look at all those places.

  3. I get this error:

    /usr/lib/ruby/1.8/date/format.rb:236:in `dup’: can’t dup NilClass (TypeError)
    from /usr/lib/ruby/1.8/date/format.rb:236:in `_parse’
    from /usr/lib/ruby/1.8/parsedate.rb:9:in `parsedate’
    from /usr/lib/ruby/1.8/time.rb:137:in `parse’
    from /Users/joseman/Prog/Scripts/showcrashreports.rb:38
    from /Users/joseman/Prog/Scripts/showcrashreports.rb:34:in `each’
    from /Users/joseman/Prog/Scripts/showcrashreports.rb:34
    from /Users/joseman/Prog/Scripts/showcrashreports.rb:30:in `each’
    from /Users/joseman/Prog/Scripts/showcrashreports.rb:30

  4. buscarini – Sounds like your crash log format is different than mine. What OS are you running? And could you possibly supply me with one of your crash reports so I could try and see what’s going on? You can email me at [].

  5. How do you make a Ruby script work with NetNewsWire? I gather it has to be executable (compiled?) but how do you make it executable? It seems like such a simple question, but I’ve been 100% unsuccessful in finding a simple answer.

  6. Kevin Ballard says:

    Doesn’t require any “compilation” (you can’t compile ruby scripts). In any case, to make it executable you open up, type `chmod a+x ` (without the backticks), and drag the script into the window. Then hit return.

  7. hi kevin can I use this script only with NetNewsWire ? what about other rss news readers ?

  8. You can use it with other newsreaders if they support executing shell scripts and interpreting the results as a feed. I don’t know offhand of any newsreaders but NNW that do it (but that’s because I don’t use any other newsreaders).

  9. Hi,

    if you are getting this error:

    /usr/lib/ruby/1.8/date/format.rb:236:in `dup’: can’t dup NilClass (TypeError)

    add this line:

    break unless scanner1

    at line 38, after the


    It will work around strange Crash reports like some generated by RubyCocoa apps, like

    I’ve sent this to Kevin, I’m posting here also so that Google can find it.

    Best regards,

  10. Ok,

    the last comment was messed up.

    The new line should be:

    break unless scanner [1]

    (remove the space between scanner and [)

    Best regards,