Created
June 8, 2016 20:16
-
-
Save mark-dce/cf9f2caa143f957bf85aace34cb6c6aa to your computer and use it in GitHub Desktop.
import-cylinders on ucsb.curationexperts.com
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ RAILS_ENV=production ./bin/ingest-cylinders /data/metadata-cylinders/cylinders_samples_only_marc.xml /data/objects-cylinders/ | |
Loading environment... | |
DEPRECATION WARNING: ActiveFedora::SolrQueryBuilder.solr_name is deprecated and will be removed in ActiveFedora 10.0. Use ActiveFedora.index_field_mapper.solr_name instead. (called from solr_name at /opt/alexandria-v2/shared/bundle/ruby/2.3.0/gems/hydra-access-controls-9.8.1/lib/hydra/config.rb:134) | |
... | |
DEPRECATION WARNING: ActiveFedora::SolrQueryBuilder.solr_name is deprecated and will be removed in ActiveFedora 10.0. Use ActiveFedora.index_field_mapper.solr_name instead. (called from solr_name at /opt/alexandria-v2/shared/bundle/ruby/2.3.0/gems/hydra-core-9.8.1/app/controllers/concerns/hydra/controller/controller_behavior.rb:37) | |
Starting import... | |
2016-06-08T20:13:04+00:00 INFO traject (2.3.1) executing with: `-c lib/traject/audio_config.rb -s files_directory=/data/objects-cylinders/ /data/metadata-cylinders/cylinders_samples_only_marc.xml` | |
2016-06-08T20:13:04+00:00 INFO Reading from /data/metadata-cylinders/cylinders_samples_only_marc.xml | |
2016-06-08T20:13:04+00:00 INFO Indexer with 0 processing threads, reader: Traject::MarcReader and writer: ObjectFactoryWriter | |
WARNING: Unable to determine contributor role. Expected to find subfield 'e' or '4', but subfield wasn't found. MARC field: 100 | |
2016-06-08T20:13:08+00:00 FATAL Traject::CommandLine: Unexpected exception, terminating execution: #<NoMethodError: undefined method `pcdm_object?' for nil:NilClass> | |
/opt/alexandria-v2/shared/bundle/ruby/2.3.0/gems/hydra-pcdm-0.7.0/lib/hydra/pcdm/models/concerns/pcdm_behavior.rb:44:in `select': undefined method `pcdm_object?' for nil:NilClass (NoMethodError) | |
from /opt/alexandria-v2/shared/bundle/ruby/2.3.0/gems/hydra-pcdm-0.7.0/lib/hydra/pcdm/models/concerns/pcdm_behavior.rb:44:in `ordered_objects' | |
from /opt/alexandria-v2/shared/bundle/ruby/2.3.0/gems/hydra-pcdm-0.7.0/lib/hydra/pcdm/models/concerns/pcdm_behavior.rb:48:in `ordered_object_ids' | |
from /opt/alexandria-v2/shared/bundle/ruby/2.3.0/gems/hydra-pcdm-0.7.0/lib/hydra/pcdm/object_indexer.rb:8:in `block in generate_solr_document' | |
from /opt/alexandria-v2/shared/bundle/ruby/2.3.0/gems/hydra-pcdm-0.7.0/lib/hydra/pcdm/object_indexer.rb:4:in `tap' | |
from /opt/alexandria-v2/shared/bundle/ruby/2.3.0/gems/hydra-pcdm-0.7.0/lib/hydra/pcdm/object_indexer.rb:4:in `generate_solr_document' | |
from /opt/alexandria-v2/shared/bundle/ruby/2.3.0/gems/hydra-pcdm-0.7.0/lib/hydra/pcdm/collection_indexer.rb:4:in `generate_solr_document' | |
from /opt/alexandria-v2/shared/bundle/ruby/2.3.0/gems/curation_concerns-models-0.10.0/app/services/curation_concerns/indexes_thumbnails.rb:14:in `generate_solr_document' | |
from /opt/alexandria-v2/shared/bundle/ruby/2.3.0/gems/curation_concerns-models-0.10.0/app/indexers/curation_concerns/collection_indexer.rb:7:in `generate_solr_document' | |
from /opt/alexandria-v2/shared/bundle/ruby/2.3.0/gems/active-fedora-9.13.0/lib/active_fedora/indexing.rb:33:in `to_solr' | |
from /opt/alexandria-v2/shared/bundle/ruby/2.3.0/gems/hydra-access-controls-9.8.1/app/models/concerns/hydra/access_controls/permissions.rb:15:in `to_solr' | |
from /opt/alexandria-v2/shared/bundle/ruby/2.3.0/gems/curation_concerns-models-0.10.0/app/models/concerns/curation_concerns/human_readable_type.rb:11:in `to_solr' | |
from /opt/alexandria-v2/shared/bundle/ruby/2.3.0/gems/active-fedora-9.13.0/lib/active_fedora/indexing.rb:42:in `update_index' | |
from /opt/alexandria-v2/shared/bundle/ruby/2.3.0/gems/active-fedora-9.13.0/lib/active_fedora/indexing.rb:71:in `_update_record' | |
from /opt/alexandria-v2/shared/bundle/ruby/2.3.0/gems/active-fedora-9.13.0/lib/active_fedora/callbacks.rb:244:in `block in _update_record' | |
from /opt/alexandria-v2/shared/bundle/ruby/2.3.0/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb:117:in `call' | |
from /opt/alexandria-v2/shared/bundle/ruby/2.3.0/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' | |
from /opt/alexandria-v2/shared/bundle/ruby/2.3.0/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb:505:in `call' | |
from /opt/alexandria-v2/shared/bundle/ruby/2.3.0/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb:92:in `__run_callbacks__' | |
from /opt/alexandria-v2/shared/bundle/ruby/2.3.0/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb:778:in `_run_update_callbacks' | |
from /opt/alexandria-v2/shared/bundle/ruby/2.3.0/gems/active-fedora-9.13.0/lib/active_fedora/callbacks.rb:244:in `_update_record' | |
from /opt/alexandria-v2/shared/bundle/ruby/2.3.0/gems/active-fedora-9.13.0/lib/active_fedora/persistence.rb:159:in `create_or_update' | |
from /opt/alexandria-v2/shared/bundle/ruby/2.3.0/gems/active-fedora-9.13.0/lib/active_fedora/callbacks.rb:236:in `block in create_or_update' | |
from /opt/alexandria-v2/shared/bundle/ruby/2.3.0/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb:117:in `call' | |
from /opt/alexandria-v2/shared/bundle/ruby/2.3.0/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' | |
from /opt/alexandria-v2/shared/bundle/ruby/2.3.0/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb:505:in `call' | |
from /opt/alexandria-v2/shared/bundle/ruby/2.3.0/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb:92:in `__run_callbacks__' | |
from /opt/alexandria-v2/shared/bundle/ruby/2.3.0/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb:778:in `_run_save_callbacks' | |
from /opt/alexandria-v2/shared/bundle/ruby/2.3.0/gems/active-fedora-9.13.0/lib/active_fedora/callbacks.rb:236:in `create_or_update' | |
from /opt/alexandria-v2/shared/bundle/ruby/2.3.0/gems/active-fedora-9.13.0/lib/active_fedora/persistence.rb:33:in `save!' | |
from /opt/alexandria-v2/shared/bundle/ruby/2.3.0/gems/active-fedora-9.13.0/lib/active_fedora/validations.rb:56:in `save!' | |
from /opt/alexandria-v2/shared/bundle/ruby/2.3.0/gems/active-fedora-9.13.0/lib/active_fedora/associations/builder/orders.rb:47:in `save!' | |
from /opt/alexandria-v2/releases/20160607190804/lib/importer/factory/with_associated_collection.rb:28:in `add_to_collection' | |
from /opt/alexandria-v2/releases/20160607190804/lib/importer/factory/with_associated_collection.rb:20:in `maybe_add_to_collection' | |
from /opt/alexandria-v2/shared/bundle/ruby/2.3.0/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb:432:in `block in make_lambda' | |
from /opt/alexandria-v2/shared/bundle/ruby/2.3.0/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb:228:in `block in halting_and_conditional' | |
from /opt/alexandria-v2/shared/bundle/ruby/2.3.0/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb:506:in `block in call' | |
from /opt/alexandria-v2/shared/bundle/ruby/2.3.0/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb:506:in `each' | |
from /opt/alexandria-v2/shared/bundle/ruby/2.3.0/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb:506:in `call' | |
from /opt/alexandria-v2/shared/bundle/ruby/2.3.0/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb:92:in `__run_callbacks__' | |
from /opt/alexandria-v2/shared/bundle/ruby/2.3.0/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb:778:in `_run_save_callbacks' | |
from /opt/alexandria-v2/shared/bundle/ruby/2.3.0/gems/activesupport-4.2.5.2/lib/active_support/callbacks.rb:81:in `run_callbacks' | |
from /opt/alexandria-v2/releases/20160607190804/lib/importer/factory/object_factory.rb:39:in `update' | |
from /opt/alexandria-v2/releases/20160607190804/lib/importer/factory/object_factory.rb:21:in `block in run' | |
from /opt/alexandria-v2/shared/bundle/ruby/2.3.0/gems/activesupport-4.2.5.2/lib/active_support/notifications.rb:164:in `block in instrument' | |
from /opt/alexandria-v2/shared/bundle/ruby/2.3.0/gems/activesupport-4.2.5.2/lib/active_support/notifications/instrumenter.rb:20:in `instrument' | |
from /opt/alexandria-v2/shared/bundle/ruby/2.3.0/gems/activesupport-4.2.5.2/lib/active_support/notifications.rb:164:in `instrument' | |
from /opt/alexandria-v2/releases/20160607190804/lib/importer/factory/object_factory.rb:19:in `run' | |
from /opt/alexandria-v2/releases/20160607190804/lib/object_factory_writer.rb:77:in `build_object' | |
from /opt/alexandria-v2/releases/20160607190804/lib/object_factory_writer.rb:57:in `put' | |
from /opt/alexandria-v2/shared/bundle/ruby/2.3.0/gems/traject-2.3.1/lib/traject/indexer.rb:478:in `block (2 levels) in process' | |
from /opt/alexandria-v2/shared/bundle/ruby/2.3.0/gems/traject-2.3.1/lib/traject/thread_pool.rb:116:in `maybe_in_thread_pool' | |
from /opt/alexandria-v2/shared/bundle/ruby/2.3.0/gems/traject-2.3.1/lib/traject/indexer.rb:473:in `block in process' | |
from /opt/alexandria-v2/shared/bundle/ruby/2.3.0/gems/marc-1.0.0/lib/marc/xml_parsers.rb:37:in `yield_record' | |
from /opt/alexandria-v2/shared/bundle/ruby/2.3.0/gems/marc-1.0.0/lib/marc/xml_parsers.rb:72:in `end_element_namespace' | |
from /opt/alexandria-v2/shared/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.2/lib/nokogiri/xml/sax/parser.rb:95:in `parse_with' | |
from /opt/alexandria-v2/shared/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.2/lib/nokogiri/xml/sax/parser.rb:95:in `parse_io' | |
from /opt/alexandria-v2/shared/bundle/ruby/2.3.0/gems/nokogiri-1.6.7.2/lib/nokogiri/xml/sax/parser.rb:82:in `parse' | |
from /opt/alexandria-v2/shared/bundle/ruby/2.3.0/gems/marc-1.0.0/lib/marc/xml_parsers.rb:112:in `each' | |
from /opt/alexandria-v2/shared/bundle/ruby/2.3.0/gems/traject-2.3.1/lib/traject/marc_reader.rb:86:in `each' | |
from /opt/alexandria-v2/shared/bundle/ruby/2.3.0/gems/traject-2.3.1/lib/traject/indexer.rb:443:in `process' | |
from /opt/alexandria-v2/shared/bundle/ruby/2.3.0/gems/traject-2.3.1/lib/traject/command_line.rb:67:in `execute' | |
from ./bin/ingest-cylinders:33:in `<main>' | |
[deploy@ip-10-0-0-120 current]$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment