dwyl / book

📗 Our Book on Full-Stack Web Application Development covering User Experience (UX) Design, Mobile/Offline/Security First, Progressive Enhancement, Continuous Integration/Deployment, Testing (UX/TDD/BDD), Performance-Driven-Development and much more!
https://dwyl.github.io/book/
820 stars 134 forks source link

Unhandled Error: The encoding "sutf-8" is not known. #92

Closed nelsonic closed 1 year ago

nelsonic commented 1 year ago

Sadly, the spellcheck job is failing on GitHub CI: https://github.com/dwyl/book/actions/runs/4204187854/jobs/7294519677#step:10:7

image

Tried to install aspell on mac and getting similar error when attempting to run the spell-check on localhost:

sh ci/spellcheck.sh list
@(#) International Ispell Version 3.1.20 (but really Aspell 0.60.8)
Unhandled Error: The encoding "sutf-8" is not known. This could also mean that the file "/opt/homebrew/Cellar/aspell/0.60.8/lib/aspell-0.60/sutf-8.cset" could not be opened for reading or does not exist.

I've done a bit of googling but not found anyone with this exact error ... Don't understand what changed. The version of aspell is still the same as the last time this passed: https://github.com/dwyl/book/actions/runs/4180048980/jobs/7240644532#step:10:5

image

This doesn't impede the build / deploy script so the book still builds! https://dwyl.github.io/book/

nelsonic commented 1 year ago

Ok, it's fairly obvious in retrospect:

https://github.com/dwyl/book/blob/5250e008a54306c334529862b732f46d7d2fbcfe/ci/dictionary.txt#L1

I accidentally changed it to:

https://github.com/dwyl/book/blob/f4ac5147538183c2a73c6185373cd3fb7cc57626/ci/dictionary.txt#L1

obvs there's no such thing as sutf-8 ... which is why Google has never seen this error. I feel both like a twit for this and proud to have a unique error. 😜