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

Tests failing with seed 30538 #157

Closed
jlblcc opened this issue Nov 2, 2017 · 0 comments
Closed

Tests failing with seed 30538 #157

jlblcc opened this issue Nov 2, 2017 · 0 comments
Assignees
Labels
bug Unexpected problem or unintended behavior

Comments

@jlblcc
Copy link
Member

jlblcc commented Nov 2, 2017

Run rake TESTOPTS="--seed=30538"

Error:

TestReaderFgdcEntityAttribute#test_entityAttribute_complete:
NoMethodError: undefined method `xpath' for nil:NilClass
    /home/bradley/Projects/adiwg/mdTranslator/lib/adiwg/mdtranslator/readers/fgdc/modules/module_fgdc.rb:191:in `get_metadata_time_convention'
    /home/bradley/Projects/adiwg/mdTranslator/lib/adiwg/mdtranslator/readers/fgdc/modules/module_dateTime.rb:68:in `unpack'
    /home/bradley/Projects/adiwg/mdTranslator/lib/adiwg/mdtranslator/readers/fgdc/modules/module_attribute.rb:109:in `block in unpack'
    /home/bradley/.rvm/gems/ruby-2.4.0-rc1/gems/nokogiri-1.8.1/lib/nokogiri/xml/node_set.rb:190:in `block in each'
    /home/bradley/.rvm/gems/ruby-2.4.0-rc1/gems/nokogiri-1.8.1/lib/nokogiri/xml/node_set.rb:189:in `upto'
    /home/bradley/.rvm/gems/ruby-2.4.0-rc1/gems/nokogiri-1.8.1/lib/nokogiri/xml/node_set.rb:189:in `each'
    /home/bradley/Projects/adiwg/mdTranslator/lib/adiwg/mdtranslator/readers/fgdc/modules/module_attribute.rb:105:in `each_with_index'
    /home/bradley/Projects/adiwg/mdTranslator/lib/adiwg/mdtranslator/readers/fgdc/modules/module_attribute.rb:105:in `unpack'
    /home/bradley/Projects/adiwg/mdTranslator/lib/adiwg/mdtranslator/readers/fgdc/modules/module_entity.rb:62:in `block in unpack'
    /home/bradley/.rvm/gems/ruby-2.4.0-rc1/gems/nokogiri-1.8.1/lib/nokogiri/xml/node_set.rb:190:in `block in each'
    /home/bradley/.rvm/gems/ruby-2.4.0-rc1/gems/nokogiri-1.8.1/lib/nokogiri/xml/node_set.rb:189:in `upto'
    /home/bradley/.rvm/gems/ruby-2.4.0-rc1/gems/nokogiri-1.8.1/lib/nokogiri/xml/node_set.rb:189:in `each'
    /home/bradley/Projects/adiwg/mdTranslator/lib/adiwg/mdtranslator/readers/fgdc/modules/module_entity.rb:61:in `unpack'
    /home/bradley/Projects/adiwg/mdTranslator/lib/adiwg/mdtranslator/readers/fgdc/modules/module_entityAttribute.rb:32:in `block in unpack'
    /home/bradley/.rvm/gems/ruby-2.4.0-rc1/gems/nokogiri-1.8.1/lib/nokogiri/xml/node_set.rb:190:in `block in each'
    /home/bradley/.rvm/gems/ruby-2.4.0-rc1/gems/nokogiri-1.8.1/lib/nokogiri/xml/node_set.rb:189:in `upto'
    /home/bradley/.rvm/gems/ruby-2.4.0-rc1/gems/nokogiri-1.8.1/lib/nokogiri/xml/node_set.rb:189:in `each'
    /home/bradley/Projects/adiwg/mdTranslator/lib/adiwg/mdtranslator/readers/fgdc/modules/module_entityAttribute.rb:31:in `unpack'
    /home/bradley/Projects/adiwg/mdTranslator/test/readers/fgdc/tc_fgdc_entityAttribute.rb:20:in `test_entityAttribute_complete'
@jlblcc jlblcc added the bug Unexpected problem or unintended behavior label Nov 2, 2017
stansmith907 added a commit to stansmith907/mdTranslator that referenced this issue Nov 2, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Unexpected problem or unintended behavior
Projects
None yet
Development

No branches or pull requests

2 participants