Unicode file-named notes are being ignored
fz68 opened this issue · 10 comments
run neuron gen --pretty-urls
locally on my Mac is OK.
But check github's action info, show some notes missing, only ascii named notes remain and generate htmls.
Hmm,
- https://github.com/FanZhen2002/zk
- https://github.com/FanZhen2002/zk/runs/3074097551#step:3:13
- http://zk.fanzhen.org/impulse
So this happens only when using Docker? Wonder what the issue with Docker is ...
@FanZhen2002 Does setting the LANG
environment variable as suggested here resolve it?
@FanZhen2002 Does setting the
LANG
environment variable as suggested here resolve it?
It works.
LOCALE_ARCHIVE=/usr/lib/locale/locale-archive neuron gen --pretty-urls
Great; I suppose we can modify the docker workflow to use this environment variable, then.
No luck
https://github.com/FanZhen2002/zk/runs/3130704294#step:3:13
with
docker run --env LOCALE_ARCHIVE=/usr/lib/locale/locale-archive -v $PWD:/notes sridca/neuron neuron gen --pretty-urls
When you wrote "It works" in https://github.com/srid/neuron-template/issues/10#issuecomment-884600194 - where did it work?
Okay, I have a fix for this (based on #381), and it will go in the Docker image. I'll close this issue once that happens.
@FanZhen2002 Fix pushed. Let me know if that resolves it.
Fix confirmed, http://zk.fanzhen.org/impulse