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


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

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

Path csiph.com!aioe.org!bofh.it!news.nic.it!robomod
From Peter Cock <p.j.a.cock@googlemail.com>
Newsgroups linux.debian.maint.python
Subject Re: Strange encoding problem in setup.py of biopython 1.71
Date Thu, 05 Apr 2018 17:30:02 +0200
Message-ID <vBeZQ-6hA-11@gated-at.bofh.it> (permalink)
References <vBdU5-5Ck-1@gated-at.bofh.it> <vBeds-5Ip-19@gated-at.bofh.it> <vBeds-5Ip-17@gated-at.bofh.it> <vBen8-5LS-7@gated-at.bofh.it>
X-Original-To Klaus Zimmermann <klaus_zimmermann@gmx.de>
X-Mailbox-Line From debian-python-request@lists.debian.org Thu Apr 5 15:20:08 2018
Old-Return-Path <p.j.a.cock@googlemail.com>
X-Amavis-Spam-Status No, score=-4.979 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DIGITS_LETTERS=1, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FOURLA=0.1, FREEMAIL_FROM=0.001, LDO_WHITELIST=-5, MD5_SHA1_SUM=-1, MEDS2=2, MURPHY_DRUGS_REL8=0.02, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=no autolearn_force=no
X-Policyd-Weight NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_BL_NJABL=-1.5 CL_IP_EQ_HELO_IP=-2 (check from: .googlemail. - helo: .mail-qt0-x22c.google. - helo-domain: .google.) FROM/MX_MATCHES_HELO(DOMAIN)=-2; rate: -7
Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=E3zW4D15xRYs4aZeIM2uGFz6f3MlfL/v5XWPpcFFcAg=; b=OZm1Tjzg8NMiF1C2xaUTMRaZ7snSdj+VICoRnh+iJwACaMoie/9dXDv4t206lTUO5H qrqICCyn70qhLK55jrJ7mzxAMxWTZtRiWCbd+XfthyNe8TMK4BqQ8TDaisUjWlyNuN2N g2Daul9QoVl7DZScZVkg1vdym/BFa67Gaz1jsus1hicQe+PWCX+sh0QMNt/85E2+u29e z67I3xJc8kY0c51rLboNZhWQspW3cHE3PtGUcXW9MzCE98uu/BmvSK6WdDB95IyLuOsL 3p69P5wKmaW/NhOeukYwz1Xbx9UW8ewKyrl49AqbThiJ7rm8m3OJx5vzQ+YR82kGp2YC hGgw==
X-Google-Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=E3zW4D15xRYs4aZeIM2uGFz6f3MlfL/v5XWPpcFFcAg=; b=iCKYczHyubmEGjoneHIMnBprMOR+eoWtS9tioL+LsZbVMG6TqGQqeLhvH2n+6lR3d8 9irTaRIopa7UdHFwDEAuE/zqKGSowlTcBUhET6uo7Ojv4YgClgVcabaCXSHvOG8sMeRt GjRI9ose2i4D2U1P6iqmYKoQokVJr8ymBF//W60vbFLeKJL7k3umwil3V4xjhipyl40m r59Ww7lluidEnydpeZDNzjLR0gp1h4wKYIiOWZqio4s/Nh7YOv4nbjB4MrpZFLdX5PeV R0Lj04vM6TImHdwUl7PYfZ5WaHXj69RobBngtGcW8A5QtePMVu0B6brTlyI7V9aN+P3N F7hQ==
X-Gm-Message-State ALQs6tCCsl3wsQ34R/SBXTyx3nMBY0vqVNc0JTX2fsEd3rysR1pfi7oy mW8utY1JRmlp8IrdKEP2AB2Wo9gSEbQ6EkZlWkk=
X-Google-SMTP-Source AIpwx4+cYeFvMm2JqVGYRm/PiRA66ZovFoLwUcks06te9WU9VZ9q6hvBKZddJJBYiQNCzdHieWBcuBesSMjBHOr+5qg=
X-Received by 10.200.55.215 with SMTP id e23mr33051317qtc.158.1522941590989; Thu, 05 Apr 2018 08:19:50 -0700 (PDT)
MIME-Version 1.0
Content-Type text/plain; charset="UTF-8"
X-Mailing-List <debian-python@lists.debian.org> archive/latest/15792
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
List-Archive https://lists.debian.org/msgid-search/CAKVJ-_5LwsQ8-WWLfPC4LdSXMLbE5hUawVpMGW9gDBGa=5iDSA@mail.gmail.com
Approved robomod@news.nic.it
Lines 62
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Cc debian-python@lists.debian.org
X-Original-Date Thu, 5 Apr 2018 16:19:50 +0100
X-Original-Message-ID <CAKVJ-_5LwsQ8-WWLfPC4LdSXMLbE5hUawVpMGW9gDBGa=5iDSA@mail.gmail.com>
X-Original-References <20180405141056.nsmfcwdingnmgx5d@an3as.eu> <cf4d8cfb-7663-35ae-8e15-482ada9db970@irisa.fr> <20180405143432.xrnte6hyft7rf2vm@an3as.eu> <1eb7f5a5-711a-8dc6-a376-e4a6fd298991@gmx.de>
Xref csiph.com linux.debian.maint.python:10392

Show key headers only | View raw


Confirmed - not sure if my earlier email made it?

https://github.com/biopython/biopython/commit/6421d365a511c0de71748737ba6e1cd8518658ac

Can you pull in that commit as a patch for the Biopython 1.71 package?

Peter

On Thu, Apr 5, 2018 at 3:39 PM, Klaus Zimmermann
<klaus_zimmermann@gmx.de> wrote:
> Hi Andreas,
>
> here, the culprit is
> U+2019 : RIGHT SINGLE QUOTATION MARK {single comma quotation mark}
> that is used as an apostrophe in two places in "Apple's".
>
> I found this by looking for 0xe2 (from your error message) in an hexdump
> (od -A d -xc README.rst |less ) at the named position (7116).
>
> Cheers
> Klaus
>
>
> On 05/04/18 16:34, Andreas Tille wrote:
>> 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.
>>
>
>

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