gulelat / bibapp

Automatically exported from code.google.com/p/bibapp
Other
0 stars 0 forks source link

Error rendering Edit Work form #37

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?

Trunk

Please provide any additional information below.

from error log

Processing WorksController#edit (for 128.128.164.41 at 2009-04-07 13:24:09)
[GET]
  Session ID: 189ec01bcb7cca1bd15eb112c3aa776f
  Parameters: {"action"=>"edit", "id"=>"1559", "controller"=>"works"}
Rendering template within layouts/application
Rendering works/edit

ActionView::TemplateError (4 spaces were used for indentation. Haml must be
indented using two spaces.) on line #4 of works/edit.html.haml:
1: / === Works === Edit ===
2: / Main
3: %div.span-24
4:     %h2 Edit a Work
5: 
6:     %div.span-16.column
7:       - form_for :work, @work, :url => work_path(@work), :html =>
{:class=>"work_form", :method => :put} do |form|

    app/views/works/edit.html.haml:4
    vendor/plugins/haml-2.0.1/lib/haml/precompiler.rb:155:in `precompile'
    vendor/plugins/authorization/lib/publishare/parser.rb:41:in
`each_with_index'
    vendor/plugins/haml-2.0.1/lib/haml/precompiler.rb:116:in `each'
    vendor/plugins/haml-2.0.1/lib/haml/precompiler.rb:116:in `each_with_index'
    vendor/plugins/haml-2.0.1/lib/haml/precompiler.rb:116:in `precompile'
    vendor/plugins/haml-2.0.1/lib/haml/engine.rb:99:in `initialize'
    vendor/plugins/haml-2.0.1/lib/haml/template/plugin.rb:21:in `new'
    vendor/plugins/haml-2.0.1/lib/haml/template/plugin.rb:21:in `compile'

vendor/rails/actionpack/lib/action_view/template_handlers/compilable.rb:98:in
`create_template_source'

vendor/rails/actionpack/lib/action_view/template_handlers/compilable.rb:37:in
`compile_template'
    vendor/rails/actionpack/lib/action_view/template.rb:55:in `prepare!'
    vendor/rails/actionpack/lib/action_view/template.rb:34:in `render'
    vendor/rails/actionpack/lib/action_view/template.rb:22:in `render_template'
    vendor/rails/actionpack/lib/action_view/base.rb:245:in `render_file'
    vendor/rails/actionpack/lib/action_controller/base.rb:1108:in
`render_for_file'
    vendor/rails/actionpack/lib/action_controller/base.rb:841:in
`render_with_no_layout'
    vendor/rails/actionpack/lib/action_controller/layout.rb:251:in
`render_without_benchmark'
    vendor/rails/actionpack/lib/action_controller/benchmarking.rb:51:in
`render'

vendor/rails/activesupport/lib/active_support/core_ext/benchmark.rb:8:in
`realtime'
    vendor/rails/actionpack/lib/action_controller/benchmarking.rb:51:in
`render'
    vendor/rails/actionpack/lib/action_controller/base.rb:1157:in
`default_render'
    vendor/rails/actionpack/lib/action_controller/base.rb:1163:in
`perform_action_without_filters'
    vendor/rails/actionpack/lib/action_controller/filters.rb:580:in
`call_filters'
    vendor/rails/actionpack/lib/action_controller/filters.rb:573:in
`perform_action_without_benchmark'
    vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:in
`perform_action_without_rescue'
    /opt/ruby-enterprise-1.8.6-20080709/lib/ruby/1.8/benchmark.rb:293:in
`measure'
    vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:in
`perform_action_without_rescue'
    vendor/rails/actionpack/lib/action_controller/rescue.rb:201:in
`perform_action_without_caching'

vendor/rails/actionpack/lib/action_controller/caching/sql_cache.rb:13:in
`passenger_orig_perform_action'

vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/query_c
ache.rb:33:in
`cache'
    vendor/rails/activerecord/lib/active_record/query_cache.rb:8:in `cache'

vendor/rails/actionpack/lib/action_controller/caching/sql_cache.rb:12:in
`passenger_orig_perform_action'

/opt/ruby-enterprise-1.8.6-20080709/lib/ruby/gems/1.8/gems/passenger-2.0.6/lib/p
assenger/railz/request_handler.rb:53:in
`perform_action'
    vendor/rails/actionpack/lib/action_controller/base.rb:529:in `send'
    vendor/rails/actionpack/lib/action_controller/base.rb:529:in
`process_without_filters'
    vendor/rails/actionpack/lib/action_controller/filters.rb:569:in
`process_without_session_management_support'

vendor/rails/actionpack/lib/action_controller/session_management.rb:130:in
`sass_old_process'
    vendor/plugins/haml-2.0.1/lib/sass/plugin/rails.rb:19:in `process'
    vendor/rails/actionpack/lib/action_controller/base.rb:389:in `process'
    vendor/rails/actionpack/lib/action_controller/dispatcher.rb:149:in
`handle_request'
    vendor/rails/actionpack/lib/action_controller/dispatcher.rb:107:in
`dispatch'
    vendor/rails/actionpack/lib/action_controller/dispatcher.rb:104:in
`synchronize'
    vendor/rails/actionpack/lib/action_controller/dispatcher.rb:104:in
`dispatch'
    vendor/rails/actionpack/lib/action_controller/dispatcher.rb:120:in
`dispatch_cgi'
    vendor/rails/actionpack/lib/action_controller/dispatcher.rb:35:in
`dispatch'

/opt/ruby-enterprise-1.8.6-20080709/lib/ruby/gems/1.8/gems/passenger-2.0.6/lib/p
assenger/railz/request_handler.rb:38:in
`process_request'

/opt/ruby-enterprise-1.8.6-20080709/lib/ruby/gems/1.8/gems/passenger-2.0.6/lib/p
assenger/abstract_request_handler.rb:165:in
`main_loop'

/opt/ruby-enterprise-1.8.6-20080709/lib/ruby/gems/1.8/gems/passenger-2.0.6/lib/p
assenger/railz/application_spawner.rb:321:in
`start_request_handler'

/opt/ruby-enterprise-1.8.6-20080709/lib/ruby/gems/1.8/gems/passenger-2.0.6/lib/p
assenger/railz/application_spawner.rb:282:in
`handle_spawn_application'

/opt/ruby-enterprise-1.8.6-20080709/lib/ruby/gems/1.8/gems/passenger-2.0.6/lib/p
assenger/utils.rb:163:in
`safe_fork'

/opt/ruby-enterprise-1.8.6-20080709/lib/ruby/gems/1.8/gems/passenger-2.0.6/lib/p
assenger/utils.rb:161:in
`fork'

/opt/ruby-enterprise-1.8.6-20080709/lib/ruby/gems/1.8/gems/passenger-2.0.6/lib/p
assenger/utils.rb:161:in
`safe_fork'

/opt/ruby-enterprise-1.8.6-20080709/lib/ruby/gems/1.8/gems/passenger-2.0.6/lib/p
assenger/railz/application_spawner.rb:280:in
`handle_spawn_application'

/opt/ruby-enterprise-1.8.6-20080709/lib/ruby/gems/1.8/gems/passenger-2.0.6/lib/p
assenger/utils.rb:163:in
`safe_fork'

/opt/ruby-enterprise-1.8.6-20080709/lib/ruby/gems/1.8/gems/passenger-2.0.6/lib/p
assenger/utils.rb:161:in
`fork'

/opt/ruby-enterprise-1.8.6-20080709/lib/ruby/gems/1.8/gems/passenger-2.0.6/lib/p
assenger/utils.rb:161:in
`safe_fork'

/opt/ruby-enterprise-1.8.6-20080709/lib/ruby/gems/1.8/gems/passenger-2.0.6/lib/p
assenger/railz/application_spawner.rb:279:in
`handle_spawn_application'

/opt/ruby-enterprise-1.8.6-20080709/lib/ruby/gems/1.8/gems/passenger-2.0.6/lib/p
assenger/abstract_server.rb:317:in
`__send__'

/opt/ruby-enterprise-1.8.6-20080709/lib/ruby/gems/1.8/gems/passenger-2.0.6/lib/p
assenger/abstract_server.rb:317:in
`main_loop'

/opt/ruby-enterprise-1.8.6-20080709/lib/ruby/gems/1.8/gems/passenger-2.0.6/lib/p
assenger/abstract_server.rb:168:in
`start_synchronously'

/opt/ruby-enterprise-1.8.6-20080709/lib/ruby/gems/1.8/gems/passenger-2.0.6/lib/p
assenger/abstract_server.rb:135:in
`start'

/opt/ruby-enterprise-1.8.6-20080709/lib/ruby/gems/1.8/gems/passenger-2.0.6/lib/p
assenger/abstract_server.rb:112:in
`fork'

/opt/ruby-enterprise-1.8.6-20080709/lib/ruby/gems/1.8/gems/passenger-2.0.6/lib/p
assenger/abstract_server.rb:112:in
`start'

/opt/ruby-enterprise-1.8.6-20080709/lib/ruby/gems/1.8/gems/passenger-2.0.6/lib/p
assenger/railz/application_spawner.rb:179:in
`start'

/opt/ruby-enterprise-1.8.6-20080709/lib/ruby/gems/1.8/gems/passenger-2.0.6/lib/p
assenger/spawn_manager.rb:222:in
`spawn_rails_application'

/opt/ruby-enterprise-1.8.6-20080709/lib/ruby/gems/1.8/gems/passenger-2.0.6/lib/p
assenger/spawn_manager.rb:217:in
`synchronize'

/opt/ruby-enterprise-1.8.6-20080709/lib/ruby/gems/1.8/gems/passenger-2.0.6/lib/p
assenger/spawn_manager.rb:217:in
`spawn_rails_application'

/opt/ruby-enterprise-1.8.6-20080709/lib/ruby/gems/1.8/gems/passenger-2.0.6/lib/p
assenger/spawn_manager.rb:126:in
`spawn_application'

/opt/ruby-enterprise-1.8.6-20080709/lib/ruby/gems/1.8/gems/passenger-2.0.6/lib/p
assenger/spawn_manager.rb:251:in
`handle_spawn_application'

/opt/ruby-enterprise-1.8.6-20080709/lib/ruby/gems/1.8/gems/passenger-2.0.6/lib/p
assenger/abstract_server.rb:317:in
`__send__'

/opt/ruby-enterprise-1.8.6-20080709/lib/ruby/gems/1.8/gems/passenger-2.0.6/lib/p
assenger/abstract_server.rb:317:in
`main_loop'

/opt/ruby-enterprise-1.8.6-20080709/lib/ruby/gems/1.8/gems/passenger-2.0.6/lib/p
assenger/abstract_server.rb:168:in
`start_synchronously'

/opt/ruby-enterprise-1.8.6-20080709/lib/ruby/gems/1.8/gems/passenger-2.0.6/bin/p
assenger-spawn-server:46

Original issue reported on code.google.com by fur...@gmail.com on 7 Apr 2009 at 5:39

GoogleCodeExporter commented 9 years ago

Original comment by ewlar...@gmail.com on 7 Apr 2009 at 7:08