troubles with ruote on win32

4 views
Skip to first unread message

nvoynov

unread,
Jan 21, 2010, 11:08:40 AM1/21/10
to ruote
I'm trying to play with the latest release ruote 2.1.4 installed as a
gem (gem install ruote), but I can not run the quickstart from
README.rdoc (simple process with :alpha, :bravo participants).

<pre>
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`gem_original_require': no such file to load -- json (LoadError) ...
</pre>

I previously tried to build a ruote from source code (2.1.1), it was
built installed, after running quickstart nothing happened, the
process remains to work and did not give any results (=> 'I received a
message from Alice')

Is there some additional information related to ruote 2.1 on win32
(Ruby 1.8.6, WinXP)?

John Mettraux

unread,
Jan 21, 2010, 9:42:39 PM1/21/10
to openwfe...@googlegroups.com
On Fri, Jan 22, 2010 at 1:08 AM, nvoynov <nvo...@gmail.com> wrote:
> I'm trying to play with the latest release ruote 2.1.4 installed as a
> gem (gem install ruote), but I can not run the quickstart from
> README.rdoc (simple process with :alpha, :bravo participants).
>
> <pre>
> c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
> `gem_original_require': no such file to load -- json (LoadError) ...
> </pre>

Hello,

please install the "json" gem.

gem install json

If that doesn't work, install the json_pure gem.

> I previously tried to build a ruote from source code (2.1.1), it was
> built installed, after running quickstart nothing happened, the
> process remains to work and did not give any results (=> 'I received a
> message from Alice')

Maybe I shouldn't waste time trying to help you with a previous
version... You could perhaps have had a look at the directory work/
and particularly at the sub-directory errors/


> Is there some additional information related to ruote 2.1 on win32
> (Ruby 1.8.6, WinXP)?

I'm sorry, there is no such information.

You're only the second person asking for such information. I have to
say the core people here are all GNU/Linux and MacOSX users with no
much time to run Windows installs.


Best regards,

--
John Mettraux - http://jmettraux.wordpress.com

nvoynov

unread,
Jan 24, 2010, 5:00:19 PM1/24/10
to ruote
I spent a little more time, reinstalling ruby (1.8 and 1.9), but the
result never received - the application hangs. Interruption hanging
application shows:

D: \> ruby ruoteqs.rb
C: / Ruby19/lib/ruby/gems/1.9.1/gems/ruote-2.1.4/lib/ruote/log/
wait_logger.rb: 61: in `stop ': Interrupt
from C: / Ruby19/lib/ruby/gems/1.9.1/gems/ruote-2.1.4/lib/
ruote/log/wait_logger.rb: 61: in `wait_for '
from C: / Ruby19/lib/ruby/gems/1.9.1/gems/ruote-2.1.4/lib/
ruote/engine.rb: 203: in `wait_for '
from ruoteqs.rb: 34: in `<main> '

def wait_for (interest)
@ waiting = [Thread.current, interest]
61> Thread.stop
Thread.current [ '__result__']
end

I think the problem in different work of threads Win32 and Linux

Thank you for your reply, although he was not happy.
I will follow the group may change the situation with win32.

John Mettraux

unread,
Jan 24, 2010, 6:11:09 PM1/24/10
to openwfe...@googlegroups.com
On Mon, Jan 25, 2010 at 7:00 AM, nvoynov <nvo...@gmail.com> wrote:
>
> I spent a little more time, reinstalling ruby (1.8 and 1.9), but the
> result never received - the application hangs. Interruption hanging
> application shows:
>
> D: \> ruby ruoteqs.rb
> C: / Ruby19/lib/ruby/gems/1.9.1/gems/ruote-2.1.4/lib/ruote/log/
> wait_logger.rb: 61: in `stop ': Interrupt
>        from C: / Ruby19/lib/ruby/gems/1.9.1/gems/ruote-2.1.4/lib/
> ruote/log/wait_logger.rb: 61: in `wait_for '
>        from C: / Ruby19/lib/ruby/gems/1.9.1/gems/ruote-2.1.4/lib/
> ruote/engine.rb: 203: in `wait_for '
>        from ruoteqs.rb: 34: in `<main> '
>
>    def wait_for (interest)
>      @ waiting = [Thread.current, interest]
> 61>   Thread.stop
>      Thread.current [ '__result__']
>    end
>
> I think the problem in different work of threads Win32 and Linux

Hello,

maybe this version of the quickstart will work better :

http://github.com/jmettraux/ruote/blob/ruote2.1/examples/ruote_quickstart.rb

If it still doesn't work, you could try to replace the call to
wait_for() in line 38 with a "sleep(2)".

John Mettraux

unread,
Jan 24, 2010, 11:12:52 PM1/24/10
to openwfe...@googlegroups.com
On Mon, Jan 25, 2010 at 7:00 AM, nvoynov <nvo...@gmail.com> wrote:
> I spent a little more time, reinstalling ruby (1.8 and 1.9), but the
> result never received - the application hangs.

Sorry, I only noticed the "result never received" now.

Does an error show up in the folder ruote_work\errors\ ?
If yes, could you please paste it here ?


Thanks in advance,

nvoynov

unread,
Jan 25, 2010, 5:05:56 PM1/25/10
to ruote
On 25 янв, 06:12, John Mettraux <jmettr...@openwfe.org> wrote:
> maybe this version of the quickstart will work better :
> http://github.com/jmettraux/ruote/blob/ruote2.1/examples/ruote_quicks...

With new version ruote_quickstart.rb situation does not change.

> If it still doesn't work, you could try to replace the call to
> wait_for() in line 38 with a "sleep(2)".

The process was completed, but no messages were.

> Sorry, I only noticed the "result never received" now.
>
> Does an error show up in the folder ruote_work\errors\ ?
> If yes, could you please paste it here ?

ruote_work folder contains a structure:
configurations\
- configurations\ne\
-- configurations\ne\engine.json - 0 bytes
- configurations\st\
-- configurations\st\participant_list.json - 0 bytes
msgs\ (all folders contains some empty .json files)
- msgs\00\
- msgs\25\
- msgs\50\
- msgs\75\
variables\
-- variables\id\last_wfid.json - empy, 0 bytes

nothing else in the working directory

John Mettraux

unread,
Jan 25, 2010, 7:00:51 PM1/25/10
to openwfe...@googlegroups.com
On Tue, Jan 26, 2010 at 7:05 AM, nvoynov <nvo...@gmail.com> wrote:
> On 25 янв, 06:12, John Mettraux <jmettr...@openwfe.org> wrote:
>> maybe this version of the quickstart will work better :
>>   http://github.com/jmettraux/ruote/blob/ruote2.1/examples/ruote_quicks...
>
> With new version ruote_quickstart.rb situation does not change.
>
>> If it still doesn't work, you could try to replace the call to
>> wait_for() in line 38 with a "sleep(2)".
>
> The process was completed, but no messages were.

Hello,

thanks for trying again.

I could secure a spare WinXP laptop for a few hours to test with Ruby
1.8.6 (one click installer) and ran into the same issues you detailed.
It seems not a Thread issue, there seem to have trouble in the storage
of the data (empty json files).

Maybe I'll have some time to investigate later, but Windows is really
a pain in the ass.


Best regards,

Message has been deleted

nvoynov

unread,
Jan 25, 2010, 8:45:49 PM1/25/10
to ruote
On 26 янв, 02:00, John Mettraux <jmettr...@openwfe.org> wrote:

> Maybe I'll have some time to investigate later, but Windows is really
> a pain in the ass.

thanks for sympathy ;)

Some time ago I was interested in tightly BPMS (BPMN,
BPEL4WS&BPEL4People... Intalio|BPMS, jBPM, RunaFWE, e.t.c). However,
the actual practice of executable processes was not. Too difficult to
connect all technology together - process engine, WS from other
systems,
participiant on java, and its visual linking. Then there was a big BPM
break.

One day in late 2008 drew attention to OpenFWEru. Now I have been
programming a bit on Rails, and finally decided to really try Ruote.

And now more than ever convinced that Ruote exactly what you need. DSL
describe processes instead BPMN drawing, plus all the power of a
programming language Ruby.

On the road now look more draft Intalio SimPEL (http://oss.intalio.com/
simpel/index.html), but their project is not so attractive, though I
have it working :)

John Mettraux

unread,
Jan 25, 2010, 8:57:59 PM1/25/10
to openwfe...@googlegroups.com
On Tue, Jan 26, 2010 at 10:45 AM, nvoynov <nvo...@gmail.com> wrote:
> On 26 янв, 02:00, John Mettraux <jmettr...@openwfe.org>  wrote:
>
>> Maybe I'll have some time to investigate later, but Windows is really
>> a pain in the ass.
>
> thanks for sympathy ;)

Sorry about not being more supportive of Windows, but I am more
convinced by "linux server vs mac/win browser client".

> And now more than ever convinced that Ruote exactly what you need. DSL
> describe processes instead BPMN drawing, plus all the power of a
> programming language Ruby.

And it's easier to use version control with a DSL.

We're working hard on making ruote better day by day, thanks to the
critics and help of all the people here or on the #ruote channel on
IRC.

> On the road now look more draft Intalio SimPEL (http://oss.intalio.com/
> simpel/index.html), but their project is not so attractive, though I
> have it working :)

You have it working on Windows ;)

I have been following that project, they have lots of money, they
could do something very good with it (technology and marketing). We'll
see.


Best regards, thanks again,

Reply all
Reply to author
Forward
0 new messages