gwu-libraries / gw-sufia

GWU Libraries Self-Deposit Prototype - based on Sufia 4
2 stars 1 forks source link

EndNote link on an item results in "Something went wrong" page #141

Open kerchner opened 9 years ago

kerchner commented 9 years ago

Also verify whether or not EndNote and Mendeley are working for items with more metadata

kilahimm commented 9 years ago

I, [2015-04-16T09:50:15.855021 #17672] INFO -- : Completed 200 OK in 550ms (Views: 481.4ms | ActiveRecord: 10.1ms) I, [2015-04-16T09:58:28.243387 #17672] INFO -- : Started GET "/files/qj72p7427.endnote" for 128.164.213.87 at 2015-04-16 09:58:28 -0400 I, [2015-04-16T09:58:28.250234 #17672] INFO -- : Processing by GenericFilesController#show as ENDNOTE I, [2015-04-16T09:58:28.250434 #17672] INFO -- : Parameters: {"id"=>"qj72p7427"} I, [2015-04-16T09:58:28.455426 #17672] INFO -- : Completed 500 Internal Server Error in 205ms F, [2015-04-16T09:58:28.463011 #17672] FATAL -- : NameError (uninitialized constant Sufia::GenericFile::Export::Application): vendor/bundle/ruby/2.2.0/gems/sufia-models-4.2.0/app/models/concerns/sufia/generic_file/export.rb:24:in export_as_endnote' vendor/bundle/ruby/2.2.0/gems/sufia-4.2.0/app/controllers/concerns/sufia/files_controller_behavior.rb:106:inblock (2 levels) in show' vendor/bundle/ruby/2.2.0/gems/actionpack-4.0.5/lib/action_controller/metal/mime_responds.rb:191:in call' vendor/bundle/ruby/2.2.0/gems/actionpack-4.0.5/lib/action_controller/metal/mime_responds.rb:191:inrespond_to' vendor/bundle/ruby/2.2.0/gems/sufia-4.2.0/app/controllers/concerns/sufia/files_controller_behavior.rb:102:in show' vendor/bundle/ruby/2.2.0/gems/actionpack-4.0.5/lib/action_controller/metal/implicit_render.rb:4:insend_action' vendor/bundle/ruby/2.2.0/gems/actionpack-4.0.5/lib/abstract_controller/base.rb:189:in process_action' vendor/bundle/ruby/2.2.0/gems/actionpack-4.0.5/lib/action_controller/metal/rendering.rb:10:inprocess_action' vendor/bundle/ruby/2.2.0/gems/actionpack-4.0.5/lib/abstract_controller/callbacks.rb:18:in block in process_action' vendor/bundle/ruby/2.2.0/gems/activesupport-4.0.5/lib/active_support/callbacks.rb:473:in_run2328499950232183486process_actioncallbacks' vendor/bundle/ruby/2.2.0/gems/activesupport-4.0.5/lib/active_support/callbacks.rb:80:in run_callbacks' vendor/bundle/ruby/2.2.0/gems/actionpack-4.0.5/lib/abstract_controller/callbacks.rb:17:inprocess_action' vendor/bundle/ruby/2.2.0/gems/actionpack-4.0.5/lib/action_controller/metal/rescue.rb:29:in process_action' vendor/bundle/ruby/2.2.0/gems/actionpack-4.0.5/lib/action_controller/metal/instrumentation.rb:31:inblock in process_action' vendor/bundle/ruby/2.2.0/gems/activesupport-4.0.5/lib/active_support/notifications.rb:159:in block in instrument' vendor/bundle/ruby/2.2.0/gems/activesupport-4.0.5/lib/active_support/notifications/instrumenter.rb:20:ininstrument' vendor/bundle/ruby/2.2.0/gems/activesupport-4.0.5/lib/active_support/notifications.rb:159:in instrument' vendor/bundle/ruby/2.2.0/gems/actionpack-4.0.5/lib/action_controller/metal/instrumentation.rb:30:inprocess_action' vendor/bundle/ruby/2.2.0/gems/actionpack-4.0.5/lib/action_controller/metal/params_wrapper.rb:250:in process_action' vendor/bundle/ruby/2.2.0/gems/activerecord-4.0.5/lib/active_record/railties/controller_runtime.rb:18:inprocess_action' vendor/bundle/ruby/2.2.0/gems/actionpack-4.0.5/lib/abstract_controller/base.rb:136:in process' vendor/bundle/ruby/2.2.0/gems/actionpack-4.0.5/lib/abstract_controller/rendering.rb:44:inprocess' vendor/bundle/ruby/2.2.0/gems/actionpack-4.0.5/lib/action_controller/metal.rb:195:in dispatch' vendor/bundle/ruby/2.2.0/gems/actionpack-4.0.5/lib/action_controller/metal/rack_delegation.rb:13:indispatch' vendor/bundle/ruby/2.2.0/gems/actionpack-4.0.5/lib/action_controller/metal.rb:231:in block in action' vendor/bundle/ruby/2.2.0/gems/actionpack-4.0.5/lib/action_dispatch/routing/route_set.rb:80:incall' vendor/bundle/ruby/2.2.0/gems/actionpack-4.0.5/lib/action_dispatch/routing/route_set.rb:80:in dispatch' vendor/bundle/ruby/2.2.0/gems/actionpack-4.0.5/lib/action_dispatch/routing/route_set.rb:48:incall' vendor/bundle/ruby/2.2.0/gems/actionpack-4.0.5/lib/action_dispatch/journey/router.rb:71:in block in call' vendor/bundle/ruby/2.2.0/gems/actionpack-4.0.5/lib/action_dispatch/journey/router.rb:59:ineach' vendor/bundle/ruby/2.2.0/gems/actionpack-4.0.5/lib/action_dispatch/journey/router.rb:59:in call' vendor/bundle/ruby/2.2.0/gems/actionpack-4.0.5/lib/action_dispatch/routing/route_set.rb:674:incall' vendor/bundle/ruby/2.2.0/gems/railties-4.0.5/lib/rails/engine.rb:511:in call' vendor/bundle/ruby/2.2.0/gems/railties-4.0.5/lib/rails/railtie/configurable.rb:30:inmethod_missing' vendor/bundle/ruby/2.2.0/gems/actionpack-4.0.5/lib/action_dispatch/journey/router.rb:71:in block in call' vendor/bundle/ruby/2.2.0/gems/actionpack-4.0.5/lib/action_dispatch/journey/router.rb:59:ineach' vendor/bundle/ruby/2.2.0/gems/actionpack-4.0.5/lib/action_dispatch/journey/router.rb:59:in call' vendor/bundle/ruby/2.2.0/gems/actionpack-4.0.5/lib/action_dispatch/routing/route_set.rb:674:incall' vendor/bundle/ruby/2.2.0/gems/omniauth-1.2.2/lib/omniauth/strategy.rb:186:in call!' vendor/bundle/ruby/2.2.0/gems/omniauth-1.2.2/lib/omniauth/strategy.rb:164:incall' vendor/bundle/ruby/2.2.0/gems/warden-1.2.3/lib/warden/manager.rb:35:in block in call' vendor/bundle/ruby/2.2.0/gems/warden-1.2.3/lib/warden/manager.rb:34:incatch' vendor/bundle/ruby/2.2.0/gems/warden-1.2.3/lib/warden/manager.rb:34:in call' vendor/bundle/ruby/2.2.0/gems/rack-1.5.2/lib/rack/etag.rb:23:incall' vendor/bundle/ruby/2.2.0/gems/rack-1.5.2/lib/rack/conditionalget.rb:25:in call' vendor/bundle/ruby/2.2.0/gems/rack-1.5.2/lib/rack/head.rb:11:incall' vendor/bundle/ruby/2.2.0/gems/actionpack-4.0.5/lib/action_dispatch/middleware/params_parser.rb:27:in call' vendor/bundle/ruby/2.2.0/gems/actionpack-4.0.5/lib/action_dispatch/middleware/flash.rb:241:incall' vendor/bundle/ruby/2.2.0/gems/rack-1.5.2/lib/rack/session/abstract/id.rb:225:in context' vendor/bundle/ruby/2.2.0/gems/rack-1.5.2/lib/rack/session/abstract/id.rb:220:incall' vendor/bundle/ruby/2.2.0/gems/actionpack-4.0.5/lib/action_dispatch/middleware/cookies.rb:486:in call' vendor/bundle/ruby/2.2.0/gems/activerecord-4.0.5/lib/active_record/query_cache.rb:36:incall' vendor/bundle/ruby/2.2.0/gems/activerecord-4.0.5/lib/active_record/connection_adapters/abstract/connection_pool.rb:626:in call' vendor/bundle/ruby/2.2.0/gems/actionpack-4.0.5/lib/action_dispatch/middleware/callbacks.rb:29:inblock in call' vendor/bundle/ruby/2.2.0/gems/activesupport-4.0.5/lib/active_support/callbacks.rb:373:in `_run3736498499252944070callcallbacks' vendor/bundle/ruby/2.2.0/gems/activesupport-4.0.5/lib/active_support/callbacks.rb:80:inrun_callbacks' vendor/bundle/ruby/2.2.0/gems/actionpack-4.0.5/lib/action_dispatch/middleware/callbacks.rb:27:incall' vendor/bundle/ruby/2.2.0/gems/actionpack-4.0.5/lib/action_dispatch/middleware/remote_ip.rb:76:incall' vendor/bundle/ruby/2.2.0/gems/actionpack-4.0.5/lib/action_dispatch/middleware/debug_exceptions.rb:17:incall' vendor/bundle/ruby/2.2.0/gems/actionpack-4.0.5/lib/action_dispatch/middleware/show_exceptions.rb:30:incall' vendor/bundle/ruby/2.2.0/gems/railties-4.0.5/lib/rails/rack/logger.rb:38:incall_app' vendor/bundle/ruby/2.2.0/gems/railties-4.0.5/lib/rails/rack/logger.rb:20:inblock in call' vendor/bundle/ruby/2.2.0/gems/activesupport-4.0.5/lib/active_support/tagged_logging.rb:68:inblock in tagged' vendor/bundle/ruby/2.2.0/gems/activesupport-4.0.5/lib/active_support/tagged_logging.rb:26:intagged' vendor/bundle/ruby/2.2.0/gems/activesupport-4.0.5/lib/active_support/tagged_logging.rb:68:intagged' vendor/bundle/ruby/2.2.0/gems/railties-4.0.5/lib/rails/rack/logger.rb:20:incall' vendor/bundle/ruby/2.2.0/gems/actionpack-4.0.5/lib/action_dispatch/middleware/request_id.rb:21:incall' vendor/bundle/ruby/2.2.0/gems/rack-1.5.2/lib/rack/methodoverride.rb:21:incall' vendor/bundle/ruby/2.2.0/gems/rack-1.5.2/lib/rack/runtime.rb:17:incall' vendor/bundle/ruby/2.2.0/gems/activesupport-4.0.5/lib/active_support/cache/strategy/local_cache.rb:83:incall' vendor/bundle/ruby/2.2.0/gems/rack-1.5.2/lib/rack/sendfile.rb:112:incall' vendor/bundle/ruby/2.2.0/gems/railties-4.0.5/lib/rails/engine.rb:511:incall' vendor/bundle/ruby/2.2.0/gems/railties-4.0.5/lib/rails/application.rb:97:incall' /home/mihalik/.rvm/gems/ruby-2.2.0/gems/passenger-4.0.58/lib/phusion_passenger/rack/thread_handler_extension.rb:74:inprocess_request' /home/mihalik/.rvm/gems/ruby-2.2.0/gems/passenger-4.0.58/lib/phusion_passenger/request_handler/thread_handler.rb:141:inaccept_and_process_next_request' /home/mihalik/.rvm/gems/ruby-2.2.0/gems/passenger-4.0.58/lib/phusion_passenger/request_handler/thread_handler.rb:109:inmain_loop' /home/mihalik/.rvm/gems/ruby-2.2.0/gems/passenger-4.0.58/lib/phusion_passenger/request_handler.rb:455:inblock (3 levels) in start_threads'

kilahimm commented 9 years ago

Export to EndNote marked as fixed in Sufia 6.0