google-code-export / bibapp

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

ActionView::MissingTemplate: Missing template attachments/show.erb in view path app/views #134

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
* Exception

#<ActionView::MissingTemplate: Missing template attachments/show.erb in
view path app/views>

* Clean Backtrace

haml (2.2.3) lib/sass/plugin/rails.rb:19:in `process'
passenger (2.2.4) lib/phusion_passenger/rack/request_handler.rb:91:in
`process_request'
passenger (2.2.4) lib/phusion_passenger/abstract_request_handler.rb:206:in
`main_loop'
passenger (2.2.4) lib/phusion_passenger/railz/application_spawner.rb:376:in
`start_request_handler'
passenger (2.2.4) lib/phusion_passenger/railz/application_spawner.rb:334:in
`handle_spawn_application'
passenger (2.2.4) lib/phusion_passenger/utils.rb:182:in `safe_fork'
passenger (2.2.4) lib/phusion_passenger/railz/application_spawner.rb:332:in
`handle_spawn_application'
passenger (2.2.4) lib/phusion_passenger/abstract_server.rb:351:in `__send__'
passenger (2.2.4) lib/phusion_passenger/abstract_server.rb:351:in `main_loop'
passenger (2.2.4) lib/phusion_passenger/abstract_server.rb:195:in
`start_synchronously'
passenger (2.2.4) lib/phusion_passenger/abstract_server.rb:162:in `start'
passenger (2.2.4) lib/phusion_passenger/railz/application_spawner.rb:213:in
`start'
passenger (2.2.4) lib/phusion_passenger/spawn_manager.rb:261:in
`spawn_rails_application'
passenger (2.2.4)
lib/phusion_passenger/abstract_server_collection.rb:126:in `lookup_or_add'
passenger (2.2.4) lib/phusion_passenger/spawn_manager.rb:255:in
`spawn_rails_application'
passenger (2.2.4) lib/phusion_passenger/abstract_server_collection.rb:80:in
`synchronize'
passenger (2.2.4) lib/phusion_passenger/abstract_server_collection.rb:79:in
`synchronize'
passenger (2.2.4) lib/phusion_passenger/spawn_manager.rb:254:in
`spawn_rails_application'
passenger (2.2.4) lib/phusion_passenger/spawn_manager.rb:153:in
`spawn_application'
passenger (2.2.4) lib/phusion_passenger/spawn_manager.rb:286:in
`handle_spawn_application'
passenger (2.2.4) lib/phusion_passenger/abstract_server.rb:351:in `__send__'
passenger (2.2.4) lib/phusion_passenger/abstract_server.rb:351:in `main_loop'
passenger (2.2.4) lib/phusion_passenger/abstract_server.rb:195:in
`start_synchronously'

* Params

{:saved=>#<Saved >}

* Session

{"action"=>"show", "id"=>"552", "controller"=>"attachments"}

* Request Env

nil

Original issue reported on code.google.com by fur...@gmail.com on 10 Dec 2009 at 7:03

GoogleCodeExporter commented 9 years ago
I'm not sure how you're arriving at this error. Can you provide more 
information? 

Bill

Original comment by waingram on 10 Dec 2009 at 8:08

GoogleCodeExporter commented 9 years ago
Sorry, I don't have any other info.  This error keeps showing up in the logs.  
I will
keep an eye one it and let you know if I figure anything more out.

There's also this one which looks related, not sure.

Processing WorksController#index (for 65.55.106.112 at 2009-12-10 14:59:38) 
[GET]
  Parameters: {"fq"=>["publication_facet:\"Journal of Marine Research\"",
"person_facet:\"John Farrington\""], "view"=>"all"}
Rendering template within layouts/application
Rendering works/index
Completed in 1310ms (View: 13, DB: 480) | 200 OK
[http://bibapp.mbl.edu/works?fq%5B%5D=publication_facet%3A%22Journal+of+Marine+R
esearch%22&fq%5B%5D=person_facet%3A%22John+Farrington%22&view=all]
/!\ FAILSAFE /!\  Thu Dec 10 14:59:39 -0500 2009
  Status: 500 Internal Server Error
  Missing template shared/_application_error.erb in view path app/views

/data/rails/bibapp/releases/20091208221306/vendor/rails/actionpack/lib/action_vi
ew/paths.rb:66:in
`find_template'

/data/rails/bibapp/releases/20091208221306/vendor/rails/actionpack/lib/action_vi
ew/partials.rb:236:in
`_unmemoized__pick_partial_template'

/data/rails/bibapp/releases/20091208221306/vendor/rails/activesupport/lib/active
_support/memoizable.rb:84:in
`_pick_partial_template'

/data/rails/bibapp/releases/20091208221306/vendor/rails/actionpack/lib/action_vi
ew/partials.rb:184:in
`render_partial'

/data/rails/bibapp/releases/20091208221306/vendor/rails/actionpack/lib/action_vi
ew/base.rb:262:in
`render_without_haml'

/home/jf27566/.gem/ruby/1.8/gems/haml-2.2.3/lib/haml/helpers/action_view_mods.rb
:13:in `render'

/data/rails/bibapp/releases/20091208221306/vendor/rails/actionpack/lib/action_co
ntroller/base.rb:973:in
`render_without_benchmark'

/data/rails/bibapp/releases/20091208221306/vendor/rails/actionpack/lib/action_co
ntroller/benchmarking.rb:51:in
`render'

/data/rails/bibapp/releases/20091208221306/vendor/rails/activesupport/lib/active
_support/core_ext/benchmark.rb:17:in
`ms'

/data/rails/bibapp/releases/20091208221306/vendor/rails/activesupport/lib/active
_support/core_ext/benchmark.rb:10:in
`realtime'

/data/rails/bibapp/releases/20091208221306/vendor/rails/activesupport/lib/active
_support/core_ext/benchmark.rb:17:in
`ms'

/data/rails/bibapp/releases/20091208221306/vendor/rails/actionpack/lib/action_co
ntroller/benchmarking.rb:51:in
`render'
    ./lib/error_handler.rb:35:in `rescue_action_in_public'

/data/rails/bibapp/releases/20091208221306/vendor/rails/actionpack/lib/action_co
ntroller/rescue.rb:154:in
`rescue_action_without_handler'

/data/rails/bibapp/releases/20091208221306/vendor/rails/actionpack/lib/action_co
ntroller/rescue.rb:74:in
`rescue_action'

/data/rails/bibapp/releases/20091208221306/vendor/rails/actionpack/lib/action_co
ntroller/base.rb:532:in
`send'

/data/rails/bibapp/releases/20091208221306/vendor/rails/actionpack/lib/action_co
ntroller/base.rb:532:in
`process_without_filters'

/data/rails/bibapp/releases/20091208221306/vendor/rails/actionpack/lib/action_co
ntroller/filters.rb:606:in
`sass_old_process'
    /home/jf27566/.gem/ruby/1.8/gems/haml-2.2.3/lib/sass/plugin/rails.rb:19:in `process'

/data/rails/bibapp/releases/20091208221306/vendor/rails/actionpack/lib/action_co
ntroller/rescue.rb:65:in
`call_with_exception'

/data/rails/bibapp/releases/20091208221306/vendor/rails/actionpack/lib/action_co
ntroller/dispatcher.rb:90:in
`dispatch'

/data/rails/bibapp/releases/20091208221306/vendor/rails/actionpack/lib/action_co
ntroller/dispatcher.rb:121:in
`_call'

/data/rails/bibapp/releases/20091208221306/vendor/rails/actionpack/lib/action_co
ntroller/dispatcher.rb:130:in
`build_middleware_stack'

/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rack-1.0.0/lib/rack/h
ead.rb:9:in
`call'

/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rack-1.0.0/lib/rack/h
ead.rb:9:in
`call'

/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rack-1.0.0/lib/rack/m
ethodoverride.rb:24:in
`call'

/data/rails/bibapp/releases/20091208221306/vendor/rails/actionpack/lib/action_co
ntroller/params_parser.rb:15:in
`call'

/data/rails/bibapp/releases/20091208221306/vendor/rails/actionpack/lib/action_co
ntroller/session/abstract_store.rb:122:in
`call'

/data/rails/bibapp/releases/20091208221306/vendor/rails/activerecord/lib/active_
record/query_cache.rb:29:in
`call'

/data/rails/bibapp/releases/20091208221306/vendor/rails/activerecord/lib/active_
record/connection_adapters/abstract/query_cache.rb:34:in
`cache'

/data/rails/bibapp/releases/20091208221306/vendor/rails/activerecord/lib/active_
record/query_cache.rb:9:in
`cache'

/data/rails/bibapp/releases/20091208221306/vendor/rails/activerecord/lib/active_
record/query_cache.rb:28:in
`call'

/data/rails/bibapp/releases/20091208221306/vendor/rails/activerecord/lib/active_
record/connection_adapters/abstract/connection_pool.rb:361:in
`call'

/data/rails/bibapp/releases/20091208221306/vendor/rails/actionpack/lib/action_co
ntroller/failsafe.rb:26:in
`call'

/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rack-1.0.0/lib/rack/l
ock.rb:11:in
`call'

/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rack-1.0.0/lib/rack/l
ock.rb:11:in
`synchronize'

/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rack-1.0.0/lib/rack/l
ock.rb:11:in
`call'

/data/rails/bibapp/releases/20091208221306/vendor/rails/actionpack/lib/action_co
ntroller/dispatcher.rb:106:in
`call'

/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/passenger-2.2.4/lib/p
husion_passenger/rack/request_handler.rb:91:in
`process_request'

/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/passenger-2.2.4/lib/p
husion_passenger/abstract_request_handler.rb:206:in
`main_loop'

/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/passenger-2.2.4/lib/p
husion_passenger/railz/application_spawner.rb:376:in
`start_request_handler'

/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/passenger-2.2.4/lib/p
husion_passenger/railz/application_spawner.rb:334:in
`handle_spawn_application'

/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/passenger-2.2.4/lib/p
husion_passenger/utils.rb:182:in
`safe_fork'

/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/passenger-2.2.4/lib/p
husion_passenger/railz/application_spawner.rb:332:in
`handle_spawn_application'

/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/passenger-2.2.4/lib/p
husion_passenger/abstract_server.rb:351:in
`__send__'

/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/passenger-2.2.4/lib/p
husion_passenger/abstract_server.rb:351:in
`main_loop'

/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/passenger-2.2.4/lib/p
husion_passenger/abstract_server.rb:195:in
`start_synchronously'

/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/passenger-2.2.4/lib/p
husion_passenger/abstract_server.rb:162:in
`start'

/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/passenger-2.2.4/lib/p
husion_passenger/railz/application_spawner.rb:213:in
`start'

/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/passenger-2.2.4/lib/p
husion_passenger/spawn_manager.rb:261:in
`spawn_rails_application'

/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/passenger-2.2.4/lib/p
husion_passenger/abstract_server_collection.rb:126:in
`lookup_or_add'

/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/passenger-2.2.4/lib/p
husion_passenger/spawn_manager.rb:255:in
`spawn_rails_application'

/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/passenger-2.2.4/lib/p
husion_passenger/abstract_server_collection.rb:80:in
`synchronize'

/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/passenger-2.2.4/lib/p
husion_passenger/abstract_server_collection.rb:79:in
`synchronize'

/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/passenger-2.2.4/lib/p
husion_passenger/spawn_manager.rb:254:in
`spawn_rails_application'

/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/passenger-2.2.4/lib/p
husion_passenger/spawn_manager.rb:153:in
`spawn_application'

/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/passenger-2.2.4/lib/p
husion_passenger/spawn_manager.rb:286:in
`handle_spawn_application'

/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/passenger-2.2.4/lib/p
husion_passenger/abstract_server.rb:351:in
`__send__'

/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/passenger-2.2.4/lib/p
husion_passenger/abstract_server.rb:351:in
`main_loop'

/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/passenger-2.2.4/lib/p
husion_passenger/abstract_server.rb:195:in
`start_synchronously'

/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/passenger-2.2.4/bin/p
assenger-spawn-server:61

Original comment by fur...@gmail.com on 11 Dec 2009 at 1:53

GoogleCodeExporter commented 9 years ago
I just added "ActionView::MissingTemplate" to the error handler as a 404 error. 
This 
should cut down on the errors caused by web crawlers.

Bill

Original comment by waingram on 11 Dec 2009 at 4:47