[Tools-discuss] idnits dies on draft-ietf-quic-transport-28

Lars Eggert <lars@eggert.org> Tue, 02 June 2020 10:30 UTC

Return-Path: <lars@eggert.org>
X-Original-To: tools-discuss@ietfa.amsl.com
Delivered-To: tools-discuss@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E4D773A0809; Tue, 2 Jun 2020 03:30:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.099
X-Spam-Level:
X-Spam-Status: No, score=-2.099 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=eggert.org
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id bFbH55cKOz4f; Tue, 2 Jun 2020 03:30:22 -0700 (PDT)
Received: from mail.eggert.org (mail.eggert.org [IPv6:2a00:ac00:0:35:211:32ff:fe22:186f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 1478B3A07FB; Tue, 2 Jun 2020 03:30:19 -0700 (PDT)
Received: from [IPv6:2a00:ac00:0:35:2d39:8cbc:c43a:7a47] (unknown [IPv6:2a00:ac00:0:35:2d39:8cbc:c43a:7a47]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.eggert.org (Postfix) with ESMTPSA id 7351B616EDD; Tue, 2 Jun 2020 13:30:09 +0300 (EEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=eggert.org; s=dkim; t=1591093809; bh=INrqrSaU8LhiVUSJnGfgRQHv5gibWjiM3jZMwfMYC4E=; h=From:Subject:Date:Cc:To; b=An39O3Vgv05Yu2LhYo3gGFp/K5Gomdo/SOfpUJYxJKQGr5WrPSp63ufBjUe0OUKlW DmNOjBM410D9fXTu2xTNgkXdDBtIXiwF43QO6CinSolBOK/TwJPX/N0yQvCo0fN/eN DRhrv6WVfnINbSWC8aVXnYjoTSW08bUVN3H2ScqM=
From: Lars Eggert <lars@eggert.org>
Content-Type: multipart/signed; boundary="Apple-Mail=_05E3C08A-FAC8-4C1A-BF4C-39115F935F89"; protocol="application/pgp-signature"; micalg=pgp-sha512
Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.80.23.2.2\))
Message-Id: <D7CCE2E4-A70B-467A-BDFF-9B973FAE48DA@eggert.org>
Date: Tue, 2 Jun 2020 13:30:09 +0300
Cc: draft-ietf-quic-transport.all@ietf.org
To: Tools Team Discussion <tools-discuss@ietf.org>
X-MailScanner-ID: 7351B616EDD.A3E4A
X-MailScanner: Found to be clean
X-MailScanner-From: lars@eggert.org
Archived-At: <https://mailarchive.ietf.org/arch/msg/tools-discuss/aPQCZlhHZ1wyPtpAW-jxDp20NlU>
Subject: [Tools-discuss] idnits dies on draft-ietf-quic-transport-28
X-BeenThere: tools-discuss@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: IETF Tools Discussion <tools-discuss.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tools-discuss>, <mailto:tools-discuss-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tools-discuss/>
List-Post: <mailto:tools-discuss@ietf.org>
List-Help: <mailto:tools-discuss-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tools-discuss>, <mailto:tools-discuss-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 02 Jun 2020 10:30:24 -0000

Hi,

idnits seems to die on draft-ietf-quic-transport-28:

# idnits -d draft-ietf-quic-transport.txt
Inspecting file draft-ietf-quic-transport.txt
Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/idnits/checks.py", line 153, in any_text_has_nonascii_char
    txt.decode('ascii')
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe5 in position 6: ordinal not in range(128)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/bin/idnits", line 8, in <module>
    sys.exit(main())
  File "/usr/local/lib/python3.7/site-packages/idnits/run.py", line 91, in main
    result = checker.check()
  File "/usr/local/lib/python3.7/site-packages/idnits/checks.py", line 108, in check
    res = check.func(self)
  File "/usr/local/lib/python3.7/site-packages/idnits/checks.py", line 155, in any_text_has_nonascii_char
    code = ord(e.args[1][e.start])
TypeError: ord() expected string of length 1, but int found

The online version also seems to have problems, since https://www.ietf.org/tools/idnits?url=https://www.ietf.org/archive/id/draft-ietf-quic-transport-28.txt doesn't load.

Lars