On Aug 12, 2011, at 12:38 AM, David Lutterkort wrote:

> On Thu, 2011-08-11 at 15:03 +0200, [email protected] wrote:
>> From: Michal Fojtik <[email protected]>
>> 
>> 
>> Signed-off-by: Michal fojtik <[email protected]>
>> ---
>> server/NOTICE                                     |    3 +
>> server/bin/deltacloudd                            |   38 ++++++---
>> server/lib/deltacloud/base_driver/exceptions.rb   |   15 ++--
>> server/lib/deltacloud/drivers/mock/mock_driver.rb |    2 +-
>> server/lib/sinatra/body_proxy.rb                  |   34 ++++++++
>> server/lib/sinatra/rack_syslog.rb                 |   91 
>> +++++++++++++++++++++
>> server/server.rb                                  |   11 ++-
>> 7 files changed, 169 insertions(+), 25 deletions(-)
>> create mode 100644 server/lib/sinatra/body_proxy.rb
>> create mode 100644 server/lib/sinatra/rack_syslog.rb
> 
> This patch causes server startup for me to fail:
> 
>        melon:[14006] server>./bin/deltacloudd -i mock
>        Starting Deltacloud API :: mock :: http://localhost:3001/api
> 
> 
>        15:37:05 - Server Launched
>        (__DELEGATE__):2:in `settings': stack level too deep (SystemStackError)
>               from (__DELEGATE__):2:in `send'
>               from (__DELEGATE__):2:in `settings'
>               from (__DELEGATE__):2:in `send'
>               from (__DELEGATE__):2:in `settings'
>               from (__DELEGATE__):2:in `send'
>               from (__DELEGATE__):2:in `settings'
>               from (__DELEGATE__):2:in `send'
>               from (__DELEGATE__):2:in `settings'
>                ... 1577 levels...
>               from 
> /homes/lutter/.gem/ruby/1.8/gems/rack-1.1.2/lib/rack/builder.rb:46:in 
> `instance_eval'
>               from 
> /homes/lutter/.gem/ruby/1.8/gems/rack-1.1.2/lib/rack/builder.rb:46:in 
> `initialize'
>               from config.ru:1:in `new'
>               from config.ru:1
> 
>        15:37:07 - Server Launch Failed

Wow. I personally tested it before I sent the patch out. Could you try to 
update sinatra and rack?
I'm using sinatra 1.2.6 and rack 1.3.0.

  -- Michal

------------------------------------------------------
Michal Fojtik, [email protected]
Deltacloud API: http://deltacloud.org

Reply via email to