arclight icon indicating copy to clipboard operation
arclight copied to clipboard

arclight:index_url doesn't fetch remote files

Open alexduryee opened this issue 10 months ago • 0 comments

When running arclight:index_url with a valid URL, it throws the following error:

rake arclight:index_url URL=https:/path/to/valid/ead.xml
rake aborted!
Errno::ENOENT: No such file or directory @ rb_sysopen - https:/path/to/valid/ead.xml (Errno::ENOENT)

The issue appears to be at https://github.com/projectblacklight/arclight/blob/main/lib/tasks/index.rake#L46, where Ruby's basic open() in invoked (checking the filesystem) and not a HTTP-aware open().

alexduryee avatar Apr 03 '24 20:04 alexduryee