hoptoad integration

10 views
Skip to first unread message

John Merrells

unread,
Apr 12, 2010, 1:30:52 PM4/12/10
to Daemon Kit

Is the daemon-kit gem out of date wrt the hoptoad api?

John

safety.rb:52: Safety net caught exception: divided by 0
safety.rb:53: Backtrace: /Users/john/jj/thumbnailer/libexec/thumbnailer-daemon.rb:32:in `/'
/Users/john/jj/thumbnailer/libexec/thumbnailer-daemon.rb:32
/usr/local/lib/ruby/gems/1.8/gems/daemon-kit-0.1.7.12/lib/daemon_kit/safety.rb:49:in `call'
/usr/local/lib/ruby/gems/1.8/gems/daemon-kit-0.1.7.12/lib/daemon_kit/safety.rb:49:in `run'
/usr/local/lib/ruby/gems/1.8/gems/daemon-kit-0.1.7.12/lib/daemon_kit/safety.rb:30:in `run'
/usr/local/lib/ruby/gems/1.8/gems/daemon-kit-0.1.7.12/lib/daemon_kit/safety.rb:78:in `safely'
/Users/john/jj/thumbnailer/libexec/thumbnailer-daemon.rb:30
/usr/local/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/em/deferrable.rb:134:in `call'
/usr/local/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/em/deferrable.rb:134:in `set_deferred_status'
/usr/local/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/em/deferrable.rb:173:in `succeed'
/usr/local/lib/ruby/gems/1.8/gems/amqp-0.6.7/lib/amqp/client.rb:36:in `process_frame'
/usr/local/lib/ruby/gems/1.8/gems/amqp-0.6.7/lib/amqp/client.rb:117:in `receive_data'
/usr/local/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/eventmachine.rb:256:in `run_machine'
/usr/local/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/eventmachine.rb:256:in `run'
/usr/local/lib/ruby/gems/1.8/gems/amqp-0.6.7/lib/amqp.rb:79:in `start'
/usr/local/lib/ruby/gems/1.8/gems/daemon-kit-0.1.7.12/lib/daemon_kit/amqp.rb:35:in `run'
/usr/local/lib/ruby/gems/1.8/gems/daemon-kit-0.1.7.12/lib/daemon_kit/amqp.rb:20:in `run'
/Users/john/jj/thumbnailer/libexec/thumbnailer-daemon.rb:22
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
/usr/local/lib/ruby/gems/1.8/gems/daemon-kit-0.1.7.12/lib/daemon_kit/application.rb:38:in `run'
/usr/local/lib/ruby/gems/1.8/gems/daemon-kit-0.1.7.12/lib/daemon_kit/application.rb:21:in `exec'
bin/thumbnailer:7
hoptoad.rb:31: Hoptoad Failure: Net::HTTPGone
You are using a deprecated version of the Hoptoad API. Your error was not logged. Please upgrade your application to use the latest plugin that supports the current API.

Kenneth Kalmer

unread,
Apr 13, 2010, 4:28:42 PM4/13/10
to daemo...@googlegroups.com
On Mon, Apr 12, 2010 at 7:30 PM, John Merrells <merr...@gmail.com> wrote:
>
> Is the daemon-kit gem out of date wrt the hoptoad api?

Most definitely, and it has bitten me in the past and Josh Owens had
my back that time.

I took a stab at fixing it (albeit without testing it) and pushed the
changes up another branch [1] for you to test, if you don't mind.

Kind regards

[1] - http://github.com/kennethkalmer/daemon-kit/commit/fd5e48e6459dc0bdbd1e1f02bf9f6c81d628b379


--
Kenneth Kalmer
kenneth...@gmail.com
http://opensourcery.co.za
@kennethkalmer

John Merrells

unread,
Apr 13, 2010, 6:32:41 PM4/13/10
to daemo...@googlegroups.com

ok - will test it. probably tomorrow though.

john

> --
> You received this message because you are subscribed to the Google Groups "Daemon Kit" group.
> To post to this group, send email to daemo...@googlegroups.com.
> To unsubscribe from this group, send email to daemon-kit+...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/daemon-kit?hl=en.
>

Kenneth Kalmer

unread,
Apr 14, 2010, 5:39:12 PM4/14/10
to daemo...@googlegroups.com
Just pushed a fix to github and merged to master, it was horribly broken.

Best

Reply all
Reply to author
Forward
0 new messages