fromthepage icon indicating copy to clipboard operation
fromthepage copied to clipboard

tei export fails

Open saracarl opened this issue 5 months ago • 1 comments

This TEI Export is failing because it's trying to split a nil:

rake aborted! ActionView::Template::Error: undefined method split' for nil:NilClass /home/fromthepage/deployment/releases/20240909200730/app/models/page.rb:637:in image_url_for_download' /home/fromthepage/deployment/releases/20240909200730/app/views/export/tei.html.erb:328:in `block in _app_views_export_tei_html_erb__582272465793188248_33800'

html export works.

I thought maybe it was a IIIF image import, but these are uploaded page images.

I think the cause might be that she has metadata description configured, but no fields configured: https://fromthepage.com/loc-04854/demo-collection-da41fb49-ed6b-48d9-b8c7-c64cc65f49a6/loc-04854/describe (have to log in as Nicole Gray to see that).

I asked her to fix that; we'll see if it fixes her problem or not.

saracarl avatar Sep 12 '24 15:09 saracarl