Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.maint.python > #8154
| From | Brian May <brian@linuxpenguins.xyz> |
|---|---|
| Newsgroups | linux.debian.devel, linux.debian.maint.python |
| Subject | mkdocs locale error building djangorestframework |
| Date | 2016-01-26 01:30 +0100 |
| Message-ID | <qUZGa-3xa-3@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
Cross-posted to 2 groups.
Hello, In building djangorestframework, it uses a package called mkdocs. mkdocs in turn uses a package called python3-click to do its command line processing. python3-click has checks to ensure it is called with a non-ASCII locale. Or if it is an ASCII locale, it raises a fatal error. Or at least it tries to raise a fatal error. This is documented in the click documentation: http://click.pocoo.org/5/python3/ An added complication is at the moment the code to display the fatal error is broken under Python 3 - see #812713. You can't compare byte objects and str objects. 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 believe is the root cause of #812672. So should I somehow be trying to get the UTF-8 locale (is this possible from debian/rules?), or should I submit another bug report against python3-click saying that it really should work in ASCII environments? Regards -- Brian May <brian@linuxpenguins.xyz> https://linuxpenguins.xyz/brian/
Back to linux.debian.maint.python | Previous | Next — Next in thread | Find similar | Unroll 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