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


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

Re: Strange encoding problem in setup.py of biopython 1.71

Path csiph.com!aioe.org!bofh.it!news.nic.it!robomod
From Andreas Tille <andreas@an3as.eu>
Newsgroups linux.debian.maint.python
Subject Re: Strange encoding problem in setup.py of biopython 1.71
Date Thu, 05 Apr 2018 16:40:02 +0200
Message-ID <vBeds-5Ip-17@gated-at.bofh.it> (permalink)
References <vBdU5-5Ck-1@gated-at.bofh.it> <vBeds-5Ip-19@gated-at.bofh.it>
X-Original-To Peter Cock <p.j.a.cock@googlemail.com>, debian-python@lists.debian.org
X-Mailbox-Line From debian-python-request@lists.debian.org Thu Apr 5 14:34:47 2018
Old-Return-Path <andreas@an3as.eu>
X-Amavis-Spam-Status No, score=-4.99 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, LDO_WHITELIST=-5, MEDS2=2, MURPHY_DRUGS_REL8=0.02, T_RP_MATCHES_RCVD=-0.01] autolearn=no autolearn_force=no
X-Policyd-Weight using cached result; rate:hard: -6.1
MIME-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Disposition inline
User-Agent NeoMutt/20170113 (1.7.2)
X-Mailing-List <debian-python@lists.debian.org> archive/latest/15781
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
List-Archive https://lists.debian.org/msgid-search/20180405143432.xrnte6hyft7rf2vm@an3as.eu
Approved robomod@news.nic.it
Lines 38
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Thu, 5 Apr 2018 16:34:32 +0200
X-Original-Message-ID <20180405143432.xrnte6hyft7rf2vm@an3as.eu>
X-Original-References <20180405141056.nsmfcwdingnmgx5d@an3as.eu> <cf4d8cfb-7663-35ae-8e15-482ada9db970@irisa.fr>
Xref csiph.com linux.debian.maint.python:10383

Show key headers only | View raw


Hi Olivier,

On Thu, Apr 05, 2018 at 04:19:37PM +0200, Olivier Sallou wrote:
> 
> On 04/05/2018 04:10 PM, Andreas Tille wrote:
> > (maybe?) setup.py:
> >
> >
> > ...
> > dh_auto_clean
> >         pybuild --clean -i python{version} -p 2.7
> > I: pybuild base:217: python2.7 setup.py clean 
> > running clean
> > removing '/home/andreas/debian-maintain/salsa/med-team/build-area/python-biopython-1.71+dfsg/.pybuild/cpython2_2.7/build' (and everything under it)
> > 'build/bdist.linux-x86_64' does not exist -- can't clean it
> > 'build/scripts-2.7' does not exist -- can't clean it
> >         pybuild --clean -i python{version} -p 3.6
> > I: pybuild base:217: python3.6 setup.py clean 
> > Traceback (most recent call last):
> >   File "setup.py", line 435, in <module>
> >     readme_rst = handle.read()
> >   File "/usr/lib/python3.6/encodings/ascii.py", line 26, in decode
> >     return codecs.ascii_decode(input, self.errors)[0]
> > UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 7116: ordinal not in range(128)
> > E: pybuild pybuild:336: clean: plugin distutils failed with: exit code=1: python3.6 setup.py clean 
> > dh_auto_clean: pybuild --clean -i python{version} -p 3.6 returned exit code 13
> this is usually related to non ascii characters in file (readme.rst?) ,
> if you find some, you can patch file to remove them.

Is there any efficient method to seek for this kind of non-ascii
characters?

Kind regards

      Andreas.

-- 
http://fam-tille.de

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


Thread

Strange encoding problem in setup.py of biopython 1.71 Andreas Tille <andreas@an3as.eu> - 2018-04-05 16:20 +0200
  Re: Strange encoding problem in setup.py of biopython 1.71 Piotr Ożarowski <piotr@debian.org> - 2018-04-05 16:40 +0200
  Re: Strange encoding problem in setup.py of biopython 1.71 Andreas Tille <andreas@an3as.eu> - 2018-04-05 16:40 +0200
    Re: Strange encoding problem in setup.py of biopython 1.71 Klaus Zimmermann <klaus_zimmermann@gmx.de> - 2018-04-05 16:50 +0200
      Re: Strange encoding problem in setup.py of biopython 1.71 Peter Cock <p.j.a.cock@googlemail.com> - 2018-04-05 17:30 +0200
        Re: Strange encoding problem in setup.py of biopython 1.71 Andreas Tille <tille@debian.org> - 2018-04-06 09:20 +0200
          Re: Strange encoding problem in setup.py of biopython 1.71 Peter Cock <p.j.a.cock@googlemail.com> - 2018-04-06 11:40 +0200
            Re: Strange encoding problem in setup.py of biopython 1.71 Piotr Ożarowski <piotr@debian.org> - 2018-04-07 00:00 +0200
            Re: Strange encoding problem in setup.py of biopython 1.71 Peter Cock <p.j.a.cock@googlemail.com> - 2018-04-13 13:20 +0200
    Re: Strange encoding problem in setup.py of biopython 1.71 Olivier Sallou <olivier.sallou@irisa.fr> - 2018-04-05 16:50 +0200

csiph-web