2010-12-20 07:38:23 utc |
tosch_le |
hello! i'm back in the office :-) |
2010-12-20 07:38:42 utc |
jmettraux |
tosch_le: hello, new office ? |
2010-12-20 07:38:56 utc |
tosch_le |
no, not yet. |
2010-12-20 07:39:23 utc |
tosch_le |
that'll have to wait till february. |
2010-12-20 07:39:38 utc |
jmettraux |
congrats anyway ! |
2010-12-20 07:39:58 utc |
tosch_le |
thanks! |
2010-12-20 07:52:02 utc |
jmettraux |
brook: welcome to #ruote |
2010-12-20 07:53:00 utc |
brook |
jmettraux: thanks, I'm not ware of that there is someone alive. |
2010-12-20 07:53:26 utc |
jmettraux |
brook: you're welcome, I'm alive |
2010-12-20 07:53:52 utc |
tosch_le |
I'm alive, too. Again, I've got to say. |
2010-12-20 07:53:59 utc |
brook |
I have a question about ruote-kit, I'm expecting some one here could help me. |
2010-12-20 07:54:07 utc |
jmettraux |
tosch_le: with the help of @geometron, I'm upgrading the ruote website |
2010-12-20 07:55:03 utc |
jmettraux |
brook: please fire your question |
2010-12-20 07:55:12 utc |
tosch_le |
looks promising. i told you, i like the new logo |
2010-12-20 07:55:53 utc |
brook |
I started it by using rackup, then I can access http://localhost:9292/_ruote/processes/new to launch a process. |
2010-12-20 07:56:16 utc |
brook |
but the process seems never been executed, what's the problem? |
2010-12-20 07:56:25 utc |
tosch_le |
no running worker |
2010-12-20 07:56:53 utc |
brook |
I use the super-vanilla configuration, that's the config.ru from github. |
2010-12-20 07:57:35 utc |
jmettraux |
is there an error appearing under /errors ? |
2010-12-20 07:57:58 utc |
tosch_le |
the one at https://github.com/tosch/ruote-kit/blob/master/config.ru ? |
2010-12-20 07:58:12 utc |
tosch_le |
that one should start a worker |
2010-12-20 07:58:51 utc |
brook |
no error, and I can see the process from http://localhost:9292/_ruote/processes?limit=100&skip=0 |
2010-12-20 07:59:02 utc |
jmettraux |
so it's working |
2010-12-20 07:59:32 utc |
brook |
tosch_le: yes |
2010-12-20 08:00:02 utc |
tosch_le |
if you see the process, it's running. |
2010-12-20 08:00:10 utc |
brook |
but I can't see the change I made for the workitem. |
2010-12-20 08:01:25 utc |
tosch_le |
how did you do the change? |
2010-12-20 08:01:47 utc |
brook |
Please see the participant I added in config.ru. |
2010-12-20 08:01:54 utc |
tosch_le |
how does your process definition look like? |
2010-12-20 08:02:05 utc |
tosch_le |
where can i see your config.ru? |
2010-12-20 08:02:51 utc |
brook |
http://pastebin.com/jV61xKnS |
2010-12-20 08:03:28 utc |
brook |
see http://pastebin.com/m8x9vKM3 for process definition |
2010-12-20 08:08:49 utc |
brook |
tosch_le: seen it? |
2010-12-20 08:10:59 utc |
tosch_le |
brook: yes, seen it. |
2010-12-20 08:11:35 utc |
tosch_le |
it's strange you don't see an error at /_ruote/errors but a process at the processes list |
2010-12-20 08:11:49 utc |
tosch_le |
you processes should finish immediately after launch |
2010-12-20 08:12:03 utc |
tosch_le |
s/you/your/ |
2010-12-20 08:13:36 utc |
brook |
yes, it should, Does `processes` list all done processes or all pending processes? |
2010-12-20 08:14:00 utc |
tosch_le |
some general advice: it's better (more portable) to not use the block participant. also, reply_to_engine is not necessary within block participants |
2010-12-20 08:14:09 utc |
tosch_le |
all pending processes |
2010-12-20 08:14:43 utc |
tosch_le |
the engine itself does not hold a history (though there's a service for that) |
2010-12-20 08:15:01 utc |
brook |
which service? |
2010-12-20 08:15:28 utc |
brook |
And the workitmes also for the pending? |
2010-12-20 08:15:40 utc |
tosch_le |
there's a history service, but you won't need that now ;-) it's advanced stuff :-p |
2010-12-20 08:16:16 utc |
jmettraux |
history service : http://groups.google.com/group/openwferu-users/browse_thread/thread/7979c124c642c6f1 |
2010-12-20 08:16:55 utc |
tosch_le |
the items under /_ruote/workitems are stored in the StorageParticipant and will belong to running (pending) processes |
2010-12-20 08:17:33 utc |
tosch_le |
with your process def, you shouldn't ever see something in the workitems resource |
2010-12-20 08:18:16 utc |
brook |
thus in my case, the process should finish immediately, and I can see nothing under processes, is that true? |
2010-12-20 08:18:47 utc |
tosch_le |
yes. if you see something under processes, there is likely to be an error |
2010-12-20 08:19:11 utc |
brook |
1 to 1 of 1 processes all |
2010-12-20 08:19:12 utc |
brook |
0 to 0 of 0 errors all |
2010-12-20 08:19:15 utc |
brook |
you see |
2010-12-20 08:19:32 utc |
brook |
wierd |
2010-12-20 08:19:32 utc |
tosch_le |
i see, but that's strange |
2010-12-20 08:19:52 utc |
tosch_le |
could you post your complete config.ru? |
2010-12-20 08:20:04 utc |
brook |
I can see '2 participants registered', and there is my inpa_:list_participant |
2010-12-20 08:20:09 utc |
brook |
okay |
2010-12-20 08:20:09 utc |
tosch_le |
btw: you participant, stateless: http://pastebin.com/YK9MvYMw |
2010-12-20 08:20:10 utc |
jmettraux |
OK, I'm filing a bug for this one, the reply_to_engine(wi) should either result in an error, either be idempotent |
2010-12-20 08:21:08 utc |
brook |
entire config.ru here http://pastebin.com/Pejh3h1B |
2010-12-20 08:21:41 utc |
jmettraux |
https://github.com/jmettraux/ruote/issues/issue/18 |
2010-12-20 08:22:15 utc |
tosch_le |
you're registering a catchall before your participant so that the catchall (= storage participant) eats all the workitems before your participant gets them |
2010-12-20 08:22:39 utc |
tosch_le |
see line 49 of your config.ru |
2010-12-20 08:22:49 utc |
jmettraux |
tosch_le: excellent ! |
2010-12-20 08:24:13 utc |
jmettraux |
closing the issue report, false alarm |
2010-12-20 08:24:45 utc |
tosch_le |
updated your config.ru: http://pastebin.com/i0mpEmw5 |
2010-12-20 08:24:47 utc |
brook |
yes, I can see a error. thanks tosch_le |
2010-12-20 08:25:02 utc |
jmettraux |
what error message ? |
2010-12-20 08:25:21 utc |
brook |
#> |
2010-12-20 08:25:30 utc |
jmettraux |
perfect ! |
2010-12-20 08:25:41 utc |
tosch_le |
again: consider not using the block participant, you'll run into problems if you separate the worker(s) |
2010-12-20 08:25:53 utc |
tosch_le |
please drop line 51 |
2010-12-20 08:26:07 utc |
tosch_le |
my fault |
2010-12-20 08:26:34 utc |
brook |
okay, thanks, you both are really nice |
2010-12-20 08:26:46 utc |
jmettraux |
tosch_le: for the upcoming 2.1.12, I'll probably use https://github.com/ngty/sourcify to enable block participants whose code is available to all the workers (of course, code but not closure) |
2010-12-20 08:27:00 utc |
jmettraux |
brook: you're welcome |
2010-12-20 08:27:22 utc |
tosch_le |
brook: it's a pleasure! |