From 0a7186155a65da5a95b21520f8d7f8f8e3a9bc12 Mon Sep 17 00:00:00 2001 From: David Thompson Date: Tue, 24 Sep 2024 09:50:31 -0400 Subject: Add TODO item. --- TODO.org | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/TODO.org b/TODO.org index f4b5004..20be260 100644 --- a/TODO.org +++ b/TODO.org @@ -1,4 +1,28 @@ * To-do list +** Throw a better error when a reader is not found +This is no good: + +#+BEGIN_SRC sh + $ haunt build + building pages in 'site'... + Backtrace: + 7 (primitive-load "/gnu/store/3c5n80ixbs198qk6dn42fiigph8s6fjs-haunt-0.3.0/bin/.haunt-real") + In haunt/ui.scm: + 136:6 6 (run-haunt-command _ . _) + In haunt/ui/build.scm: + 60:5 5 (haunt-build . _) + In haunt/site.scm: + 116:20 4 (build-site #< title: "Spritely Institute" domain: "spritely.institute" scheme: https posts-directory: …>) + In ice-9/ftw.scm: + 505:39 3 (loop _ _ #(64768 11164290 16877 2 1000 998 0 4096 1727117337 1727117337 1727117337 4096 8 directory 493 # …) …) + In haunt/reader.scm: + 99:24 2 (leaf "posts/2022-08-17-blast-off-spritely-institutes-tech-tour.html" _ (#< file-name: "posts/2022-0…> …)) + 85:32 1 (read-post #f "posts/2022-08-17-blast-off-spritely-institutes-tech-tour.html" _) + 80:3 0 (reader-read #f "posts/2022-08-17-blast-off-spritely-institutes-tech-tour.html") + + haunt/reader.scm:80:3: In procedure reader-read: + In procedure struct-vtable: Wrong type argument in position 1 (expecting struct): #f +#+END_SRC ** Output XHTML5? there's still code in the data service that was copied from Mumi e.g. sxml->html should live somewhere else and be shared [10:34] -- cgit v1.2.3