Re: mkdocs locale error building djangorestframework

2016-01-28 Thread Julien Cristau
On Mon, Jan 25, 2016 at 23:13:49 -0500, Barry Warsaw wrote: > On Jan 26, 2016, at 01:12 AM, Ben Hutchings wrote: > > >That's not the problem at all.  Read the error message again.  Read the > >source line it points to.  Now look at where rv comes from: > > > import subprocess > rv = sub

Re: mkdocs locale error building djangorestframework

2016-01-26 Thread Alexandre Viau
On Mon, Jan 25, 2016 at 8:12 PM, Ben Hutchings wrote: > On Tue, 2016-01-26 at 11:49 +1100, Brian May wrote: import subprocess rv = subprocess.Popen(['locale', '-a'], stdout=subprocess.PIPE, > ... stderr=subprocess.PIPE).communicate()[0] type(rv) > > > This is

Re: mkdocs locale error building djangorestframework

2016-01-25 Thread Barry Warsaw
On Jan 26, 2016, at 01:12 AM, Ben Hutchings wrote: >That's not the problem at all.  Read the error message again.  Read the >source line it points to.  Now look at where rv comes from: > import subprocess rv = subprocess.Popen(['locale', '-a'], stdout=subprocess.PIPE, >... 

Re: mkdocs locale error building djangorestframework

2016-01-25 Thread Michael Tautschnig
On Tue, Jan 26, 2016 at 1:23:19 +, Ben Hutchings wrote: > On Tue, 2016-01-26 at 12:16 +1100, Brian May wrote: > > Ben Hutchings writes: > > > > > That's not the problem at all.  Read the error message again.  Read the > > > source line it points to.  Now look at where rv comes from: > > > >

Re: mkdocs locale error building djangorestframework

2016-01-25 Thread Brian May
Ben Hutchings writes: > Oh, well that's probably because you only set LANG and it's being > overridden by LC_ALL.  Use a bigger hammer: set LC_ALL yourself. Yes, somebody mentioned this on the BTS also. I very much suspect this will be the solution. Thanks -- Brian May

Re: mkdocs locale error building djangorestframework

2016-01-25 Thread Ben Hutchings
On Tue, 2016-01-26 at 12:16 +1100, Brian May wrote: > Ben Hutchings writes: > > > That's not the problem at all.  Read the error message again.  Read the > > source line it points to.  Now look at where rv comes from: > > Yes, that is how it would appear. > > However, all this code does is try

Re: mkdocs locale error building djangorestframework

2016-01-25 Thread Brian May
Ben Hutchings writes: > That's not the problem at all.  Read the error message again.  Read the > source line it points to.  Now look at where rv comes from: Yes, that is how it would appear. However, all this code does is try to work out the appropriate fatal error message that should get disp

Re: mkdocs locale error building djangorestframework

2016-01-25 Thread Ben Hutchings
On Tue, 2016-01-26 at 11:49 +1100, Brian May wrote: > Ben Hutchings writes: > > > C.UTF-8 is built into glibc so I believe you can assume it's present in > > all Debian installations (from wheezy onward). > > Ok, this is getting more and more complicated. The only reason I can see > for the FTBF

Re: mkdocs locale error building djangorestframework

2016-01-25 Thread Brian May
Ben Hutchings writes: > C.UTF-8 is built into glibc so I believe you can assume it's present in > all Debian installations (from wheezy onward). Ok, this is getting more and more complicated. The only reason I can see for the FTBFS in #812672 is because the C.UTF-8 locale doesn't exist. It shoul

Re: mkdocs locale error building djangorestframework

2016-01-25 Thread Ben Hutchings
On Tue, 2016-01-26 at 11:29 +1100, Brian May wrote: [...] > The problem is that when building djangorestframework, I need to have a > utf8 locale available. C.UTF-8 is fine. However, I don't think there is > any guarantee (??) that a utf8 locale will be available when building > packages. This I be