Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't characterize jp2 #74

Closed
jcoyne opened this issue Aug 28, 2015 · 1 comment
Closed

Can't characterize jp2 #74

jcoyne opened this issue Aug 28, 2015 · 1 comment
Assignees
Labels

Comments

@jcoyne
Copy link
Contributor

jcoyne commented Aug 28, 2015

Possibly due to fits 0.6.0 instead of 0.6.2

    job_class: CharacterizeJob
    job_id: 5c427076-5486-43fa-b565-9fb35fe2c97b
    queue_name: characterize
    arguments:
    - zk51vg76b
    locale: en

Exception
    OM::XML::TemplateMissingException
Error
    Cannot insert nodes into the document because it is empty. Try defining self.xml_template on the FitsDatastream class.

    /opt/goldenseal/shared/bundle/ruby/2.2.0/gems/om-3.1.0/lib/om/xml/term_value_operators.rb:193:in `build_ancestors'
    /opt/goldenseal/shared/bundle/ruby/2.2.0/gems/om-3.1.0/lib/om/xml/term_value_operators.rb:131:in `term_values_append'
    /opt/goldenseal/shared/bundle/ruby/2.2.0/gems/om-3.1.0/lib/om/xml/term_value_operators.rb:107:in `block in assign_nested_attributes_for_collection_association'
    /opt/goldenseal/shared/bundle/ruby/2.2.0/gems/om-3.1.0/lib/om/xml/term_value_operators.rb:104:in `each'
    /opt/goldenseal/shared/bundle/ruby/2.2.0/gems/om-3.1.0/lib/om/xml/term_value_operators.rb:104:in `each_with_index'
    /opt/goldenseal/shared/bundle/ruby/2.2.0/gems/om-3.1.0/lib/om/xml/term_value_operators.rb:104:in `assign_nested_attributes_for_collection_association'
    /opt/goldenseal/shared/bundle/ruby/2.2.0/gems/om-3.1.0/lib/om/xml/term_value_operators.rb:46:in `block in update_values'
    /opt/goldenseal/shared/bundle/ruby/2.2.0/gems/om-3.1.0/lib/om/xml/term_value_operators.rb:43:in `each'
    /opt/goldenseal/shared/bundle/ruby/2.2.0/gems/om-3.1.0/lib/om/xml/term_value_operators.rb:43:in `inject'
    /opt/goldenseal/shared/bundle/ruby/2.2.0/gems/om-3.1.0/lib/om/xml/term_value_operators.rb:43:in `update_values'
    /opt/goldenseal/shared/bundle/ruby/2.2.0/gems/active-fedora-9.3.0/lib/active_fedora/om_datastream.rb:128:in `update_values'
    /opt/goldenseal/shared/bundle/ruby/2.2.0/gems/active-fedora-9.3.0/lib/active_fedora/om_datastream.rb:104:in `update_indexed_attributes'
    /opt/goldenseal/shared/bundle/ruby/2.2.0/gems/active-fedora-9.3.0/lib/active_fedora/attributes/om_attribute.rb:13:in `writer'
    /opt/goldenseal/shared/bundle/ruby/2.2.0/gems/active-fedora-9.3.0/lib/active_fedora/attributes.rb:111:in `array_setter'
    /opt/goldenseal/shared/bundle/ruby/2.2.0/gems/active-fedora-9.3.0/lib/active_fedora/attributes.rb:66:in `[]='
    /opt/goldenseal/shared/bundle/ruby/2.2.0/gems/active-fedora-9.3.0/lib/active_fedora/attributes.rb:249:in `block in create_attribute_setter'
    /opt/goldenseal/shared/bundle/ruby/2.2.0/bundler/gems/curation_concerns-c87f4481ec47/curation_concerns-models/app/services/curation_concerns/characterization_service.rb:19:in `characterize'
    /opt/goldenseal/shared/bundle/ruby/2.2.0/bundler/gems/curation_concerns-c87f4481ec47/curation_concerns-models/app/services/curation_concerns/characterization_service.rb:8:in `run'
    /opt/goldenseal/shared/bundle/ruby/2.2.0/bundler/gems/curation_concerns-c87f4481ec47/curation_concerns-models/app/jobs/characterize_job.rb:6:in `perform'

@jcoyne jcoyne self-assigned this Aug 31, 2015
@jcoyne jcoyne added in progress and removed ready labels Aug 31, 2015
@jcoyne
Copy link
Contributor Author

jcoyne commented Aug 31, 2015

Fixed by fae877a

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant