Well, it's hard to tell for sure what's going on because the 
Mephisto-Haml linking code discards a lot of exception information (tsk, 
tsk), but it looks like that's a problem in your code, not in Haml.

- Nathan

Gerharr wrote:
> Bonjour.
>
> Thank you for your response. I deleted the old directory (named
> "trunk") and tried new plugin intallation.
> ruby script/install plugin doesn't work : plugin not found.
> I used TortoiseSVN on a new directory named "haml".
> Now, when applying the new theme, I got this error :
>
> ------ begin trace
> Microsoft Windows XP [version 5.1.2600]
> (C) Copyright 1985-2001 Microsoft Corp.
>
> c:\EasyRails\ruby>cd c:\mephisto
>
> C:\mephisto>ruby script/server --e production
> => Booting Mongrel (use 'script/server webrick' to force WEBrick)
> => Rails application starting on http://0.0.0.0:3000
> => Call with -d to detach
> => Ctrl-C to shutdown server
> ** Starting Mongrel listening at 0.0.0.0:3000
> ** Starting Rails with production environment...
> ** Rails loaded.
> ** Loading any Rails specific GemPlugins
> ** Signals ready.  INT => stop (no restart).
> ** Mongrel available at 0.0.0.0:3000
> ** Use CTRL-C to stop.
>
>
> Processing MephistoController#dispatch (for 127.0.0.1 at 2007-05-11
> 17:47:09) [G
> ET]
>   Parameters: {"action"=>"dispatch", "controller"=>"mephisto",
> "path"=>[]}
>
>
> RuntimeError (HAML Error: HAML Error: undefined method
> `latest_articles' for nil
> :NilClass):
>     /vendor/plugins/mephisto_haml_templates/lib/haml_template.rb:99:in
> `do_inclu
> de'
>     /vendor/plugins/mephisto_haml_templates/lib/haml_template.rb:60:in
> `to_html'
>
>     /vendor/plugins/mephisto_haml_templates/lib/haml_template.rb:52:in
> `render'
>     /app/models/site.rb:190:in `call_render'
>     /app/controllers/application.rb:58:in `render_liquid_template_for'
>     /app/controllers/mephisto_controller.rb:29:in `dispatch_list'
>     /app/controllers/mephisto_controller.rb:11:in `send'
>     /app/controllers/mephisto_controller.rb:11:in `dispatch'
>     C:/EasyRails/ruby/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/
> action_contro
> ller/base.rb:1095:in `send'
>     C:/EasyRails/ruby/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/
> action_contro
> ller/base.rb:1095:in `perform_action_without_filters'
>     C:/EasyRails/ruby/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/
> action_contro
> ller/filters.rb:632:in `call_filter'
>     C:/EasyRails/ruby/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/
> action_contro
> ller/filters.rb:638:in `call_filter'
>     C:/EasyRails/ruby/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/
> action_contro
> ller/filters.rb:600:in `call'
>     C:/EasyRails/ruby/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/
> action_contro
> ller/filters.rb:600:in `proxy_before_and_after_filter'
>     C:/EasyRails/ruby/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/
> action_contro
> ller/filters.rb:470:in `call'
>     C:/EasyRails/ruby/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/
> action_contro
> ller/filters.rb:470:in `call'
>     C:/EasyRails/ruby/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/
> action_contro
> ller/filters.rb:637:in `call_filter'
>     C:/EasyRails/ruby/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/
> action_contro
> ller/filters.rb:638:in `call_filter'
>     C:/EasyRails/ruby/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/
> action_contro
> ller/filters.rb:438:in `call'
>     C:/EasyRails/ruby/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/
> action_contro
> ller/filters.rb:637:in `call_filter'
>     C:/EasyRails/ruby/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/
> action_contro
> ller/filters.rb:638:in `call_filter'
>     C:/EasyRails/ruby/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/
> action_contro
> ller/filters.rb:449:in `call'
>     C:/EasyRails/ruby/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/
> action_contro
> ller/filters.rb:637:in `call_filter'
>     C:/EasyRails/ruby/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/
> action_contro
> ller/filters.rb:638:in `call_filter'
>     C:/EasyRails/ruby/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/
> action_contro
> ller/filters.rb:449:in `call'
>     C:/EasyRails/ruby/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/
> action_contro
> ller/filters.rb:637:in `call_filter'
>     C:/EasyRails/ruby/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/
> action_contro
> ller/filters.rb:619:in `perform_action_without_benchmark'
>     C:/EasyRails/ruby/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/
> action_contro
> ller/benchmarking.rb:66:in `perform_action_without_rescue'
>     C:/EasyRails/ruby/lib/ruby/1.8/benchmark.rb:293:in `measure'
>     C:/EasyRails/ruby/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/
> action_contro
> ller/benchmarking.rb:66:in `perform_action_without_rescue'
>     C:/EasyRails/ruby/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/
> action_contro
> ller/rescue.rb:83:in `perform_action'
>     C:/EasyRails/ruby/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/
> action_contro
> ller/base.rb:430:in `send'
>     C:/EasyRails/ruby/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/
> action_contro
> ller/base.rb:430:in `process_without_filters'
>     C:/EasyRails/ruby/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/
> action_contro
> ller/filters.rb:624:in `process_without_session_management_support'
>     C:/EasyRails/ruby/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/
> action_contro
> ller/session_management.rb:114:in `sass_old_process'
>     /vendor/plugins/haml/lib/sass/plugin.rb:116:in `process'
>     C:/EasyRails/ruby/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/
> action_contro
> ller/base.rb:330:in `process'
>     C:/EasyRails/ruby/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/
> dispatcher.rb:41:in
>  `dispatch'
>     C:/EasyRails/ruby/lib/ruby/gems/1.8/gems/mongrel-1.0.1-mswin32/lib/
> mongrel/r
> ails.rb:78:in `process'
>     C:/EasyRails/ruby/lib/ruby/1.8/thread.rb:135:in `synchronize'
>     C:/EasyRails/ruby/lib/ruby/gems/1.8/gems/mongrel-1.0.1-mswin32/lib/
> mongrel/r
> ails.rb:76:in `process'
>     C:/EasyRails/ruby/lib/ruby/gems/1.8/gems/mongrel-1.0.1-mswin32/lib/
> mongrel.r
> b:618:in `process_client'
>     C:/EasyRails/ruby/lib/ruby/gems/1.8/gems/mongrel-1.0.1-mswin32/lib/
> mongrel.r
> b:617:in `each'
>     C:/EasyRails/ruby/lib/ruby/gems/1.8/gems/mongrel-1.0.1-mswin32/lib/
> mongrel.r
> b:617:in `process_client'
>     C:/EasyRails/ruby/lib/ruby/gems/1.8/gems/mongrel-1.0.1-mswin32/lib/
> mongrel.r
> b:736:in `run'
>     C:/EasyRails/ruby/lib/ruby/gems/1.8/gems/mongrel-1.0.1-mswin32/lib/
> mongrel.r
> b:736:in `initialize'
>     C:/EasyRails/ruby/lib/ruby/gems/1.8/gems/mongrel-1.0.1-mswin32/lib/
> mongrel.r
> b:736:in `new'
>     C:/EasyRails/ruby/lib/ruby/gems/1.8/gems/mongrel-1.0.1-mswin32/lib/
> mongrel.r
> b:736:in `run'
>     C:/EasyRails/ruby/lib/ruby/gems/1.8/gems/mongrel-1.0.1-mswin32/lib/
> mongrel.r
> b:720:in `initialize'
>     C:/EasyRails/ruby/lib/ruby/gems/1.8/gems/mongrel-1.0.1-mswin32/lib/
> mongrel.r
> b:720:in `new'
>     C:/EasyRails/ruby/lib/ruby/gems/1.8/gems/mongrel-1.0.1-mswin32/lib/
> mongrel.r
> b:720:in `run'
>     C:/EasyRails/ruby/lib/ruby/gems/1.8/gems/mongrel-1.0.1-mswin32/lib/
> mongrel/c
> onfigurator.rb:271:in `run'
>     C:/EasyRails/ruby/lib/ruby/gems/1.8/gems/mongrel-1.0.1-mswin32/lib/
> mongrel/c
> onfigurator.rb:270:in `each'
>     C:/EasyRails/ruby/lib/ruby/gems/1.8/gems/mongrel-1.0.1-mswin32/lib/
> mongrel/c
> onfigurator.rb:270:in `run'
>     C:/EasyRails/ruby/lib/ruby/gems/1.8/gems/mongrel-1.0.1-mswin32/bin/
> mongrel_r
> ails:127:in `run'
>     C:/EasyRails/ruby/lib/ruby/gems/1.8/gems/mongrel-1.0.1-mswin32/lib/
> mongrel/c
> ommand.rb:211:in `run'
>     C:/EasyRails/ruby/lib/ruby/gems/1.8/gems/mongrel-1.0.1-mswin32/bin/
> mongrel_r
> ails:243
>     C:/EasyRails/ruby/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/
> active_supp
> ort/dependencies.rb:488:in `load'
>     C:/EasyRails/ruby/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/
> active_supp
> ort/dependencies.rb:488:in `load'
>     C:/EasyRails/ruby/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/
> active_supp
> ort/dependencies.rb:342:in `new_constants_in'
>     C:/EasyRails/ruby/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/
> active_supp
> ort/dependencies.rb:488:in `load'
>     C:/EasyRails/ruby/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/commands/
> servers/mo
> ngrel.rb:60
>     C:/EasyRails/ruby/lib/ruby/site_ruby/1.8/rubygems/
> custom_require.rb:27:in `g
> em_original_require'
>     C:/EasyRails/ruby/lib/ruby/site_ruby/1.8/rubygems/
> custom_require.rb:27:in `r
> equire'
>     C:/EasyRails/ruby/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/
> active_supp
> ort/dependencies.rb:495:in `require'
>     C:/EasyRails/ruby/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/
> active_supp
> ort/dependencies.rb:342:in `new_constants_in'
>     C:/EasyRails/ruby/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/
> active_supp
> ort/dependencies.rb:495:in `require'
>     C:/EasyRails/ruby/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/commands/
> server.rb:
> 39
>     C:/EasyRails/ruby/lib/ruby/site_ruby/1.8/rubygems/
> custom_require.rb:27:in `g
> em_original_require'
>     C:/EasyRails/ruby/lib/ruby/site_ruby/1.8/rubygems/
> custom_require.rb:27:in `r
> equire'
>     script/server:3
>
>
> Rendering C:/EasyRails/ruby/lib/ruby/gems/1.8/gems/actionpack-1.13.3/
> lib/action_
> controller/templates/rescues/layout.rhtml (500 Internal Error)
> ------- end trace
>
> For information, plugin list in mephisto (admin) contains :
> converters, haml_template, xmlrpc.
> Best regards.
>
> Gerharr
>
>
> >
>
>   


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Haml" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/haml?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to