quarto-dev / quarto-dev/quarto-cli
error because of Non ascii account name in Windows
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- JavaScript
- Sterne
- 6k
- Forks
- 458
- Ø Merge
- 1 T. 9 Std.
- Gemergte PRs (30 T.)
- 41
Beschreibung
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
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
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.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- lua
- Bereich
- cli, operating-systems
- Issue-Typ
- Bug
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 35/100