KTH-Library / kthcorpus

R package to support workflows related to the corpus of publications from KTH
https://kth-library.github.io/kthcorpus
GNU Affero General Public License v3.0
0 stars 1 forks source link

FAILED: Generate MODS report #53: Scheduled #174

Open awandahl opened 1 month ago

awandahl commented 1 month ago

MODS report for 2024-07-03--2024-07-10 failed. mods.qmd says

processing file: mods.qmd |............................ | 53% [unnamed-chunk-4]kthb/kthcorpus/pub.csv -> C:/Users/aw/AppData/Local/kthcorpus/kthcorpus/pub.csv Total: 0 B, Transferred: 173.66 MiB, Speed: 2.07 MiB/s |................................................. | 93% [unnamed-chunk-7]Error in read_xml.raw(): ! StartTag: invalid element name [68] Backtrace:

  1. kthcorpus:::create_diva_modscollection(my_mods_ar)
  2. xml2:::read_xml.character(collection)
  3. xml2:::read_xml.raw(...)

Quitting from lines 272-396 [unnamed-chunk-7] (mods.qmd)

Execution halted

awandahl commented 2 weeks ago

It would be nice to just spit out failing publications and make sure that the process is ending partly successful no matter what.

awandahl commented 2 weeks ago

And analyze why it's failing of course.

mskyttner commented 2 weeks ago

Investigating this now...

mskyttner commented 1 week ago

Tried to replicate using:

quarto::quarto_render(input = normalizePath("inst/rmarkdown/report-mods/mods.qmd"), output_file = "test.html", execute_params = list(use_minio = "true", begdate = "2024-07-03", enddate = "2024-07-10"))

Not able to reproduce locally...