[Python-modules-team] Bug#812672: mkdocs locale error building djangorestframework

Adam Borowski kilobyte at angband.pl
Tue Jan 26 01:02:43 UTC 2016


On Tue, Jan 26, 2016 at 11:57:17AM +1100, Brian May wrote:
> Adam Borowski <kilobyte at angband.pl> writes:
> > My guess as to the cause of #812672 is that you have LC_CTYPE or LC_ALL set
> > to an ancient locale.  These variables override LANG, the order is
> > LC_ALL>LC_CTYPE>LANG.
> 
> I probably should change the line from:
> 
> LANG=C.UTF-8 mkdocs build && mv site docs.debian/html
> 
> To something like:
> 
> LANG=C.UTF-8 LC_CTYPE= LC_ALL= mkdocs build && mv site docs.debian/html

LC_ALL=C.UTF-8 is enough, it overrides the other variables.

-- 
A tit a day keeps the vet away.



More information about the Python-modules-team mailing list