Running the latest: r1480
On importing a batch of about 470 records, I received the following message
on the Review Batch screen:
Import error: Formation of Taylor Caps Over a Tall Isolated Seamount in a
Stratified Ocean could not be imported. SIGHUP
All of the other records imported with no problems.
I tried to manually enter this record but got a 500 error (it's pasted
below). I thought that maybe this record did in fact exist in the db, but
searching for it gave me the same error. I then noticed that there was no
record in the works table with ID=18637.
Next I refreshed the SOLR index and this seems to have solved the problem.
I was able to search and not find this record, and then added it with no
problem.
Not sure why this happened. Was this record added to the SOLR index before
BibApp realized that there was an error associated with it and it was
removed from the db?
===== BibApp needs you! ====
* Exception
#<ActionView::TemplateError:
ActionView::TemplateError (Couldn't find Work with ID=18637) on line #56 of
app/views/shared/_work.html.haml:
53: -#"Find It" Link
54: -if link==:find_it
55: =link_to_findit(work)
56:
57: -#"Add to Saved" and "Remove from Saved" links
58: -if link==:saved
59: - if !@saved.nil? && !@saved.items.nil?
app/helpers/application_helper.rb:183:in `coin'
app/helpers/application_helper.rb:128:in `link_to_findit'
app/views/shared/_work.html.haml:56:in
`_run_haml_app47views47shared47_work46html46haml_locals_allow_select_links_array
_object_show_dupes_show_status_work'
app/views/shared/_work.html.haml:51:in `each'
app/views/shared/_work.html.haml:51:in
`_run_haml_app47views47shared47_work46html46haml_locals_allow_select_links_array
_object_show_dupes_show_status_work'
haml (2.2.3) lib/haml/helpers/action_view_mods.rb:11:in `render'
haml (2.2.3) lib/haml/helpers.rb:96:in `non_haml'
haml (2.2.3) lib/haml/helpers/action_view_mods.rb:11:in `render'
app/views/shared/_works.html.haml:69:in
`_run_haml_app47views47shared47_works46html46haml_locals_object_works'
app/views/shared/_works.html.haml:68:in `each'
app/views/shared/_works.html.haml:68:in
`_run_haml_app47views47shared47_works46html46haml_locals_object_works'
haml (2.2.3) lib/haml/helpers/action_view_mods.rb:11:in `render'
haml (2.2.3) lib/haml/helpers.rb:96:in `non_haml'
haml (2.2.3) lib/haml/helpers/action_view_mods.rb:11:in `render'
app/views/search/index.html.haml:49:in
`_run_haml_app47views47search47index46html46haml'
haml (2.2.3) lib/haml/helpers/action_view_mods.rb:13:in `render'
haml (2.2.3) lib/haml/helpers/action_view_mods.rb:13:in `render'
app/controllers/search_controller.rb:7:in `index'
haml (2.2.3) rails/./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'
* Clean Backtrace
On line #56 of app/views/shared/_work.html.haml
53: -#"Find It" Link
54: -if link==:find_it
55: =link_to_findit(work)
56:
57: -#"Add to Saved" and "Remove from Saved" links
58: -if link==:saved
59: - if !@saved.nil? && !@saved.items.nil?
app/helpers/application_helper.rb:183:in `coin'
app/helpers/application_helper.rb:128:in `link_to_findit'
app/views/shared/_work.html.haml:56:in
`_run_haml_app47views47shared47_work46html46haml_locals_allow_select_links_array
_object_show_dupes_show_status_work'
app/views/shared/_work.html.haml:51:in `each'
app/views/shared/_work.html.haml:51:in
`_run_haml_app47views47shared47_work46html46haml_locals_allow_select_links_array
_object_show_dupes_show_status_work'
haml (2.2.3) lib/haml/helpers/action_view_mods.rb:11:in `render'
haml (2.2.3) lib/haml/helpers.rb:96:in `non_haml'
haml (2.2.3) lib/haml/helpers/action_view_mods.rb:11:in `render'
app/views/shared/_works.html.haml:69:in
`_run_haml_app47views47shared47_works46html46haml_locals_object_works'
app/views/shared/_works.html.haml:68:in `each'
app/views/shared/_works.html.haml:68:in
`_run_haml_app47views47shared47_works46html46haml_locals_object_works'
haml (2.2.3) lib/haml/helpers/action_view_mods.rb:11:in `render'
haml (2.2.3) lib/haml/helpers.rb:96:in `non_haml'
haml (2.2.3) lib/haml/helpers/action_view_mods.rb:11:in `render'
app/views/search/index.html.haml:49:in
`_run_haml_app47views47search47index46html46haml'
haml (2.2.3) lib/haml/helpers/action_view_mods.rb:13:in `render'
haml (2.2.3) lib/haml/helpers/action_view_mods.rb:13:in `render'
app/controllers/search_controller.rb:7:in `index'
haml (2.2.3) rails//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
{:_csrf_token=>"Fan4tNhVZUb5DOcKJ4rS8wzdqB97VTVRSY4GceFlZp8=", :user_id=>1,
:saved=>#<Saved >, "flash"=>{}}
* Session
{"commit"=>"Search", "action"=>"index", "q"=>"FORMATION OF TAYLOR CAPS OVER
A TALL ISOLATED SEAMOUNT IN A STRATIFIED OCEAN", "controller"=>"search",
"sort"=>"created_at"}
* Request Env
nil
- - - -
Keeping it forever real,
-The BibApp
Original issue reported on code.google.com by fur...@gmail.com on 23 Feb 2010 at 5:08
Original issue reported on code.google.com by
fur...@gmail.com
on 23 Feb 2010 at 5:08