Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Error log resulting from attempt to create empty work.
Started POST "/works" for 127.0.0.1 at 2015-06-19 13:43:50 -0400
Processing by CurationConcern::GenericWorksController#create as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"qL/V+XGs8GE8s0pwc5i30BZbuJP6xqVCMxp6YeRrnkKaZaTZrDW1+kKMx7mzd0zKggTy32dind3QeDxr7ExTNw==", "generic_work"=>{"resource_type"=>["", "Other"], "title"=>["EmptyWork"], "creator"=>["Colin A. Gross"], "contributor"=>[""], "description"=>[""], "tag"=>["blue"], "rights"=>["", "http://creativecommons.org/licenses/by/3.0/us/"], "publisher"=>[""], "date_created"=>[""], "subject"=>[""], "language"=>[""], "identifier"=>[""], "based_near"=>[""], "related_url"=>[""]}, "visibility"=>"open", "new_user_name_skel"=>"", "new_user_permission_skel"=>"none", "new_group_name_skel"=>"Select a group", "new_group_permission_skel"=>"none", "save_without_files"=>"Save without Files"}
User Load (4.6ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]]
(3.9ms) SELECT DISTINCT COUNT(DISTINCT "mailboxer_conversations"."id") FROM "mailboxer_conversations" INNER JOIN "mailboxer_notifications" ON "mailboxer_notifications"."conversation_id" = "mailboxer_conversations"."id" AND "mailboxer_notifications"."type" IN ('Mailboxer::Message') INNER JOIN "mailboxer_receipts" ON "mailboxer_receipts"."notification_id" = "mailboxer_notifications"."id" WHERE "mailboxer_notifications"."type" = 'Mailboxer::Message' AND "mailboxer_receipts"."mailbox_type" = ? AND "mailboxer_receipts"."trashed" = 'f' AND "mailboxer_receipts"."deleted" = 'f' AND "mailboxer_notifications"."type" = 'Mailboxer::Message' AND "mailboxer_receipts"."receiver_id" = ? AND "mailboxer_receipts"."receiver_type" = ? AND "mailboxer_receipts"."is_read" = 'f' [["mailbox_type", "inbox"], ["receiver_id", 2], ["receiver_type", "User"]]
Mailboxer::Conversation Load (4.6ms) SELECT DISTINCT "mailboxer_conversations".* FROM "mailboxer_conversations" INNER JOIN "mailboxer_notifications" ON "mailboxer_notifications"."conversation_id" = "mailboxer_conversations"."id" AND "mailboxer_notifications"."type" IN ('Mailboxer::Message') INNER JOIN "mailboxer_receipts" ON "mailboxer_receipts"."notification_id" = "mailboxer_notifications"."id" WHERE "mailboxer_notifications"."type" = 'Mailboxer::Message' AND "mailboxer_receipts"."receiver_id" = ? AND "mailboxer_receipts"."receiver_type" = ? AND "mailboxer_receipts"."mailbox_type" = ? AND "mailboxer_receipts"."trashed" = 'f' AND "mailboxer_receipts"."deleted" = 'f' ORDER BY mailboxer_conversations.updated_at DESC [["receiver_id", 2], ["receiver_type", "User"], ["mailbox_type", "inbox"]]
Unpermitted parameters: title, description
Usergroups are ["public", "registered"]
HTTP HEAD (32.24ms) http://localhost:8080/tomcat/quod-dev/fedora/rest/umrdr/rj/43/04/58/rj430458x
Response status Net::HTTPNotFound (404)
HTTP HEAD (31.60ms) http://localhost:8080/tomcat/quod-dev/fedora/rest/umrdr/rj/43/04/59/rj4304596
Response status Net::HTTPNotFound (404)
HTTP HEAD (30.98ms) http://localhost:8080/tomcat/quod-dev/fedora/rest/umrdr/rj/43/04/59/rj4304596
Response status Net::HTTPNotFound (404)
HTTP PUT (59.01ms) http://localhost:8080/tomcat/quod-dev/fedora/rest/umrdr/rj/43/04/59/rj4304596
Request body
<> a <http://pcdm.org/models#Object>;
<http://purl.org/dc/terms/title> "EmptyWork";
<http://id.loc.gov/vocabulary/relators/dpt> "demo_user";
<http://purl.org/dc/terms/creator> "Colin A. Gross";
<http://purl.org/dc/terms/dateSubmitted> "2015-06-19"^^<http://www.w3.org/2001/XMLSchema#date>;
<http://purl.org/dc/terms/modified> "2015-06-19"^^<http://www.w3.org/2001/XMLSchema#date>;
<http://purl.org/dc/terms/relation> "blue";
<http://purl.org/dc/terms/rights> "http://creativecommons.org/licenses/by/3.0/us/";
<http://purl.org/dc/terms/type> "Other";
<info:fedora/fedora-system:def/model#hasModel> "GenericWork" .
Response status Net::HTTPCreated (201)
Response body http://localhost:8080/tomcat/quod-dev/fedora/rest/umrdr/rj/43/04/59/rj4304596
HTTP HEAD (29.93ms) http://localhost:8080/tomcat/quod-dev/fedora/rest/umrdr/rj/43/04/59/rj4304596/content
Response status Net::HTTPNotFound (404)
HTTP HEAD (28.36ms) http://localhost:8080/tomcat/quod-dev/fedora/rest/umrdr/rj/43/04/59/rj4304596/thumbnail
Response status Net::HTTPNotFound (404)
HTTP HEAD (32.63ms) http://localhost:8080/tomcat/quod-dev/fedora/rest/umrdr/04//5/9//rj/04/59/rj4304596
Response status Net::HTTPInternalServerError (500)
Completed 500 Internal Server Error in 737ms (ActiveRecord: 13.0ms)
Ldp::HttpError (STATUS: 500 ...):
.bundle/ruby/2.2.0/gems/ldp-0.3.1/lib/ldp/client/methods.rb:108:in `block in check_for_errors'
.bundle/ruby/2.2.0/gems/ldp-0.3.1/lib/ldp/client/methods.rb:106:in `tap'
.bundle/ruby/2.2.0/gems/ldp-0.3.1/lib/ldp/client/methods.rb:106:in `check_for_errors'
.bundle/ruby/2.2.0/gems/ldp-0.3.1/lib/ldp/client/methods.rb:24:in `head'
.bundle/ruby/2.2.0/gems/ldp-0.3.1/lib/ldp/resource.rb:48:in `head'
.bundle/ruby/2.2.0/gems/ldp-0.3.1/lib/ldp/resource.rb:31:in `new?'
.bundle/ruby/2.2.0/gems/ldp-0.3.1/lib/ldp/resource/rdf_source.rb:31:in `graph'
.bundle/ruby/2.2.0/bundler/gems/active_fedora-57ac75495fca/lib/active_fedora/fedora_attributes.rb:68:in `resource'
.bundle/ruby/2.2.0/bundler/gems/active_fedora-57ac75495fca/lib/active_fedora/fedora_attributes.rb:9:in `get_values'
.bundle/ruby/2.2.0/gems/active-triples-0.7.1/lib/active_triples/property_builder.rb:41:in `create_date'
.bundle/ruby/2.2.0/bundler/gems/active_fedora-57ac75495fca/lib/active_fedora/fedora_attributes.rb:16:in `create_date'
.bundle/ruby/2.2.0/bundler/gems/active_fedora-57ac75495fca/lib/active_fedora/indexing_service.rb:54:in `c_time'
.bundle/ruby/2.2.0/bundler/gems/active_fedora-57ac75495fca/lib/active_fedora/indexing_service.rb:36:in `generate_solr_document'
.bundle/ruby/2.2.0/bundler/gems/hydra-pcdm-c8a4654e2dba/lib/hydra/pcdm/object_indexer.rb:4:in `generate_solr_document'
.bundle/ruby/2.2.0/bundler/gems/sufia-7558ae333bde/sufia-models/app/services/sufia/generic_work_indexing_service.rb:6:in `generate_solr_document'
.bundle/ruby/2.2.0/bundler/gems/active_fedora-57ac75495fca/lib/active_fedora/indexing.rb:15:in `to_solr'
.bundle/ruby/2.2.0/bundler/gems/sufia-7558ae333bde/sufia-models/app/models/concerns/sufia/works/curation_concern/human_readable_type.rb:17:in `to_solr'
.bundle/ruby/2.2.0/gems/hydra-access-controls-9.1.4/app/models/concerns/hydra/access_controls/permissions.rb:15:in `to_solr'
.bundle/ruby/2.2.0/bundler/gems/active_fedora-57ac75495fca/lib/active_fedora/indexing.rb:24:in `update_index'
.bundle/ruby/2.2.0/bundler/gems/active_fedora-57ac75495fca/lib/active_fedora/indexing.rb:46:in `create_record'
.bundle/ruby/2.2.0/bundler/gems/active_fedora-57ac75495fca/lib/active_fedora/callbacks.rb:237:in `block (2 levels) in create_record'
.bundle/ruby/2.2.0/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:117:in `call'
.bundle/ruby/2.2.0/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:117:in `call'
.bundle/ruby/2.2.0/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:555:in `block (2 levels) in compile'
.bundle/ruby/2.2.0/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:505:in `call'
.bundle/ruby/2.2.0/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:505:in `call'
.bundle/ruby/2.2.0/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
.bundle/ruby/2.2.0/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_save_callbacks'
.bundle/ruby/2.2.0/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:81:in `run_callbacks'
.bundle/ruby/2.2.0/bundler/gems/active_fedora-57ac75495fca/lib/active_fedora/callbacks.rb:237:in `block in create_record'
.bundle/ruby/2.2.0/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:117:in `call'
.bundle/ruby/2.2.0/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:117:in `call'
.bundle/ruby/2.2.0/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:555:in `block (2 levels) in compile'
.bundle/ruby/2.2.0/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:505:in `call'
.bundle/ruby/2.2.0/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:505:in `call'
.bundle/ruby/2.2.0/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
.bundle/ruby/2.2.0/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_create_callbacks'
.bundle/ruby/2.2.0/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:81:in `run_callbacks'
.bundle/ruby/2.2.0/bundler/gems/active_fedora-57ac75495fca/lib/active_fedora/callbacks.rb:236:in `create_record'
.bundle/ruby/2.2.0/bundler/gems/active_fedora-57ac75495fca/lib/active_fedora/persistence.rb:144:in `create_or_update'
.bundle/ruby/2.2.0/bundler/gems/active_fedora-57ac75495fca/lib/active_fedora/persistence.rb:27:in `save'
.bundle/ruby/2.2.0/bundler/gems/active_fedora-57ac75495fca/lib/active_fedora/validations.rb:50:in `save'
.bundle/ruby/2.2.0/bundler/gems/sufia-7558ae333bde/sufia-models/app/actors/curation_concern/base_actor.rb:54:in `save'
.bundle/ruby/2.2.0/bundler/gems/sufia-7558ae333bde/sufia-models/app/actors/curation_concern/base_actor.rb:25:in `create'
.bundle/ruby/2.2.0/bundler/gems/sufia-7558ae333bde/sufia-models/app/actors/curation_concern/generic_work_actor.rb:9:in `create'
.bundle/ruby/2.2.0/bundler/gems/sufia-7558ae333bde/app/controllers/concerns/worthwhile/curation_concern_controller.rb:35:in `create'
.bundle/ruby/2.2.0/gems/actionpack-4.2.1/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
.bundle/ruby/2.2.0/gems/actionpack-4.2.1/lib/abstract_controller/base.rb:198:in `process_action'
.bundle/ruby/2.2.0/gems/actionpack-4.2.1/lib/action_controller/metal/rendering.rb:10:in `process_action'
.bundle/ruby/2.2.0/gems/actionpack-4.2.1/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
.bundle/ruby/2.2.0/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:117:in `call'
.bundle/ruby/2.2.0/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:117:in `call'
.bundle/ruby/2.2.0/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:555:in `block (2 levels) in compile'
.bundle/ruby/2.2.0/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:505:in `call'
.bundle/ruby/2.2.0/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:505:in `call'
.bundle/ruby/2.2.0/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'
.bundle/ruby/2.2.0/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_process_action_callbacks'
.bundle/ruby/2.2.0/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:81:in `run_callbacks'
.bundle/ruby/2.2.0/gems/actionpack-4.2.1/lib/abstract_controller/callbacks.rb:19:in `process_action'
.bundle/ruby/2.2.0/gems/actionpack-4.2.1/lib/action_controller/metal/rescue.rb:29:in `process_action'
.bundle/ruby/2.2.0/gems/actionpack-4.2.1/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
.bundle/ruby/2.2.0/gems/activesupport-4.2.1/lib/active_support/notifications.rb:164:in `block in instrument'
.bundle/ruby/2.2.0/gems/activesupport-4.2.1/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
.bundle/ruby/2.2.0/gems/activesupport-4.2.1/lib/active_support/notifications.rb:164:in `instrument'
.bundle/ruby/2.2.0/gems/actionpack-4.2.1/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
.bundle/ruby/2.2.0/gems/actionpack-4.2.1/lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
.bundle/ruby/2.2.0/gems/activerecord-4.2.1/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
.bundle/ruby/2.2.0/gems/actionpack-4.2.1/lib/abstract_controller/base.rb:137:in `process'
.bundle/ruby/2.2.0/gems/actionview-4.2.1/lib/action_view/rendering.rb:30:in `process'
.bundle/ruby/2.2.0/gems/actionpack-4.2.1/lib/action_controller/metal.rb:196:in `dispatch'
.bundle/ruby/2.2.0/gems/actionpack-4.2.1/lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
.bundle/ruby/2.2.0/gems/actionpack-4.2.1/lib/action_controller/metal.rb:237:in `block in action'
.bundle/ruby/2.2.0/gems/actionpack-4.2.1/lib/action_dispatch/routing/route_set.rb:74:in `call'
.bundle/ruby/2.2.0/gems/actionpack-4.2.1/lib/action_dispatch/routing/route_set.rb:74:in `dispatch'
.bundle/ruby/2.2.0/gems/actionpack-4.2.1/lib/action_dispatch/routing/route_set.rb:43:in `serve'
.bundle/ruby/2.2.0/gems/actionpack-4.2.1/lib/action_dispatch/journey/router.rb:43:in `block in serve'
.bundle/ruby/2.2.0/gems/actionpack-4.2.1/lib/action_dispatch/journey/router.rb:30:in `each'
.bundle/ruby/2.2.0/gems/actionpack-4.2.1/lib/action_dispatch/journey/router.rb:30:in `serve'
.bundle/ruby/2.2.0/gems/actionpack-4.2.1/lib/action_dispatch/routing/route_set.rb:819:in `call'
.bundle/ruby/2.2.0/gems/railties-4.2.1/lib/rails/engine.rb:518:in `call'
.bundle/ruby/2.2.0/gems/railties-4.2.1/lib/rails/railtie.rb:194:in `public_send'
.bundle/ruby/2.2.0/gems/railties-4.2.1/lib/rails/railtie.rb:194:in `method_missing'
.bundle/ruby/2.2.0/gems/actionpack-4.2.1/lib/action_dispatch/routing/mapper.rb:51:in `serve'
.bundle/ruby/2.2.0/gems/actionpack-4.2.1/lib/action_dispatch/journey/router.rb:43:in `block in serve'
.bundle/ruby/2.2.0/gems/actionpack-4.2.1/lib/action_dispatch/journey/router.rb:30:in `each'
.bundle/ruby/2.2.0/gems/actionpack-4.2.1/lib/action_dispatch/journey/router.rb:30:in `serve'
.bundle/ruby/2.2.0/gems/actionpack-4.2.1/lib/action_dispatch/routing/route_set.rb:819:in `call'
.bundle/ruby/2.2.0/gems/warden-1.2.3/lib/warden/manager.rb:35:in `block in call'
.bundle/ruby/2.2.0/gems/warden-1.2.3/lib/warden/manager.rb:34:in `catch'
.bundle/ruby/2.2.0/gems/warden-1.2.3/lib/warden/manager.rb:34:in `call'
.bundle/ruby/2.2.0/gems/rack-1.6.4/lib/rack/etag.rb:24:in `call'
.bundle/ruby/2.2.0/gems/rack-1.6.4/lib/rack/conditionalget.rb:38:in `call'
.bundle/ruby/2.2.0/gems/rack-1.6.4/lib/rack/head.rb:13:in `call'
.bundle/ruby/2.2.0/gems/actionpack-4.2.1/lib/action_dispatch/middleware/params_parser.rb:27:in `call'
.bundle/ruby/2.2.0/gems/actionpack-4.2.1/lib/action_dispatch/middleware/flash.rb:260:in `call'
.bundle/ruby/2.2.0/gems/rack-1.6.4/lib/rack/session/abstract/id.rb:225:in `context'
.bundle/ruby/2.2.0/gems/rack-1.6.4/lib/rack/session/abstract/id.rb:220:in `call'
.bundle/ruby/2.2.0/gems/actionpack-4.2.1/lib/action_dispatch/middleware/cookies.rb:560:in `call'
.bundle/ruby/2.2.0/gems/activerecord-4.2.1/lib/active_record/query_cache.rb:36:in `call'
.bundle/ruby/2.2.0/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:649:in `call'
.bundle/ruby/2.2.0/bundler/gems/active_fedora-57ac75495fca/lib/active_fedora/ldp_cache.rb:26:in `call'
.bundle/ruby/2.2.0/gems/activerecord-4.2.1/lib/active_record/migration.rb:378:in `call'
.bundle/ruby/2.2.0/gems/actionpack-4.2.1/lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
.bundle/ruby/2.2.0/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:88:in `call'
.bundle/ruby/2.2.0/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:88:in `_run_callbacks'
.bundle/ruby/2.2.0/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_call_callbacks'
.bundle/ruby/2.2.0/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:81:in `run_callbacks'
.bundle/ruby/2.2.0/gems/actionpack-4.2.1/lib/action_dispatch/middleware/callbacks.rb:27:in `call'
.bundle/ruby/2.2.0/gems/actionpack-4.2.1/lib/action_dispatch/middleware/reloader.rb:73:in `call'
.bundle/ruby/2.2.0/gems/actionpack-4.2.1/lib/action_dispatch/middleware/remote_ip.rb:78:in `call'
.bundle/ruby/2.2.0/gems/actionpack-4.2.1/lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
.bundle/ruby/2.2.0/gems/web-console-2.1.3/lib/web_console/middleware.rb:37:in `call'
.bundle/ruby/2.2.0/gems/actionpack-4.2.1/lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
.bundle/ruby/2.2.0/gems/railties-4.2.1/lib/rails/rack/logger.rb:38:in `call_app'
.bundle/ruby/2.2.0/gems/railties-4.2.1/lib/rails/rack/logger.rb:20:in `block in call'
.bundle/ruby/2.2.0/gems/activesupport-4.2.1/lib/active_support/tagged_logging.rb:68:in `block in tagged'
.bundle/ruby/2.2.0/gems/activesupport-4.2.1/lib/active_support/tagged_logging.rb:26:in `tagged'
.bundle/ruby/2.2.0/gems/activesupport-4.2.1/lib/active_support/tagged_logging.rb:68:in `tagged'
.bundle/ruby/2.2.0/gems/railties-4.2.1/lib/rails/rack/logger.rb:20:in `call'
.bundle/ruby/2.2.0/gems/actionpack-4.2.1/lib/action_dispatch/middleware/request_id.rb:21:in `call'
.bundle/ruby/2.2.0/gems/rack-1.6.4/lib/rack/methodoverride.rb:22:in `call'
.bundle/ruby/2.2.0/gems/rack-1.6.4/lib/rack/runtime.rb:18:in `call'
.bundle/ruby/2.2.0/gems/activesupport-4.2.1/lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
.bundle/ruby/2.2.0/gems/rack-1.6.4/lib/rack/lock.rb:17:in `call'
.bundle/ruby/2.2.0/gems/actionpack-4.2.1/lib/action_dispatch/middleware/static.rb:113:in `call'
.bundle/ruby/2.2.0/gems/rack-1.6.4/lib/rack/sendfile.rb:113:in `call'
.bundle/ruby/2.2.0/gems/railties-4.2.1/lib/rails/engine.rb:518:in `call'
.bundle/ruby/2.2.0/gems/railties-4.2.1/lib/rails/application.rb:164:in `call'
.bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/rack_patch.rb:13:in `call'
.bundle/ruby/2.2.0/gems/sinatra-1.4.6/lib/sinatra/base.rb:218:in `call'
.bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/configuration.rb:51:in `call'
.bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/server.rb:507:in `handle_request'
.bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/server.rb:375:in `process_client'
.bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/server.rb:262:in `block in run'
.bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/thread_pool.rb:104:in `call'
.bundle/ruby/2.2.0/gems/puma-2.11.3/lib/puma/thread_pool.rb:104:in `block in spawn_thread'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.