Hoptoad appears to be throwing "TypeError (can't dump anonymous class Class):"

dave.myron's Avatar

dave.myron

04 Apr, 2009 07:26 AM via web

A similar issue was reported as Resolved here back in January: https://hoptoad.tenderapp.com/discussions/problems/23-typeerror-cant-dump-anonymous-class-class

I'm on Rails 2.3.3 and am getting the same error as previously reported.

  1. 2 Posted by oc on 05 Apr, 2009 05:40 PM

    oc's Avatar

    Yes... me too.. and data about exceptions is lost (no email and they don't appear in the webapp)

  2. 3 Posted by oc on 05 Apr, 2009 05:44 PM

    oc's Avatar

    ups... after updating the plugin, it seems to work!

  3. 4 Posted by tammersaleh on 07 Apr, 2009 05:16 PM

    tammersaleh's Avatar

    Hi Dave Myron,

    Can you ensure you're running the latest version of the notifier plugin?

    Thanks, Tammer

  4. 5 Posted by Jerry Cheung on 16 Apr, 2009 01:06 AM

    Jerry Cheung's Avatar

    I had the same issue. Our app uses the gem instead of having it installed in vendor/plugins. I tried updating the gem from github (newest 1.1), but that still had the error. When I tried cloning hoptoad_notifier to vendor/plugins, the error was resolved.

    Did you guys remember to bump the version number so that github rebuilds the gem?

  5. 6 Posted by lucidbleu on 12 May, 2009 01:43 PM

    lucidbleu's Avatar

    Are you guys not supporting the gem version anymore? I wanted to run this as a gem to keep my plugin directory clean and am getting this error because it is only at version 1.1 while the git repo is at 1.2. Like above if I install as a plugin everything works... rails 2.3.2.

  6. Support Staff 7 Posted by Matt Jankowski on 12 May, 2009 01:47 PM

    Matt Jankowski's Avatar

    We'd LIKE to move to gem-only support and scrap the plugin (so we can have version numbers visible on the FS, amongst other things), but there are still a few things in rails that plugins can do but gems can't (add to rails app rake tasks is a big one), so we can't do this yet.

    For now, installing the plugin is the official/correct way to use hoptoad.

  7. Matt Jankowski resolved this discussion on 12 May, 2009 01:47 PM.

Comments are currently closed for this discussion. You can start a new one.