summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Thompson <dthompson2@worcester.edu>2024-09-24 09:50:31 -0400
committerDavid Thompson <dthompson2@worcester.edu>2024-09-24 09:50:31 -0400
commit0a7186155a65da5a95b21520f8d7f8f8e3a9bc12 (patch)
tree9d5f0b865672bc8b3e0efe77001491e9b795274d
parent5410430affaf7e10cf9ab4a6cfcd15950baee1d9 (diff)
Add TODO item.
-rw-r--r--TODO.org24
1 files changed, 24 insertions, 0 deletions
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 #<<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" _ (#<<post> 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?
<cbaines> there's still code in the data service that was copied from Mumi
<cbaines> e.g. sxml->html should live somewhere else and be shared [10:34]