quarto-dev / quarto-dev/quarto-cli
error because of Non ascii account name in Windows
Nessuno ha ancora preso questa issue.
- Lingua principale
- JavaScript
- Stelle
- 6k
- Fork
- 458
- Merge medio
- 1g 9h
- PR unite (30g)
- 41
Descrizione
When having a Non ascii accout name in Windows system, for example echo %username% in CMD list a Chinese Account name, run quarto render hello.ipynb --to html will give an error:
Error running filter C:/quarto-0.9.446-win/share/filters/quarto-pre/quarto-pre.lua:
...arto-0.9.446-win/share/filters/quarto-pre/quarto-pre.lua:3420: attempt to index a nil value (local 'f')
stack traceback:
...arto-0.9.446-win/share/filters/quarto-pre/quarto-pre.lua:3384: in function <...arto-0.9.446-win/share/filters/quarto-pre/quarto-pre.lua:3377>
Pandoc has no problem. pandoc hello.ipynb -o hello.html is ok.
Quarto Version: 0.9.446
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Direzione di ricerca
Reproduce the failure with quarto render hello.ipynb --to html under a Windows account with a non-ASCII name, then inspect quarto-pre.lua around lines 3384-3420 from the traceback. Compare with the successful pandoc hello.ipynb -o hello.html run; done means Quarto renders the notebook to HTML without the nil-value error.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- lua
- Ambito
- cli, operating-systems
- Tipo di issue
- Bug
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 35/100