| 2011-05-26 03:05:52 utc | kitplummer | ok…i'm digging ruote. |
| 2011-05-26 03:06:22 utc | kitplummer | and am thinking that the ruote-amqp path is looking good. |
| 2011-05-26 03:06:35 utc | jmettraux | great |
| 2011-05-26 03:06:51 utc | jmettraux | thanks for the resque-workflow pointer |
| 2011-05-26 03:07:46 utc | kitplummer | doesn't look like much is happening there…at least not enough for me to pick it up and run. |
| 2011-05-26 03:09:02 utc | jmettraux | and it's only state machine |
| 2011-05-26 03:13:51 utc | kitplummer | true. |
| 2011-05-26 03:14:32 utc | kitplummer | i like resque, a lot - but think that having a broker versus db/queue will help me out in the long run anyway. |
| 2011-05-26 06:42:07 utc | kitplummer | am trying to follow this tutorial: http://simplic.it/blog/an-investigiation-into-ruote-and-amqp |
| 2011-05-26 06:43:05 utc | kitplummer | RuoteAMQP::Participant is deprecated. |
| 2011-05-26 06:43:13 utc | kitplummer | do i replace with RuoteAMQP::ParticipantProxy |
| 2011-05-26 06:43:21 utc | jmettraux | yes |
| 2011-05-26 06:43:25 utc | jmettraux | sorry meeting, have to go |
| 2011-05-26 06:43:37 utc | kitplummer | no worries. |
| 2011-05-26 06:44:16 utc | kitplummer | so, is this statement in the def correct: ping :command => "/ping/ping", :reply_queue => "ruote_workitems" ? |
| 2011-05-26 07:01:04 utc | jmettraux | back |
| 2011-05-26 07:01:33 utc | jmettraux | kitplummer: it should work |
| 2011-05-26 07:03:07 utc | kitplummer | hmmn. doesn't like that line. |
| 2011-05-26 07:03:16 utc | jmettraux | what does it say ? |
| 2011-05-26 07:04:29 utc | kitplummer | goes right into the :on_error defined |
| 2011-05-26 07:05:20 utc | jmettraux | ok, please remove the :on => 'shout' and try again |
| 2011-05-26 07:05:46 utc | jmettraux | also add a engine.noisy = true right before the first engine.register... |
| 2011-05-26 07:06:11 utc | jmettraux | it should spit yellow at the stdout with, hopefully, the backtrace of the issue |
| 2011-05-26 07:06:40 utc | kitplummer | yeh, see a NoMethodError. |
| 2011-05-26 07:07:02 utc | jmettraux | what's the error message ? |
| 2011-05-26 07:09:06 utc | kitplummer | here's the stack. it's in the amqp gem i guess: https://gist.github.com/992693 |
| 2011-05-26 07:10:14 utc | jmettraux | are you grabbing amqp from https://github.com/tmm1/amqp ? |
| 2011-05-26 07:10:37 utc | kitplummer | yes. |
| 2011-05-26 07:11:46 utc | kitplummer | works with 0.7.0 |
| 2011-05-26 07:12:25 utc | jmettraux | great |
| 2011-05-26 07:12:45 utc | jmettraux | the ruote-amqp.gemspec says 'amqp', '~> 0.7.0' |
| 2011-05-26 07:13:26 utc | kitplummer | :) |
| 2011-05-26 07:14:05 utc | kitplummer | well, the first ping was processed, but then it sits. mo investigation. thanks |
| 2011-05-26 07:14:57 utc | jmettraux | does it work with 0.7.1 ? |
| 2011-05-26 07:16:14 utc | kitplummer | *looking* |
| 2011-05-26 07:23:49 utc | kitplummer | bundler won't let me 'bundle update amqp' because of the ruote-amqp dependency |
| 2011-05-26 07:25:09 utc | jmettraux | it forces you to use 0.7.0 ? |
| 2011-05-26 07:25:23 utc | kitplummer | yeh. |
| 2011-05-26 07:25:43 utc | jmettraux | how did you force "master" before ? |
| 2011-05-26 07:26:47 utc | kitplummer | it was pointing to the git repo. |
| 2011-05-26 07:27:15 utc | kitplummer | i did specify the ruote and ruote-amqp versions as 2.2.0 |
| 2011-05-26 07:28:07 utc | jmettraux | argh, there is no tags at https://github.com/tmm1/amqp :-( |
| 2011-05-26 07:28:15 utc | kitplummer | nope. |
| 2011-05-26 07:32:13 utc | jmettraux | s/is/are/ |
| 2011-05-26 07:34:27 utc | jmettraux | hartog: hello |
| 2011-05-26 07:34:41 utc | hartog | hai! |
| 2011-05-26 07:34:50 utc | jmettraux | how are you doing ? |
| 2011-05-26 07:35:17 utc | hartog | wrestling with a huge rodent and a warden |
| 2011-05-26 07:35:24 utc | hartog | :-D |
| 2011-05-26 07:35:26 utc | jmettraux | whoah |
| 2011-05-26 07:35:53 utc | jmettraux | I was wondering if I could ask for an amendment to http://simplic.it/blog/an-investigiation-into-ruote-and-amqp |
| 2011-05-26 07:36:01 utc | hartog | trying do integration testing with capybara on a devise protected rails app |
| 2011-05-26 07:36:07 utc | hartog | you can always ask... |
| 2011-05-26 07:36:27 utc | hartog | but my rodent is fenced of by the warden |
| 2011-05-26 07:36:35 utc | jmettraux | it became a bit outdated |
| 2011-05-26 07:36:52 utc | hartog | molded seems more appropriate :-) |
| 2011-05-26 07:36:57 utc | jmettraux | better fenced off than open house I guess |
| 2011-05-26 07:36:58 utc | jmettraux | lol |
| 2011-05-26 07:37:30 utc | hartog | yes, but not when I tell devise - let me in (at least the documentation says I did that) |
| 2011-05-26 07:37:49 utc | hartog | I could do a rewrite of that for sure |
| 2011-05-26 07:37:54 utc | jmettraux | I guess it's better if I re-package your example, integrate it in ruote-amqp and then ask you to point to it |
| 2011-05-26 07:38:03 utc | kitplummer | jmettraux: yeh - there are a few updates required. i don't think the first ping ever returns. |
| 2011-05-26 07:38:04 utc | jmettraux | I don't want to bother you too much with that |
| 2011-05-26 07:38:22 utc | jmettraux | ok |
| 2011-05-26 07:38:40 utc | hartog | make it happen :-) |
| 2011-05-26 07:38:59 utc | jmettraux | ok, added that to my list of tasks |
| 2011-05-26 07:39:09 utc | hartog | I might also write a new blog post on the matter - have been toying a lot with ruote and amqp lately |
| 2011-05-26 07:39:18 utc | hartog | although not in conjuction |
| 2011-05-26 07:39:29 utc | jmettraux | ah cool |
| 2011-05-26 07:40:04 utc | jmettraux | I guess it's better if I integrate the example with ruote-amqp, so it can be adapted as the project evolves |
| 2011-05-26 07:40:09 utc | kitplummer | i sure would appreciate shared knowledge. :P |
| 2011-05-26 07:40:14 utc | jmettraux | new blog post ftw |
| 2011-05-26 07:40:48 utc | hartog | ACTION jots something on sideline off the over cramped todo list |
| 2011-05-26 07:40:52 utc | hartog | ;-) |
| 2011-05-26 08:04:06 utc | kitplummer | hmmn, the engine doesn't appear to get the reply. |
| 2011-05-26 08:04:17 utc | jmettraux | still the pong example ? |
| 2011-05-26 08:04:32 utc | kitplummer | yep, stuck on ping. :) |
| 2011-05-26 08:04:52 utc | jmettraux | ok, let me try to renovate the example |
| 2011-05-26 08:06:17 utc | kitplummer | i've read through the ruote-amqp code…i think i'm set up correctly. |
| 2011-05-26 08:11:04 utc | jmettraux | hartog: the easiest thing is probably I fork your https://github.com/coffeeaddict/ruote-amqp-ping-pong and then submit you pull requests, wdyt ? |
| 2011-05-26 08:11:43 utc | hartog | could be |
| 2011-05-26 08:11:55 utc | hartog | im still not fully sure what you are up 2 :-) |
| 2011-05-26 08:12:07 utc | jmettraux | ah sorry |
| 2011-05-26 08:12:22 utc | kitplummer | ha! i just realized it is your post, hartog, that i'm trudging through. cheers mate. |
| 2011-05-26 08:12:29 utc | hartog | :-D |
| 2011-05-26 08:13:04 utc | hartog | kitplummer: as noted before, it is not just outdated - it is covered with rust and mold |
| 2011-05-26 08:13:06 utc | jmettraux | your example is pointing to amqp master and ruote 2.1.x and this is failing |
| 2011-05-26 08:14:04 utc | kitplummer | i've updated my Gemfile, which gets it to run…but, i don't think the ping-reply is received by the engine. |
| 2011-05-26 08:14:26 utc | kitplummer | had to refactor Participant into ParticipantProxy too. |
| 2011-05-26 08:14:35 utc | hartog | It took me a while to figure out how to catch the replies |
| 2011-05-26 08:15:09 utc | hartog | I think I noted that ruote-amqp now has better definitions for reply queues now - but am not quite sure |
| 2011-05-26 08:16:30 utc | hartog | jmettraux: fixing my repo seems best indeed - would love to help out, but these rodents and wardens are getting pretty anoying! |
| 2011-05-26 08:16:53 utc | jmettraux | hartog: no worries, I have some spare cycles |
| 2011-05-26 08:18:59 utc | kitplummer | well thanks again for the help. i'll be back at it in the am. |
| 2011-05-26 08:19:05 utc | jmettraux | ok |
| 2011-05-26 08:19:19 utc | jmettraux | please watch https://github.com/coffeeaddict/ruote-amqp-ping-pong (or my fork) |
| 2011-05-26 08:19:36 utc | jmettraux | trying to make it work with ruote master and amqp 0.7.0 or 0.7.1 |
| 2011-05-26 08:19:45 utc | jmettraux | have a good rest |
| 2011-05-26 08:31:44 utc | jmettraux | AMQP changed quite a bit from 0.7.0 to 0.7.1 |
| 2011-05-26 08:32:42 utc | hartog | it did (for the better imho) |
| 2011-05-26 08:32:48 utc | jmettraux | great |
| 2011-05-26 08:33:05 utc | jmettraux | sweating for the better right now then |
| 2011-05-26 08:46:08 utc | jmettraux | well, 0.7.1's doc is off, I'll wait 0.8.0 to upgrade |
| 2011-05-26 08:46:15 utc | jmettraux | falling back to amqp 0.7.0 |
| 2011-05-26 11:57:14 utc | jmettraux | weird, I guess I'm stuck at the same point than kitplummer |
| 2011-05-26 11:57:32 utc | jmettraux | the ping receives the workitem, does something with it, replaces it on ruote_workitems |
| 2011-05-26 11:57:41 utc | jmettraux | and the engine's receiver sees nothing |
| 2011-05-26 12:03:49 utc | jmettraux | pushed the update anyway https://github.com/jmettraux/ruote-amqp-ping-pong/commit/95ec0cffc621552b80cb9b29435695c7a56a5dc6 |
| 2011-05-26 12:10:03 utc | jmettraux | tosch_le: http://s3.amazonaws.com/data.tumblr.com/tumblr_lcgdxdJa1h1qz6f9yo1_1280.jpg?AWSAccessKeyId=AKIAJ6IHWSU3BX3X7X3Q&Expires=1306496108&Signature=jXdbZzBKklcxxWbtX%2BqrGyEpIsE%3D |
| 2011-05-26 12:13:08 utc | tosch_le | rofl |
| 2011-05-26 12:42:49 utc | jmettraux | crying for help on the ML : http://groups.google.com/group/openwferu-users/browse_thread/thread/f7a8138e987867a3 |
| 2011-05-26 23:08:03 utc | kitplummer | anyone comment on ruote running from within jruby? caveats? |
| 2011-05-26 23:08:55 utc | jmettraux | Mario Camou does it, he fixed an issue about it yesterday or the day before |
| 2011-05-26 23:09:39 utc | jmettraux | for the CI I run against 1.8.7 p249 and 1.9.2 p190, there were a few issues with JRuby, 1.5.x IIIRC, but generally it works |
| 2011-05-26 23:11:03 utc | kitplummer | sweet. i'm not too concerned about load per se, just was a general question. |
| 2011-05-26 23:12:25 utc | jmettraux | I just dug up the issue description (the 1.5.x issue), I got it fixed recently (it appeared as well on 1.9.2) |
| 2011-05-26 23:44:48 utc | jmettraux | for the record https://github.com/jmettraux/ruote/commit/c3bdb9482abecd221d9da7f21b9dc73f5c07d528 |
| 2011-05-26 23:46:27 utc | kitplummer | i believed you. :) |
| 2011-05-26 23:47:12 utc | jmettraux | it's more for ruote_logger ;-) |