Closed szanati closed 7 years ago
It took me a while but I was able to locate this problem package on production server, put it on the snow server, http://www.fcla.edu/daitss-test/packages/UF00028315_01045.tar for downloading and troubleshooting purpose.
This package is missing the xref element in the METS file section, hence, daitss error out. I have made changes in DAITSS to dump out more detail error.
The problem section is
additional codes have been added to DAITSS so that it will be easier for DAITSS operator which filesec is causing the problem. As an example, here is the new output:
2017-01-01 14:53:31 ERROR Error submitting /Users/cchou/Downloads/packages//UF00028315_01045: error in METS file section, missing xlink:href in element
</METS:file>
2017-01-01 14:53:31 ERROR /opt/web-services/sites/core/lib/daitss/proc/sip_archive.rb:369:in block in content_files_with_checksums' 2017-01-01 14:53:31 ERROR /opt/web-services/sites/core/lib/daitss/proc/sip_archive.rb:366:in
each'
2017-01-01 14:53:31 ERROR /opt/web-services/sites/core/lib/daitss/proc/sip_archive.rb:366:in map' 2017-01-01 14:53:31 ERROR /opt/web-services/sites/core/lib/daitss/proc/sip_archive.rb:366:in
content_files_with_checksums'
2017-01-01 14:53:31 ERROR /opt/web-services/sites/core/lib/daitss/proc/sip_archive.rb:151:in block in validate!' 2017-01-01 14:53:31 ERROR /opt/web-services/sites/core/lib/daitss/proc/sip_archive.rb:149:in
chdir'
2017-01-01 14:53:31 ERROR /opt/web-services/sites/core/lib/daitss/proc/sip_archive.rb:149:in validate!' 2017-01-01 14:53:31 ERROR /opt/web-services/sites/core/lib/daitss/proc/sip_archive.rb:92:in
valid?'
2017-01-01 14:53:31 ERROR /opt/web-services/sites/core/lib/daitss/archive/submit.rb:113:in block in submit' 2017-01-01 14:53:31 ERROR /opt/web-services/sites/core/bundle/ruby/1.9.1/gems/dm-transactions-1.2.0/lib/dm-transactions.rb:373:in
block in transaction'
2017-01-01 14:53:31 ERROR /opt/web-services/sites/core/bundle/ruby/1.9.1/gems/dm-transactions-1.2.0/lib/dm-transactions.rb:131:in block in commit' 2017-01-01 14:53:31 ERROR /opt/web-services/sites/core/bundle/ruby/1.9.1/gems/dm-transactions-1.2.0/lib/dm-transactions.rb:195:in
within'
2017-01-01 14:53:31 ERROR /opt/web-services/sites/core/bundle/ruby/1.9.1/gems/dm-transactions-1.2.0/lib/dm-transactions.rb:131:in commit' 2017-01-01 14:53:31 ERROR /opt/web-services/sites/core/bundle/ruby/1.9.1/gems/dm-transactions-1.2.0/lib/dm-transactions.rb:373:in
transaction'
2017-01-01 14:53:31 ERROR /opt/web-services/sites/core/lib/daitss/archive/submit.rb:101:in submit' 2017-01-01 14:53:31 ERROR bin/submit-direct:102:in
submit_package'
2017-01-01 14:53:31 ERROR bin/submit-direct:163:in block in <main>' 2017-01-01 14:53:31 ERROR bin/submit-direct:161:in
each'
2017-01-01 14:53:31 ERROR bin/submit-direct:161:in `
the code changes have been rolled out to ripple for FDA production staff to better diagnose the sip descriptor.
A fix has been pushed out on 4-6-17. Now the package rejects instead of errors and it shows why the package was rejected.
I got the following error while submitting a package on both production and ripple:
ERROR Error submitting UF00028315_01045: undefined method `value' for nil:NilClass.
On production the package had rejected last week and UF fixed and resubmitted when it gave the above error.