UCSCLibrary / dams_project_mgmt

DAMS purpose is to provide access to digitized and born-digital UCSC Special Collections content. This repository is used for project planning. It holds the task tickets and roadmap for the different projects under DAMS.
2 stars 0 forks source link

[5] Bulkrax: NoMethod error #523

Open rschwab opened 2 years ago

rschwab commented 2 years ago

When importing filesets in Bulkrax we get this error:

Error: NoMethodError - undefined method `each_with_index' for nil:NilClass

Example: http://digitalcollections-staging-sandbox.library.ucsc.edu/importers/76/entries/848?locale=en

bkiahstroud commented 2 years ago

@rschwab Upon investigation, I believe this is due to user error. FileSet rows in the CSV require a value in the filename column, and the CSV used for this importer does not meet that requirement.

I'm working on adding a more descriptive error message to Bulkrax, but in the meantime you should be able to get around this error by double checking that all the FileSet rows have a value in the filename column

rschwab commented 2 years ago

This does appear to work when the filename is present, and I see this is already documented in the ingests basic doc. Thank you!