On Tue, Nov 20, 2012 at 02:41:22PM -0800, Mark Kellogg wrote:
>
> Hi I am currently encountering an odd error when I attempt to launch a new
> instance of the ruote engine. In my code, I have the following:
>
> ruote = Ruote::Dashboard.new(
>   Ruote::Worker.new(
>     Ruote::FsStorage.new('ruote_work')))

Hello Mark,

welcome to the ruote mailing list.

Sorry for the late reply (3 days), I only received the notification from
Google Groups now. Argh.

Is your ruote initialization code exactly like transcribed above?


> The error occurs deep within Route::Worker.new, and the full trace is below:
>
> /var/lib/gems/1.9.1/gems/ruote-2.3.0.1/lib/ruote/context.rb:241:in `merge':
> can't convert nil into Hash (TypeError)
>     from /var/lib/gems/1.9.1/gems/ruote-2.3.0.1/lib/ruote/context.rb:241:in
> `initialize_services'
>     from /var/lib/gems/1.9.1/gems/ruote-2.3.0.1/lib/ruote/context.rb:50:in
> `initialize'
>     from /var/lib/gems/1.9.1/gems/ruote-2.3.0.1/lib/ruote/worker.rb:68:in
> `new'
>     from /var/lib/gems/1.9.1/gems/ruote-2.3.0.1/lib/ruote/worker.rb:68:in
> `initialize'
>     from workflow_listener.rb:11:in `new'
>     from workflow_listener.rb:11:in `<main>'
>
> I am currently running this on Ubuntu 12.10, 64-bit. It was working
> perfectly yesterday, before I made a series of updates to the system,
> including ia32libs. I am new to Ruby so I don't have any idea where to
> start on  this one.

It indicates the configuration file is borked. A vanilla, out-of-the box
ruote + fs would override (hence my question above).

A quick way to try would be to remove the configuration file and start again.

That file is under ruote_work/configurations/ne/engine.json


Please tell me if it works for you. Sorry again for the delay...

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

-- 
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