daitss / core

DAITSS: Dark Archive In The Sunshine State
GNU General Public License v3.0
9 stars 2 forks source link

Origin must not be blank #788

Closed szanati closed 7 years ago

szanati commented 7 years ago

I received the following error while a package was disseminating

Origin must not be blank

/opt/web-services/sites/core/releases/20160607000001/lib/daitss/db/datafile.rb:56:in check_errors' /opt/web-services/sites/core/releases/20160607000001/lib/daitss/db/int_entity.rb:33:inblock in check_errors' /opt/web-services/sites/core/shared/bundle/ruby/1.9.1/gems/dm-core-1.2.1/lib/dm-core/collection.rb:508:in block in each' /opt/web-services/sites/core/shared/bundle/ruby/1.9.1/gems/dm-core-1.2.1/lib/dm-core/support/lazy_array.rb:411:inblock in each' /opt/web-services/sites/core/shared/bundle/ruby/1.9.1/gems/dm-core-1.2.1/lib/dm-core/support/lazy_array.rb:411:in each' /opt/web-services/sites/core/shared/bundle/ruby/1.9.1/gems/dm-core-1.2.1/lib/dm-core/support/lazy_array.rb:411:ineach' /opt/web-services/sites/core/shared/bundle/ruby/1.9.1/gems/dm-core-1.2.1/lib/dm-core/collection.rb:505:in each' /opt/web-services/sites/core/releases/20160607000001/lib/daitss/db/int_entity.rb:33:incheck_errors' /opt/web-services/sites/core/releases/20160607000001/lib/daitss/db/AIPInPremis.rb:212:in toDB' /opt/web-services/sites/core/releases/20160607000001/lib/daitss/proc/wip/to_aip.rb:79:inblock (2 levels) in update_aip' /opt/web-services/sites/core/releases/20160607000001/lib/daitss/proc/wip/journal.rb:29:in add_substep' /opt/web-services/sites/core/releases/20160607000001/lib/daitss/proc/wip/to_aip.rb:76:inblock in update_aip' /opt/web-services/sites/core/shared/bundle/ruby/1.9.1/gems/dm-transactions-1.2.0/lib/dm-transactions.rb:373:in block in transaction' /opt/web-services/sites/core/shared/bundle/ruby/1.9.1/gems/dm-transactions-1.2.0/lib/dm-transactions.rb:131:inblock in commit' /opt/web-services/sites/core/shared/bundle/ruby/1.9.1/gems/dm-transactions-1.2.0/lib/dm-transactions.rb:195:in within' /opt/web-services/sites/core/shared/bundle/ruby/1.9.1/gems/dm-transactions-1.2.0/lib/dm-transactions.rb:131:incommit' /opt/web-services/sites/core/shared/bundle/ruby/1.9.1/gems/dm-transactions-1.2.0/lib/dm-transactions.rb:373:in transaction' /opt/web-services/sites/core/releases/20160607000001/lib/daitss/proc/wip/to_aip.rb:74:inupdate_aip' /opt/web-services/sites/core/releases/20160607000001/lib/daitss/proc/wip/disseminate.rb:25:in block in disseminate' /opt/web-services/sites/core/releases/20160607000001/lib/daitss/proc/wip/journal.rb:16:instep' /opt/web-services/sites/core/releases/20160607000001/lib/daitss/proc/wip/disseminate.rb:25:in disseminate' /opt/web-services/sites/core/releases/20160607000001/lib/daitss/proc/wip/process.rb:82:inblock in spawn' /opt/web-services/sites/core/releases/20160607000001/lib/daitss/proc/wip/process.rb:66:in fork' /opt/web-services/sites/core/releases/20160607000001/lib/daitss/proc/wip/process.rb:66:inspawn' /opt/web-services/sites/core/current/bin/pulse:161:in block in start_wips' /opt/web-services/sites/core/current/bin/pulse:158:ineach' /opt/web-services/sites/core/current/bin/pulse:158:in start_wips' /opt/web-services/sites/core/current/bin/pulse:194:inblock in ' /opt/web-services/sites/core/current/bin/pulse:192:in loop' /opt/web-services/sites/core/current/bin/pulse:192:in

The package UF00001140_00001 ieid E20081126_AAAASJ was disseminating at the same time that the silo that the package was originally on was in the midst of transition from disk master to tape master. Tape fixity was running the silo 170 at the time. I am not sure if that contributed to the error. Also when I click on the ieid I get the error: "undefined method `title' for nil:NilClass". I can curl the package. I ran it on ripple with no problems, though I haven't tried to disseminate at the same time as tape fixity is running on a particular silo on ripple.

cchou commented 7 years ago

Since a fix was put in for creating aip descriptor for #774, please abort and re-disseminate this package so that we can see the latest error.

szanati commented 7 years ago

I aborted the package and re-disseminated the package. The dissemination archived. I will now close this issue.