Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.python > #8158

Re: mkdocs locale error building djangorestframework

Path csiph.com!eternal-september.org!feeder.eternal-september.org!aioe.org!news.servidellagleba.it!bofh.it!news.nic.it!robomod
From Ben Hutchings <ben@decadent.org.uk>
Newsgroups linux.debian.devel, linux.debian.maint.python
Subject Re: mkdocs locale error building djangorestframework
Date Tue, 26 Jan 2016 02:20:03 +0100
Message-ID <qV0sz-46L-21@gated-at.bofh.it> (permalink)
References <qUZGa-3xa-3@gated-at.bofh.it> <qUZZw-3Gr-7@gated-at.bofh.it> <qUZZw-3Gr-5@gated-at.bofh.it>
X-Original-To Brian May <bam@debian.org>, debian-devel@lists.debian.org, debian-python@lists.debian.org
X-Mailbox-Line From debian-devel-request@lists.debian.org Tue Jan 26 01:13:33 2016
Old-Return-Path <ben@decadent.org.uk>
X-Amavis-Spam-Status No, score=-12.601 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, FOURLA=0.1, LDO_WHITELIST=-5, PGPSIGNATURE=-5, RCVD_IN_DNSWL_LOW=-0.7, RP_MATCHES_RCVD=-0.001] autolearn=ham autolearn_force=no
X-Policyd-Weight using cached result; rate: -6.1
Content-Type multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-HgUwDnGf4OmrADv7ZVOo"
X-Mailer Evolution 3.18.3-1
MIME-Version 1.0
X-Sa-Exim-Connect-IP 192.168.2.112
X-Sa-Exim-Mail-From ben@decadent.org.uk
X-Sa-Exim-Scanned No (on shadbolt.decadent.org.uk); SAEximRunCond expanded to false
X-Mailing-List <debian-devel@lists.debian.org> archive/latest/316891
List-ID <debian-devel.lists.debian.org>
List-URL <https://lists.debian.org/debian-devel/>
List-Archive https://lists.debian.org/msgid-search/1453770777.3734.260.camel@decadent.org.uk
Approved robomod@news.nic.it
Lines 60
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Cc Michael Fladischer <fladi@debian.org>, python3-click@packages.debian.org
X-Original-Date Tue, 26 Jan 2016 01:12:57 +0000
X-Original-Message-ID <1453770777.3734.260.camel@decadent.org.uk>
X-Original-References <87fuxl6v58.fsf@prune.linuxpenguins.xyz> <1453768975.3734.251.camel@decadent.org.uk> <877fix6u7m.fsf@prune.linuxpenguins.xyz>
Xref csiph.com linux.debian.devel:70141 linux.debian.maint.python:8158

Cross-posted to 2 groups.

Show key headers only | View raw


[Multipart message — attachments visible in raw view] - view raw

On Tue, 2016-01-26 at 11:49 +1100, Brian May wrote:
> Ben Hutchings <ben@decadent.org.uk> 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
> shouldn't even be reaching that line of code otherwise.
> 
> Maybe something to do with building with pbuilder as opposed to sbuild?

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,
...                       stderr=subprocess.PIPE).communicate()[0]
>>> type(rv)
<class 'bytes'>

This is clearly a bug in python3-click.

Ben.

-- 
Ben Hutchings
Q.  Which is the greater problem in the world today, ignorance or apathy?
A.  I don't know and I couldn't care less.

Back to linux.debian.maint.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

mkdocs locale error building djangorestframework Brian May <brian@linuxpenguins.xyz> - 2016-01-26 01:30 +0100
  Re: mkdocs locale error building djangorestframework Ben Hutchings <ben@decadent.org.uk> - 2016-01-26 01:50 +0100
    Re: mkdocs locale error building djangorestframework Brian May <bam@debian.org> - 2016-01-26 01:50 +0100
      Re: mkdocs locale error building djangorestframework Brian May <bam@debian.org> - 2016-01-26 02:20 +0100
        Re: mkdocs locale error building djangorestframework Ben Hutchings <ben@decadent.org.uk> - 2016-01-26 02:30 +0100
          Re: mkdocs locale error building djangorestframework Brian May <bam@debian.org> - 2016-01-26 02:30 +0100
          Re: mkdocs locale error building djangorestframework Michael Tautschnig <mt@debian.org> - 2016-01-26 03:30 +0100
      Re: mkdocs locale error building djangorestframework Ben Hutchings <ben@decadent.org.uk> - 2016-01-26 02:20 +0100
        Re: mkdocs locale error building djangorestframework Barry Warsaw <barry@debian.org> - 2016-01-26 05:20 +0100
          Re: mkdocs locale error building djangorestframework Julien Cristau <jcristau@debian.org> - 2016-01-28 14:10 +0100
        Re: mkdocs locale error building djangorestframework Alexandre Viau <aviau@debian.org> - 2016-01-26 16:10 +0100

csiph-web