ruote log_2010-10-07

2010-10-07 08:42:33 utc kennethkalmer coffee ?
2010-10-07 08:42:38 utc kennethkalmer and greetings !
2010-10-07 08:43:01 utc jmettraux kennethkalmer: yes, please !
2010-10-07 08:43:02 utc jmettraux thanks
2010-10-07 08:43:40 utc kennethkalmer ACTION emits awesome espresso doppio
2010-10-07 08:43:54 utc jmettraux ACTION receives and consumes
2010-10-07 08:43:59 utc jmettraux :-)
2010-10-07 08:44:11 utc kennethkalmer thanks you both for the awesomeness that is ruote-kit !
2010-10-07 08:44:16 utc jmettraux I still have to release ruote-amqp and ruote-beanstalk
2010-10-07 08:44:22 utc jmettraux does it work well ?
2010-10-07 08:44:28 utc kennethkalmer updated yesterday to 2.1.11 and almost fell on my back :)
2010-10-07 08:44:31 utc kennethkalmer it is great
2010-10-07 08:44:49 utc jmettraux :-) wonderful news
2010-10-07 08:44:58 utc kennethkalmer just curious, having one issue with a participant using em-http
2010-10-07 08:45:07 utc jmettraux oh
2010-10-07 08:45:13 utc kennethkalmer seems em-http never makes the request
2010-10-07 08:45:28 utc kennethkalmer have you seen anything like it ?
2010-10-07 08:45:30 utc jmettraux lazy laddie
2010-10-07 08:45:47 utc jmettraux no, never seen anything like that
2010-10-07 08:45:55 utc jmettraux conflicting EMs ?
2010-10-07 08:46:09 utc kennethkalmer no, let me bounce it off you
2010-10-07 08:46:23 utc kennethkalmer first round I was using rk inside thin, and running a worker
2010-10-07 08:46:29 utc kennethkalmer em-http worked fine
2010-10-07 08:46:48 utc kennethkalmer now converted to using rk in passenger, and having a worker in a rake task
2010-10-07 08:47:02 utc kennethkalmer now em-http inside participants are not doing anything...
2010-10-07 08:47:06 utc kennethkalmer very peculiar
2010-10-07 08:47:30 utc jmettraux is the worker alive ?
2010-10-07 08:47:48 utc kennethkalmer oh yeah, debug shows the workitem is consumed by the participant too
2010-10-07 08:47:55 utc jmettraux ok
2010-10-07 08:48:11 utc kennethkalmer however, callback/errback never gets called and I can see the request is never made
2010-10-07 08:48:25 utc jmettraux is it a participant class or a block participant ?
2010-10-07 08:48:25 utc kennethkalmer even the timeout setting for em-http is not respected
2010-10-07 08:48:27 utc kennethkalmer class
2010-10-07 08:48:33 utc jmettraux weird
2010-10-07 08:48:38 utc kennethkalmer ACTION doesn't like block participants :)
2010-10-07 08:48:44 utc jmettraux :)
2010-10-07 08:49:03 utc jmettraux does an error pop up ?
2010-10-07 08:49:10 utc jmettraux a ruote process error ?
2010-10-07 08:49:13 utc kennethkalmer dead quiet
2010-10-07 08:49:26 utc kennethkalmer on ctrl+c to the worker the errback is called
2010-10-07 08:49:31 utc kennethkalmer so something deep inside EM
2010-10-07 08:49:38 utc kennethkalmer tried do_not_thread, same thing
2010-10-07 08:49:57 utc jmettraux would adding a rescue with so p add some verbosity to pinpoint the issue
2010-10-07 08:50:00 utc jmettraux ?
2010-10-07 08:50:22 utc kennethkalmer don't know, let me make a plain test app to show symptoms
2010-10-07 09:05:53 utc jmettraux kennethkalmer: em-http-request ?
2010-10-07 09:06:08 utc kennethkalmer yep, got sample done just pushing to github
2010-10-07 09:07:51 utc kennethkalmer http://github.com/kennethkalmer/rk-em-blues
2010-10-07 09:07:59 utc kennethkalmer so, rackup in one console
2010-10-07 09:08:02 utc kennethkalmer rake worker in another
2010-10-07 09:08:15 utc jmettraux ok
2010-10-07 09:08:29 utc kennethkalmer i'm running low on battery, will have to relocate to the office in 15 minutes or so
2010-10-07 09:08:52 utc jmettraux ok, I'll go home and jog in around 45 minutes
2010-10-07 09:09:05 utc kennethkalmer :)
2010-10-07 09:09:06 utc jmettraux in about
2010-10-07 09:09:47 utc jmettraux bundler is great in those ad-hoc cases
2010-10-07 09:09:58 utc jmettraux (it's always great)
2010-10-07 09:10:17 utc jmettraux which ruby should I use ?
2010-10-07 09:11:39 utc jmettraux kennethkalmer: which ruby should I use ?
2010-10-07 09:11:47 utc kennethkalmer 1.9.2
2010-10-07 09:12:04 utc kennethkalmer even now under thin it isn't spawing, hmmm
2010-10-07 09:12:37 utc jmettraux weird
2010-10-07 09:14:05 utc kennethkalmer nevermind, had a typo :/
2010-10-07 09:14:10 utc kennethkalmer testing for new push
2010-10-07 09:15:06 utc kennethkalmer great, just pushed new update
2010-10-07 09:15:17 utc kennethkalmer ok, so 'thin start' will show the participant working as expected
2010-10-07 09:15:28 utc kennethkalmer 'rackup' + 'rake worker' shows the issues
2010-10-07 09:17:19 utc jmettraux should I launch a workflow ?
2010-10-07 09:17:39 utc jmettraux aaah
2010-10-07 09:17:39 utc kennethkalmer yeah, from / it has one option
2010-10-07 09:17:41 utc kennethkalmer :)
2010-10-07 09:17:42 utc jmettraux "show blues"
2010-10-07 09:18:02 utc jmettraux ping requested on the worker
2010-10-07 09:18:13 utc jmettraux trying thin start and rackup -s thin
2010-10-07 09:18:52 utc jmettraux ping requested on the worker
2010-10-07 09:19:00 utc jmettraux was rackup -s thin
2010-10-07 09:19:06 utc jmettraux trying with thin start
2010-10-07 09:19:44 utc kennethkalmer i'll test with REE quickly
2010-10-07 09:20:05 utc jmettraux I'm sorry, but I have the same output on the worker each time (3 cases)
2010-10-07 09:20:44 utc kennethkalmer wow, that is strange, so the http callback is never completed by you ?
2010-10-07 09:20:50 utc jmettraux so I guess I have 3
2010-10-07 09:20:54 utc jmettraux failures
2010-10-07 09:21:07 utc jmettraux that's better than 3 successes though
2010-10-07 09:22:31 utc kennethkalmer if you stop the worker, and just run thin ? same issue ?
2010-10-07 09:22:49 utc jmettraux let me check
2010-10-07 09:23:07 utc jmettraux ping ok
2010-10-07 09:23:09 utc kennethkalmer thank you
2010-10-07 09:23:11 utc jmettraux great
2010-10-07 09:23:27 utc kennethkalmer wonder why the reactor is freaking out like this...
2010-10-07 09:23:38 utc kennethkalmer i'll test with em-dns as well
2010-10-07 09:23:46 utc kennethkalmer see if it is em itself, or em-http
2010-10-07 09:24:10 utc kennethkalmer cause the project I'm using this in uses plenty of em participants
2010-10-07 09:24:57 utc jmettraux could it be rk's run_worker ?
2010-10-07 09:25:23 utc jmettraux am I right when I say, the participant only works when the worker is inside of the engine ?
2010-10-07 09:25:44 utc kennethkalmer yes
2010-10-07 09:25:54 utc kennethkalmer however the participant always gets called
2010-10-07 09:26:02 utc jmettraux aah
2010-10-07 09:26:05 utc kennethkalmer so #consume is triggered
2010-10-07 09:26:20 utc kennethkalmer seems the reactor is not running correctly
2010-10-07 09:27:20 utc jmettraux what about trying to run some em-http request when staring the worker's EM in the Rakefile ?
2010-10-07 09:27:51 utc kennethkalmer works fine
2010-10-07 09:28:07 utc jmettraux ok
2010-10-07 09:29:04 utc kennethkalmer just push sample task 'em_test'
2010-10-07 09:29:25 utc kennethkalmer so on REE it shows the same symptons
2010-10-07 09:29:32 utc kennethkalmer thanks for checking my sanity
2010-10-07 09:29:39 utc kennethkalmer i'll debug at the office and let you know
2010-10-07 09:29:45 utc jmettraux ok
2010-10-07 09:29:45 utc kennethkalmer enjoy the jog !
2010-10-07 09:29:48 utc jmettraux glad to help
2010-10-07 09:29:50 utc jmettraux thanks !
2010-10-07 09:29:55 utc kennethkalmer regards to Yuki
2010-10-07 09:30:01 utc kennethkalmer ttyl !
2010-10-07 09:30:15 utc jmettraux :-)
2010-10-07 11:51:29 utc jmettraux kennethkalmer: how is it going ?
2010-10-07 11:51:50 utc kennethkalmer ok thanks, haven't had a chance to dig in again as I got sidetracked when I entered the office :/
2010-10-07 11:53:03 utc kennethkalmer had a good jog ?
2010-10-07 11:57:41 utc jmettraux yes, excellent, autumn is here, temperature is optimal
2010-10-07 11:59:58 utc kennethkalmer beautiful
2010-10-07 12:00:06 utc kennethkalmer we're dying of heat, rain is reluctant to come
2010-10-07 12:00:20 utc jmettraux ouch
2010-10-07 14:13:42 utc jmettraux kennethkalmer: how's the rain ?
2010-10-07 14:13:48 utc kennethkalmer beautiful
2010-10-07 14:14:27 utc jmettraux will you still be around in 30 minutes ? I need a critical eye on a piece of code
2010-10-07 14:20:22 utc kennethkalmer unfortunately not, i have to leave in 5 minutes
2010-10-07 14:20:37 utc kennethkalmer rain wil block up the roads, I can if you mail me look at it tonight
2010-10-07 14:20:40 utc kennethkalmer if that is ok ?
2010-10-07 14:21:18 utc jmettraux OK
2010-10-07 14:21:22 utc jmettraux thanks :-)
2010-10-07 14:21:48 utc kennethkalmer pleasure :)