Thanks,

Turns out I was loading the syntax highlighting language wrong. Fixed that,
and then Cucumber features works. Will push yet another update later today.

Any chance you can share the repo that caused the crash?

Christian

On Thu, Oct 4, 2012 at 11:10 AM, Wari Wahab <wari.wa...@gmail.com> wrote:

> I was about to test submodules later in the day. Kudos to adding that
> support before I can come around to it.
>
> The feature file is a simple text file:
>
> features/myfeature.feature
> ---------
> Feature: I want moolah
>   In order to be rich
>   As a poor old lad
>   I need to rob a bank
>
>   Scenario: Grab some weapons
>     When I head to my stash area
>     Then I pick my guns up
>     I should be able to cause massive damage
> -------
>
> PS: a "move up one level back" button would be great, pressing back just
> don't work as well ;)
>
> I did get the server to crash when browsing one directory:
>
> >> Thin web server (v1.5.0 codename Knife)
> >> Maximum connections set to 1024
> >> Listening on 0.0.0.0:3000, CTRL+C to stop
> /home/wari/.rvm/gems/ruby-1.9.3-p194@myhome/gems/json-1.7.5/lib/json/common.rb:223:in
> `encode': "\xC3" from ASCII-8BIT to UTF-8
> (Encoding::UndefinedConversionError)
>         from 
> /home/wari/.rvm/gems/ruby-1.9.3-p194@myhome/gems/json-1.7.5/lib/json/common.rb:223:in
> `generate'
>         from 
> /home/wari/.rvm/gems/ruby-1.9.3-p194@myhome/gems/json-1.7.5/lib/json/common.rb:223:in
> `generate'
>         from 
> /home/wari/.rvm/gems/ruby-1.9.3-p194@myhome/gems/dolt-0.4.2/bin/../views/tree_history.erb:1:in
> `evaluate_source'
>         from 
> /home/wari/.rvm/gems/ruby-1.9.3-p194@myhome/gems/tilt-1.3.3/lib/tilt/template.rb:209:in
> `instance_eval'
>         from 
> /home/wari/.rvm/gems/ruby-1.9.3-p194@myhome/gems/tilt-1.3.3/lib/tilt/template.rb:209:in
> `evaluate_source'
>         from 
> /home/wari/.rvm/gems/ruby-1.9.3-p194@myhome/gems/tilt-1.3.3/lib/tilt/template.rb:144:in
> `cached_evaluate'
>         from 
> /home/wari/.rvm/gems/ruby-1.9.3-p194@myhome/gems/tilt-1.3.3/lib/tilt/template.rb:127:in
> `evaluate'
>         from 
> /home/wari/.rvm/gems/ruby-1.9.3-p194@myhome/gems/tilt-1.3.3/lib/tilt/template.rb:76:in
> `render'
>         from 
> /home/wari/.rvm/gems/ruby-1.9.3-p194@myhome/gems/dolt-0.4.2/lib/dolt/template_renderer.rb:42:in
> `render'
>         from 
> /home/wari/.rvm/gems/ruby-1.9.3-p194@myhome/gems/dolt-0.4.2/lib/dolt/sinatra/actions.rb:99:in
> `block in tree_history'
>         from 
> /home/wari/.rvm/gems/ruby-1.9.3-p194@myhome/gems/dolt-0.4.2/lib/dolt/repo_actions.rb:72:in
> `call'
>         from 
> /home/wari/.rvm/gems/ruby-1.9.3-p194@myhome/gems/dolt-0.4.2/lib/dolt/repo_actions.rb:72:in
> `block in repo_action'
>         from 
> /home/wari/.rvm/gems/ruby-1.9.3-p194@myhome/gems/eventmachine-1.0.0/lib/em/deferrable.rb:151:in
> `call'
>         from 
> /home/wari/.rvm/gems/ruby-1.9.3-p194@myhome/gems/eventmachine-1.0.0/lib/em/deferrable.rb:151:in
> `set_deferred_status'
>         from 
> /home/wari/.rvm/gems/ruby-1.9.3-p194@myhome/gems/eventmachine-1.0.0/lib/em/deferrable.rb:191:in
> `succeed'
>         from 
> /home/wari/.rvm/gems/ruby-1.9.3-p194@myhome/gems/dolt-0.4.2/lib/dolt/git/repository.rb:49:in
> `block (2 levels) in tree_history'
>         from 
> /home/wari/.rvm/gems/ruby-1.9.3-p194@myhome/gems/eventmachine-1.0.0/lib/em/deferrable.rb:151:in
> `call'
>         from 
> /home/wari/.rvm/gems/ruby-1.9.3-p194@myhome/gems/eventmachine-1.0.0/lib/em/deferrable.rb:151:in
> `set_deferred_status'
>         from 
> /home/wari/.rvm/gems/ruby-1.9.3-p194@myhome/gems/eventmachine-1.0.0/lib/em/deferrable.rb:191:in
> `succeed'
>         from 
> /home/wari/.rvm/gems/ruby-1.9.3-p194@myhome/gems/dolt-0.4.2/lib/dolt/git/repository.rb:70:in
> `block in build_history'
>         from 
> /home/wari/.rvm/gems/ruby-1.9.3-p194@myhome/gems/eventmachine-1.0.0/lib/em/deferrable.rb:151:in
> `call'
>         from 
> /home/wari/.rvm/gems/ruby-1.9.3-p194@myhome/gems/eventmachine-1.0.0/lib/em/deferrable.rb:151:in
> `set_deferred_status'
>         from 
> /home/wari/.rvm/gems/ruby-1.9.3-p194@myhome/gems/eventmachine-1.0.0/lib/em/deferrable.rb:191:in
> `succeed'
>         from 
> /home/wari/.rvm/gems/ruby-1.9.3-p194@myhome/gems/dolt-0.4.2/lib/dolt/async/when.rb:28:in
> `resolve'
>         from 
> /home/wari/.rvm/gems/ruby-1.9.3-p194@myhome/gems/dolt-0.4.2/lib/dolt/async/when.rb:57:in
> `resolve'
>         from 
> /home/wari/.rvm/gems/ruby-1.9.3-p194@myhome/gems/dolt-0.4.2/lib/dolt/async/when.rb:103:in
> `block in all'
>         from 
> /home/wari/.rvm/gems/ruby-1.9.3-p194@myhome/gems/dolt-0.4.2/lib/dolt/async/when.rb:112:in
> `call'
>         from 
> /home/wari/.rvm/gems/ruby-1.9.3-p194@myhome/gems/dolt-0.4.2/lib/dolt/async/when.rb:112:in
> `block in all'
>         from 
> /home/wari/.rvm/gems/ruby-1.9.3-p194@myhome/gems/dolt-0.4.2/lib/dolt/async/when.rb:123:in
> `call'
>         from 
> /home/wari/.rvm/gems/ruby-1.9.3-p194@myhome/gems/dolt-0.4.2/lib/dolt/async/when.rb:123:in
> `block (2 levels) in wait_for_all'
>         from 
> /home/wari/.rvm/gems/ruby-1.9.3-p194@myhome/gems/eventmachine-1.0.0/lib/em/deferrable.rb:151:in
> `call'
>         from 
> /home/wari/.rvm/gems/ruby-1.9.3-p194@myhome/gems/eventmachine-1.0.0/lib/em/deferrable.rb:151:in
> `set_deferred_status'
>         from 
> /home/wari/.rvm/gems/ruby-1.9.3-p194@myhome/gems/eventmachine-1.0.0/lib/em/deferrable.rb:191:in
> `succeed'
>         from 
> /home/wari/.rvm/gems/ruby-1.9.3-p194@myhome/gems/dolt-0.4.2/lib/dolt/git/repository.rb:81:in
> `block in deferred_method'
>         from 
> /home/wari/.rvm/gems/ruby-1.9.3-p194@myhome/gems/eventmachine-1.0.0/lib/em/deferrable.rb:151:in
> `call'
>         from 
> /home/wari/.rvm/gems/ruby-1.9.3-p194@myhome/gems/eventmachine-1.0.0/lib/em/deferrable.rb:151:in
> `set_deferred_status'
>         from 
> /home/wari/.rvm/gems/ruby-1.9.3-p194@myhome/gems/eventmachine-1.0.0/lib/em/deferrable.rb:191:in
> `succeed'
>         from 
> /home/wari/.rvm/gems/ruby-1.9.3-p194@myhome/gems/em_pessimistic-0.1.2/lib/em_pessimistic/deferrable_child_process.rb:55:in
> `unbind'
>         from 
> /home/wari/.rvm/gems/ruby-1.9.3-p194@myhome/gems/eventmachine-1.0.0/lib/eventmachine.rb:1435:in
> `event_callback'
>         from 
> /home/wari/.rvm/gems/ruby-1.9.3-p194@myhome/gems/eventmachine-1.0.0/lib/eventmachine.rb:187:in
> `run_machine'
>         from 
> /home/wari/.rvm/gems/ruby-1.9.3-p194@myhome/gems/eventmachine-1.0.0/lib/eventmachine.rb:187:in
> `run'
>         from 
> /home/wari/.rvm/gems/ruby-1.9.3-p194@myhome/gems/thin-1.5.0/lib/thin/backends/base.rb:63:in
> `start'
>         from 
> /home/wari/.rvm/gems/ruby-1.9.3-p194@myhome/gems/thin-1.5.0/lib/thin/server.rb:159:in
> `start'
>         from 
> /home/wari/.rvm/gems/ruby-1.9.3-p194@myhome/gems/thin-1.5.0/lib/thin/server.rb:145:in
> `start'
>         from 
> /home/wari/.rvm/gems/ruby-1.9.3-p194@myhome/gems/dolt-0.4.2/bin/dolt:71:in
> `<top (required)>'
>         from /home/wari/.rvm/gems/ruby-1.9.3-p194@myhome/bin/dolt:19:in
> `load'
>         from /home/wari/.rvm/gems/ruby-1.9.3-p194@myhome/bin/dolt:19:in
> `<main>'
>         from 
> /home/wari/.rvm/gems/ruby-1.9.3-p194@myhome/bin/ruby_noexec_wrapper:14:in
> `eval'
>         from 
> /home/wari/.rvm/gems/ruby-1.9.3-p194@myhome/bin/ruby_noexec_wrapper:14:in
> `<main>'
>
>  --
> To post to this group, send email to gitorious@googlegroups.com
> To unsubscribe from this group, send email to
> gitorious+unsubscr...@googlegroups.com
>



-- 
MVH
Christian

-- 
To post to this group, send email to gitorious@googlegroups.com
To unsubscribe from this group, send email to
gitorious+unsubscr...@googlegroups.com

Reply via email to