On Fri, Nov 18, 2011 at 01:02:58AM -0800, Snifi wrote:
>
> I had some more investigation on that topic and now I am back.
>
> 1. yes I am using ruote.kit and already headed for that error. All it says
> is: #<RuntimeError: no subprocess named
> '/home/snifi/subprocesses/send_mail' found>
> And then I also get a hint to the location of that error:
>
> /usr/lib64/ruby/gems/1.8/gems/ruote-2.2.0/lib/ruote/util/subprocess.rb:56:in 
> `lookup_subprocess'
> ...

Hi Snifi,

OK, find more about this a bit further down.


> 2. Now I found the tests you are delivering with ruote-2.2.0
> From scratch they are not running, as they have a problem with 
> ft_30_smtp_participant.rb
> /usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:29:in 
> `gem_original_require': no such file to load -- mailtrap (LoadError)

Yes, you have to do

  gem install mailtrap builder json

in order for all the tests to run successfully (hopefully).


> But when deleting out that tests it runs till the end. With that tests I can 
> see, that all tests having to do somehow with URI and reading files seem to 
> fail.
> So I am not sure whether there might be some setting/flag/switch that is set 
> wrong within my installation preventing this?
> So here the stuff the tests put out (as one example, please find the full log 
> as attachment)
>
> remaining process error(s)
>
>   ** #<RuntimeError: no subprocess named './functional/../pdef.xml' found>
> /usr/lib/ruby/gems/1.8/gems/ruote-2.2.0/lib/ruote/util/subprocess.rb:56:in 
> `lookup_subprocess'
>
> (...)
>
> Any idea how I could fix this problem?

The ruote CI is running on Ubuntu 11.04 (GNU/Linux 2.6.38-11-generic-pae i686), 
it uses ruby 1.8.7-p249 and 1.9.2-p290. I haven't seen such "no subprocess 
named x" issues on that system.

It seems you're using a Linux system as well. Could it be something wrong with 
your file permissions ? What system are you running on ?

What happens if you run that in your ruote/ folder ?

---8<---
$:.unshift('lib')
require 'pp'
require 'ruote/reader'

pp Ruote::Reader.read('test/pdef.xml')
--->8---

It should output:

---8<---
["process_definition",
 {"name"=>"test"},
 [["sequence", {}, [["echo", {"a"=>nil}, []], ["echo", {"b"=>nil}, []]]]]]
--->8---


Best regards,

--
John Mettraux - http://lambda.io/processi

-- 
you received this message because you are subscribed to the "ruote users" group.
to post : send email to [email protected]
to unsubscribe : send email to [email protected]
more options : http://groups.google.com/group/openwferu-users?hl=en

Reply via email to