Re: [xml2rfc] Problems running xml2rfc on Fedora 30

Robert Moskowitz <rgm@htt-consult.com> Fri, 26 July 2019 17:31 UTC

Return-Path: <rgm@htt-consult.com>
X-Original-To: xml2rfc@ietfa.amsl.com
Delivered-To: xml2rfc@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C7594120071 for <xml2rfc@ietfa.amsl.com>; Fri, 26 Jul 2019 10:31:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.9
X-Spam-Level:
X-Spam-Status: No, score=-0.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, PP_MIME_FAKE_ASCII_TEXT=0.999, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=no autolearn_force=no
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 ESloQVQv3NI3 for <xml2rfc@ietfa.amsl.com>; Fri, 26 Jul 2019 10:31:29 -0700 (PDT)
Received: from z9m9z.htt-consult.com (z9m9z.htt-consult.com [23.123.122.147]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id EC3191202D9 for <xml2rfc@ietf.org>; Fri, 26 Jul 2019 10:31:05 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by z9m9z.htt-consult.com (Postfix) with ESMTP id 10C0260945; Fri, 26 Jul 2019 13:31:04 -0400 (EDT)
X-Virus-Scanned: amavisd-new at htt-consult.com
Received: from z9m9z.htt-consult.com ([127.0.0.1]) by localhost (z9m9z.htt-consult.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 2FjU9lUHMojr; Fri, 26 Jul 2019 13:30:46 -0400 (EDT)
Received: from lx140e.htt-consult.com (dhcp-914c.meeting.ietf.org [31.133.145.76]) (using TLSv1.2 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by z9m9z.htt-consult.com (Postfix) with ESMTPSA id 585296080C; Fri, 26 Jul 2019 13:30:46 -0400 (EDT)
To: Julian Reschke <julian.reschke@gmx.de>, "xml2rfc@ietf.org" <xml2rfc@ietf.org>
References: <84eafb24-f652-0c87-8063-2f7e381709e3@htt-consult.com> <8e2f08b5-0b33-572d-dd8b-b90ddde888d9@gmx.de>
From: Robert Moskowitz <rgm@htt-consult.com>
Message-ID: <d69f5911-97d6-65e3-2eec-68a39b7fa9b3@htt-consult.com>
Date: Fri, 26 Jul 2019 13:30:45 -0400
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0
MIME-Version: 1.0
In-Reply-To: <8e2f08b5-0b33-572d-dd8b-b90ddde888d9@gmx.de>
Content-Type: multipart/mixed; boundary="------------93842D034738C073F2F78A99"
Content-Language: en-US
Archived-At: <https://mailarchive.ietf.org/arch/msg/xml2rfc/xHRAZ4nOx7_XHSMnZAsgMK5vw7Q>
Subject: Re: [xml2rfc] Problems running xml2rfc on Fedora 30
X-BeenThere: xml2rfc@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: <xml2rfc.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/xml2rfc>, <mailto:xml2rfc-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/xml2rfc/>
List-Post: <mailto:xml2rfc@ietf.org>
List-Help: <mailto:xml2rfc-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/xml2rfc>, <mailto:xml2rfc-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 26 Jul 2019 17:31:38 -0000

Here is the xml.  I believe it is unchanged for what I used on my old 
Fedora 28 system (back at home) and submitted long ago...

And where does one open a ticket?

On 7/26/19 1:26 PM, Julian Reschke wrote:
> On 26.07.2019 18:40, Robert Moskowitz wrote:
>> This is the first time running xml2rfc on my new, Fedora 30 build.
>>
>> I had done the 'pip install xml2rfc' when I built this system a couple
>> months ago.  Today I went to run it and got errors.  SO I grabbed the
>> xml from a draft I worked with back on Fedora 28 and got the following
>> for my efforts:
>>
>> $ xml2rfc draft-moskowitz-hierarchical-hip-06.xml
>> Parsing file draft-moskowitz-hierarchical-hip-06.xml
>> Traceback (most recent call last):
>>    File "/usr/bin/xml2rfc", line 11, in <module>
>>      load_entry_point('xml2rfc==2.22.3', 'console_scripts', 'xml2rfc')()
>>    File "/usr/lib/python2.7/site-packages/xml2rfc/run.py", line 386, in
>> main
>>      xmlrfc = parser.parse(remove_pis=options.remove_pis, 
>> normalize=True)
>>    File "/usr/lib/python2.7/site-packages/xml2rfc/parser.py", line 599,
>> in parse
>>      include=True, line_no=getattr(element, 'sourceline', 0))
>>    File "/usr/lib/python2.7/site-packages/xml2rfc/parser.py", line 302,
>> in getReferenceRequest
>>      result = self.cache(url)
>>    File "/usr/lib/python2.7/site-packages/xml2rfc/parser.py", line 368,
>> in cache
>>      r = session.get(url)
>>    File "/usr/lib/python2.7/site-packages/requests/sessions.py", line
>> 546, in get
>>      return self.request('GET', url, **kwargs)
>>    File "/usr/lib/python2.7/site-packages/requests/sessions.py", line
>> 533, in request
>>      resp = self.send(prep, **send_kwargs)
>>    File "/usr/lib/python2.7/site-packages/requests/sessions.py", line
>> 646, in send
>>      r = adapter.send(request, **kwargs)
>>    File "/usr/lib/python2.7/site-packages/requests/adapters.py", line
>> 498, in send
>>      raise ConnectionError(err, request=request)
>> requests.exceptions.ConnectionError: ('Connection aborted.',
>> BadStatusLine('No status line received - the server has closed the
>> connection',))
>>
>>
>> Please advise me on how to fix this.  I can provide the xml if needed.
>
> I suspect something is wrong with your reference includes (or actually
> with the server you're trying to reach).
>
> Please send XML :-)
>
> Best regards, Julian
>
> PS: and we should open a ticket to get more usable error messages...
>
>
>