Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1miJht-0005Vc-I8 for pgsql-www@arkaria.postgresql.org; Wed, 03 Nov 2021 17:05:49 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1miJhs-0001Sr-8a for pgsql-www@arkaria.postgresql.org; Wed, 03 Nov 2021 17:05:48 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1miJhs-0001Si-2N for pgsql-www@lists.postgresql.org; Wed, 03 Nov 2021 17:05:48 +0000 Received: from ploudseeker.com ([78.199.165.48]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1miJhq-00031p-3Q for pgsql-www@lists.postgresql.org; Wed, 03 Nov 2021 17:05:47 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cmatte.me; s=myselector; t=1635959144; bh=udsSFrpSk/Vwr7ihNdHS9SH2lK8Nb4F5EUGrFpZygoc=; h=Date:Subject:To:References:From:In-Reply-To; b=v9tmr/onUs2GHXTU//KcQeaPORw9viviFm0+y/IytNrm7rkU/HifEBybEywaD7MOI lPtpVn+txhQ0+S6JhTFdF0IDNsLLLZ1SL3rEX7PCL1b/7DxiZmfYUdUX8RMRE9frey n3PD5wWTetmDh+jQ4Apab7wcDJmHxQMGYyXhKgeERgLhiOxzpogS0tWjqGFWEejRAQ b+g+rqf1ZbZ2kgkanGvVUTV0cm12nNmmlx4dHS5qU7+2xeGvs1f8I0pr2VD1mscpGR /YpmCgHqqMvDcsZtguBclbhmfY3WjrOwGSe+XQSiLesFR35IjQV/2u+GfNU8uLJvL0 0xRquUcm2CcMg== Message-ID: Date: Wed, 3 Nov 2021 18:05:44 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.2.1 Subject: Re: [PATCH] pgarchives: parser: handle messages in which Message-ID is missing Content-Language: en-US To: pgsql-www@lists.postgresql.org References: From: =?UTF-8?Q?C=c3=a9lestin_Matte?= In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk By the way, loader/load_message.py has a double crash issue, when importing a message raising an IgnorableException: [...] During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/srv/pgarchives/local//loader/load_message.py", line 155, in log_failed_message(listid, "mbox", opt.mbox, ap, e) File "/srv/pgarchives/local//loader/load_message.py", line 36, in log_failed_message 'err': str(str(err), 'us-ascii', 'replace'), TypeError: decoding str is not supported I don't understand what this line is supposed to do (removing non-ascii characters?), but a simple str(err) fixes the issue. Cheers, -- Célestin Matte