From unknown Mon Aug 18 15:39:30 2025 X-Loop: help-debbugs@gnu.org Subject: bug#45615: Wrong type argument in "guix lint -c archival" Resent-From: Hartmut Goebel Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sat, 02 Jan 2021 22:15:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 45615 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 45615@debbugs.gnu.org X-Debbugs-Original-To: bug-guix Received: via spool by submit@debbugs.gnu.org id=B.160962565316111 (code B ref -1); Sat, 02 Jan 2021 22:15:01 +0000 Received: (at submit) by debbugs.gnu.org; 2 Jan 2021 22:14:13 +0000 Received: from localhost ([127.0.0.1]:32836 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kvpA4-0004Bn-ON for submit@debbugs.gnu.org; Sat, 02 Jan 2021 17:14:13 -0500 Received: from lists.gnu.org ([209.51.188.17]:49654) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kvpA2-0004Bf-Cp for submit@debbugs.gnu.org; Sat, 02 Jan 2021 17:14:10 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:49992) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kvpA2-00045K-7A for bug-guix@gnu.org; Sat, 02 Jan 2021 17:14:10 -0500 Received: from mail-out.m-online.net ([2001:a60:0:28:0:1:25:1]:35467) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kvp9z-0002PU-DZ for bug-guix@gnu.org; Sat, 02 Jan 2021 17:14:10 -0500 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 4D7blK4SCsz1rtZ9 for ; Sat, 2 Jan 2021 23:14:05 +0100 (CET) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 4D7blK4GNCz1qs5b for ; Sat, 2 Jan 2021 23:14:05 +0100 (CET) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id qmKtoQ8HSKD9 for ; Sat, 2 Jan 2021 23:14:04 +0100 (CET) Received: from hermia.goebel-consult.de (ppp-188-174-51-199.dynamic.mnet-online.de [188.174.51.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPS for ; Sat, 2 Jan 2021 23:14:04 +0100 (CET) Received: from thisbe.goebel-consult.de (hermia.goebel-consult.de [192.168.110.7]) by hermia.goebel-consult.de (Postfix) with ESMTP id 476586023E for ; Sat, 2 Jan 2021 23:19:11 +0100 (CET) From: Hartmut Goebel Organization: crazy-compilers.com Message-ID: <18602984-9fa4-5d72-f17a-306c7336d5ea@crazy-compilers.com> Date: Sat, 2 Jan 2021 23:14:01 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.12.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Content-Language: en-US Received-SPF: none client-ip=2001:a60:0:28:0:1:25:1; envelope-from=h.goebel@crazy-compilers.com; helo=mail-out.m-online.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) When running "guix lint -c archival ugrep" I get this backtrace show below. Expected behavior: No crash, but a useful error message. Reproduce: * Guix 947aed127a48ef41bab3bdbb4252eb2a56dafc10 (2021-01-01 13:55:11) * ugrep (new package) see http://debbugs.gnu.org/cgi/bugreport.cgi?bug=45614 $ ./pre-inst-env guix lint ugrep -c archival … Backtrace:grep@3.1.1 [archival]... In ice-9/boot-9.scm:   1736:10 15 (with-exception-handler _ _ #:unwind? _ # _) In unknown file:           14 (apply-smob/0 #) In ice-9/boot-9.scm:     718:2 13 (call-with-prompt _ _ #) In ice-9/eval.scm:     619:8 12 (_ #(#(#))) In guix/ui.scm:   2127:12 11 (run-guix-command _ . _) In ice-9/boot-9.scm:   1736:10 10 (with-exception-handler _ _ #:unwind? _ # _)   1731:15  9 (with-exception-handler # ?) In srfi/srfi-1.scm:     634:9  8 (for-each # ?) In guix/scripts/lint.scm:      65:4  7 (run-checkers # ?) In srfi/srfi-1.scm:     634:9  6 (for-each # ?) In guix/scripts/lint.scm:     74:21  5 (_ _) In guix/lint.scm:    1225:4  4 (check-archival _)    1092:2  3 (call-with-networking-fail-safe _ _ _) In ice-9/boot-9.scm:   1736:10  2 (with-exception-handler _ _ #:unwind? _ # _)   1669:16  1 (raise-exception _ #:continuable? _)   1667:16  0 (raise-exception _ #:continuable? _) ice-9/boot-9.scm:1667:16: In procedure raise-exception: In procedure string-prefix?: Wrong type argument in position 2 (expecting string): # -- Regards Hartmut Goebel | Hartmut Goebel | h.goebel@crazy-compilers.com | | www.crazy-compilers.com | compilers which you thought are impossible | From unknown Mon Aug 18 15:39:30 2025 X-Loop: help-debbugs@gnu.org Subject: bug#45615: SWH API break? Resent-From: zimoun Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 07 Jan 2021 15:43:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45615 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Hartmut Goebel , Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 45615@debbugs.gnu.org Received: via spool by 45615-submit@debbugs.gnu.org id=B45615.161003412532043 (code B ref 45615); Thu, 07 Jan 2021 15:43:02 +0000 Received: (at 45615) by debbugs.gnu.org; 7 Jan 2021 15:42:05 +0000 Received: from localhost ([127.0.0.1]:48351 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kxXQL-0008Kl-Eu for submit@debbugs.gnu.org; Thu, 07 Jan 2021 10:42:05 -0500 Received: from mail-qk1-f179.google.com ([209.85.222.179]:39811) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kxXQJ-0008KG-B5 for 45615@debbugs.gnu.org; Thu, 07 Jan 2021 10:42:03 -0500 Received: by mail-qk1-f179.google.com with SMTP id p14so5759410qke.6 for <45615@debbugs.gnu.org>; Thu, 07 Jan 2021 07:42:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=KoGwG5y+cuI3envRZPLz1msx51udpYAyXPxzKP5GIcI=; b=dJMfmv/BZ5XnfsTRlAnv6H70ICKXhYbRJEusqaXUMr08h7luccyVlra78hG++CTBmk NAtT1WqV6dYky5eOgpWDe+Tf+XGezDUpfl+epV9PzarJDoamWuEsZTkfqc6msFNDEuy5 1zjtU2j3c71kvpjtQVUx81IKMPG2g/NFKXUkXp9tbgJBa+Axhsj9Zz1B0De+zyhoXqH+ lE+kvgB4N8LlgA9LHY5qvGwVMHQGVFMskSRuMW8fXJN/xdCnuo3qT1fZoXWXyznOEf1Q oGBMD5tpK1TLCG8eZWzpsWyTsSpyO6ai9j+/RPUCE8hivHEu/7fJ0RWr7RHsikSPWCZI AikA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=KoGwG5y+cuI3envRZPLz1msx51udpYAyXPxzKP5GIcI=; b=WvYqTtnyRpAZd97Utv78+sjsgSF4eOfCPnBHJbZ2lIc6R7PUEAu+quFROzm21yb85y QNulgmFkNGU1ib3let8xiQ+zfE+29l8Fk0LBIrjM5i/utre8lXrvyjYMekO9KGNteyPe bq9EgeVSxu0MTHQ5iBtV4bbUwsqlj5AsqMmC43vdKA7IofY49gVVjsT5cht4/hScPwFB 4sWR+eoy4gJzrtbLM158OWKiP4LidnY+uEVleGOwKKUNeb8rhqifGr7VGMI6BwuuTj/h AXMP+a1bQLWDlqZQfvy3sop643rR74H+AtfAJU3Tz6D13nWgxUWfNmpTFGNAKUrhPE7G X/sQ== X-Gm-Message-State: AOAM530KxpJGxahhSVd6iDwIuzMcEfdXr8jSYUtmZUCw1Igwlg8TYYiT bx+P8IT4vrD2wqU5NsMQwPygPVqjfAFk9rPhFGk= X-Google-Smtp-Source: ABdhPJzHMnBwIWxV8mUhkUhUwm2DnMMtls13gUTiQ5ZE0F+MT04ltSvF0fBO9VxuyNBiWAHKctQQKIPNpwv29jMCzOQ= X-Received: by 2002:a05:620a:2105:: with SMTP id l5mr9762318qkl.126.1610034117753; Thu, 07 Jan 2021 07:41:57 -0800 (PST) MIME-Version: 1.0 References: <18602984-9fa4-5d72-f17a-306c7336d5ea@crazy-compilers.com> In-Reply-To: <18602984-9fa4-5d72-f17a-306c7336d5ea@crazy-compilers.com> From: zimoun Date: Thu, 7 Jan 2021 16:41:46 +0100 Message-ID: Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi, Thanks for the report. It comes from 'visit-snapshot-url' returning # instead of #f. Then 'swh-url' fails because the 'path' argument is not a string. Well, I do not how to fix it. I am confused by: --8<---------------cut here---------------start------------->8--- ;; (define-json-mapping make-visit visit? json->visit (date visit-date "date" string->date*) (origin visit-origin) (url visit-url "origin_visit_url") (snapshot-url visit-snapshot-url "snapshot_url" string*) ;string | #f (status visit-status "status" string->symbol) ;'full | 'partial | 'ongoing (number visit-number "visit")) --8<---------------cut here---------------end--------------->8--- and why it is not string or #f. Ludo, any tips? :-) All the best, simon From unknown Mon Aug 18 15:39:30 2025 X-Loop: help-debbugs@gnu.org Subject: bug#45615: SWH API break? Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 11 Jan 2021 13:13:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45615 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: zimoun Cc: 45615@debbugs.gnu.org, Hartmut Goebel Received: via spool by 45615-submit@debbugs.gnu.org id=B45615.161037074420650 (code B ref 45615); Mon, 11 Jan 2021 13:13:02 +0000 Received: (at 45615) by debbugs.gnu.org; 11 Jan 2021 13:12:24 +0000 Received: from localhost ([127.0.0.1]:56064 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kywzg-0005Mz-Ax for submit@debbugs.gnu.org; Mon, 11 Jan 2021 08:12:24 -0500 Received: from eggs.gnu.org ([209.51.188.92]:52052) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kywze-0005Mj-DS for 45615@debbugs.gnu.org; Mon, 11 Jan 2021 08:12:23 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:36456) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kywzY-0003uF-Il; Mon, 11 Jan 2021 08:12:16 -0500 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=57914 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kywzX-0005Sd-I7; Mon, 11 Jan 2021 08:12:15 -0500 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <18602984-9fa4-5d72-f17a-306c7336d5ea@crazy-compilers.com> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 22 =?UTF-8?Q?Niv=C3=B4se?= an 229 de la =?UTF-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Mon, 11 Jan 2021 14:12:14 +0100 In-Reply-To: (zimoun's message of "Thu, 7 Jan 2021 16:41:46 +0100") Message-ID: <87a6tffwi9.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi! zimoun skribis: > It comes from 'visit-snapshot-url' returning # instead of > #f. Then 'swh-url' fails because the 'path' argument is not a string. > > Well, I do not how to fix it. I am confused by: > > ;; > (define-json-mapping make-visit visit? > json->visit > (date visit-date "date" string->date*) > (origin visit-origin) > (url visit-url "origin_visit_url") > (snapshot-url visit-snapshot-url "snapshot_url" string*) ;string | #f > (status visit-status "status" string->symbol) ;'full | 'partial | 'on= going > (number visit-number "visit")) > > and why it is not string or #f. As discussed on IRC the other day, the culprit seems to be the recent guile-json upgrade (from 4.3.2 to 4.4.1, commit f9e1baa8933ea2ed385d0272dbfbe4e22f192bde). Were you able to check the raw JSON and see where the value is getting lost? Thanks, Ludo=E2=80=99. From unknown Mon Aug 18 15:39:30 2025 X-Loop: help-debbugs@gnu.org Subject: bug#45615: SWH API break? Resent-From: zimoun Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 11 Jan 2021 14:54:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45615 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 45615@debbugs.gnu.org, Hartmut Goebel Received: via spool by 45615-submit@debbugs.gnu.org id=B45615.161037683715474 (code B ref 45615); Mon, 11 Jan 2021 14:54:01 +0000 Received: (at 45615) by debbugs.gnu.org; 11 Jan 2021 14:53:57 +0000 Received: from localhost ([127.0.0.1]:56295 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kyyZw-00041V-Kh for submit@debbugs.gnu.org; Mon, 11 Jan 2021 09:53:56 -0500 Received: from mail-wr1-f48.google.com ([209.85.221.48]:33508) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kyyZv-00041F-73 for 45615@debbugs.gnu.org; Mon, 11 Jan 2021 09:53:55 -0500 Received: by mail-wr1-f48.google.com with SMTP id t30so102953wrb.0 for <45615@debbugs.gnu.org>; Mon, 11 Jan 2021 06:53:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version:content-transfer-encoding; bh=nRuZZ/8s9L0m+TA1gQ9BJMuf3FMPVlXYzb87wq+Evew=; b=uJHFqR0UZkdI5UzO7eZp7CVqQP/6B3X5UTSSmGPruLcZ6iLmgZRpLtg4CiPaqvNcso L625cgX+gxiv8PhbV5wRey/2WnLKCfKtPER2qt2MKxJkmQI93QK/QmsXUA11u9sZoeuF +xoc795ezX/63y5QlnBe24Na+ekXfpTvGLsVCSNgCQ03OLedTYVRKQdJq78NAY19yZnD 6RVc3U8e1u0l9uMmOB1PRupQOK8pDSQdPrBsHcHcAEQ/fIknpQiMeFZktbNErzkE0fnC VLQgI7bHiKkN+JuXkr4AwUxxoscMXkYmB+HslKZ44HB/ehnf+jR08mxA8inkmXcrY+Qv Jshw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version:content-transfer-encoding; bh=nRuZZ/8s9L0m+TA1gQ9BJMuf3FMPVlXYzb87wq+Evew=; b=skiguXrPMlGJCu5sJGAntljDOpET/BH2Of6/OJEgL9v1ItJuD6+EYtSwOBKpJNqZOO WLWKimtLOwhJAoLC6i12kNLo1I4CiN+7vSFpwIFlt6iXvNF6Cu6iC3VVU5eL2vDGZjXo GT4UqfHnOzgIisUMqYYeFXWlEGHSkpFrrvezQ7IMFsoi9Motd1+Mxg6NKEkW7dk5wc/v 1JEKq4S/DMgFUN+m9NJntyhglHR4LmybcVG504eDoLErY7LakSr+Ny5WkIfcg3PkeJMs isQGS6QwdP9FsgvZprF3XN0Juch9ROAvUdYoTe3m3oXM6GPF9V1u+JKIRId/3RmdHnbi A2jg== X-Gm-Message-State: AOAM530IxDg/DRoleAfXnRD7w2wZSJmHXrCuSu/4cikmp6OC/GMa0+4E VGj9Y6jysIAVjVjnaWRjLVxHLfVQtVY= X-Google-Smtp-Source: ABdhPJy0zbun9/qrRdWOQ6IVYXaRzMwe+sXptzjTfpHF6f9ipidTOcIDs5sT/CrmYlwsat7jywTh0w== X-Received: by 2002:a5d:4ccf:: with SMTP id c15mr16762820wrt.237.1610376829160; Mon, 11 Jan 2021 06:53:49 -0800 (PST) Received: from lili ([2a01:e0a:59b:9120:65d2:2476:f637:db1e]) by smtp.gmail.com with ESMTPSA id y6sm10985wmg.39.2021.01.11.06.53.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Jan 2021 06:53:48 -0800 (PST) From: zimoun In-Reply-To: <87a6tffwi9.fsf@gnu.org> References: <18602984-9fa4-5d72-f17a-306c7336d5ea@crazy-compilers.com> <87a6tffwi9.fsf@gnu.org> Date: Mon, 11 Jan 2021 15:45:55 +0100 Message-ID: <86lfczsfa4.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi Ludo, On Mon, 11 Jan 2021 at 14:12, Ludovic Court=C3=A8s wrote: >> (snapshot-url visit-snapshot-url "snapshot_url" string*) ;string | #f [...] >> and why it is not string or #f. > > As discussed on IRC the other day, the culprit seems to be the recent > guile-json upgrade (from 4.3.2 to 4.4.1, commit > f9e1baa8933ea2ed385d0272dbfbe4e22f192bde). > > Were you able to check the raw JSON and see where the value is getting > lost? Well, maybe I miss something. The JSON looks like: https://archive.softwareheritage.org/api/1/origin/https://github.com/Genivi= a/ugrep/get/ as we already discussed [1] the other day. From my understanding, when the field does not exist, before guile-json sets to #f and now it sets to #; I guess that it is related to the NEWS entry: --8<---------------cut here---------------start------------->8--- - Record-JSON mapping now allows using *unspecified* values to indicate a field record should not be serialized. (Fixes #61) --8<---------------cut here---------------end--------------->8--- and the behaviour change is described here: --8<---------------cut here---------------start------------->8--- Unspecified fields will now have the value *unspecified*. You mention that json->link-record would assign a #f but that's not actually correct, since a field could be a boolean in which case there would not be a way to identify it.=20 --8<---------------cut here---------------end--------------->8--- I am not familiar enough with Guile-JSON to see how to fix. Any tips? Cheers, simon 1: From unknown Mon Aug 18 15:39:30 2025 X-Loop: help-debbugs@gnu.org Subject: bug#45615: SWH API break? Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 11 Jan 2021 15:17:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45615 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: zimoun Cc: 45615@debbugs.gnu.org, Hartmut Goebel Received: via spool by 45615-submit@debbugs.gnu.org id=B45615.161037821627243 (code B ref 45615); Mon, 11 Jan 2021 15:17:01 +0000 Received: (at 45615) by debbugs.gnu.org; 11 Jan 2021 15:16:56 +0000 Received: from localhost ([127.0.0.1]:57815 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kyywB-00075L-S3 for submit@debbugs.gnu.org; Mon, 11 Jan 2021 10:16:56 -0500 Received: from eggs.gnu.org ([209.51.188.92]:56342) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kyyw8-000757-Ms for 45615@debbugs.gnu.org; Mon, 11 Jan 2021 10:16:53 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:38213) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kyyvz-0003l6-Uv; Mon, 11 Jan 2021 10:16:46 -0500 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=58432 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kyyvy-0003Ne-JS; Mon, 11 Jan 2021 10:16:43 -0500 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <18602984-9fa4-5d72-f17a-306c7336d5ea@crazy-compilers.com> <87a6tffwi9.fsf@gnu.org> <86lfczsfa4.fsf@gmail.com> Date: Mon, 11 Jan 2021 16:16:41 +0100 In-Reply-To: <86lfczsfa4.fsf@gmail.com> (zimoun's message of "Mon, 11 Jan 2021 15:45:55 +0100") Message-ID: <87y2gzcxly.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi, zimoun skribis: > Well, maybe I miss something. The JSON looks like: > > https://archive.softwareheritage.org/api/1/origin/https://github.com/Geni= via/ugrep/get/ > > as we already discussed [1] the other day. From my understanding, when > the field does not exist, before guile-json sets to #f and now it sets > to #; I guess that it is related to the NEWS entry: > > - Record-JSON mapping now allows using *unspecified* values to indicate= a > field record should not be serialized. > (Fixes #61) > > > and the behaviour change is described here: > > Unspecified fields will now have the value *unspecified*. You mention > that json->link-record would assign a #f but that's not actually > correct, since a field could be a boolean in which case there would not > be a way to identify it.=20 > > > > > I am not familiar enough with Guile-JSON to see how to fix. Any tips? Thanks for investigating! Looking more closely, I think the issue is related to this change, but to me it=E2=80=99s a bug: it=E2=80=99s now impo= ssible to set a field to #f. Reported at . Unfortunately, I can=E2=80=99t think of a way to work around it since it=E2= =80=99s pretty fundamental. At any rate, we should add a test that exercises this in =E2=80=98tests/swh= .scm=E2=80=99 so we don=E2=80=99t get caught by surprise next time. Thanks, Ludo=E2=80=99. From unknown Mon Aug 18 15:39:30 2025 X-Loop: help-debbugs@gnu.org Subject: bug#45615: SWH API break? Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 14 Jan 2021 11:10:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45615 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: zimoun Cc: 45615@debbugs.gnu.org, Hartmut Goebel Received: via spool by 45615-submit@debbugs.gnu.org id=B45615.161062258715057 (code B ref 45615); Thu, 14 Jan 2021 11:10:02 +0000 Received: (at 45615) by debbugs.gnu.org; 14 Jan 2021 11:09:47 +0000 Received: from localhost ([127.0.0.1]:37302 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l00Vf-0003un-8x for submit@debbugs.gnu.org; Thu, 14 Jan 2021 06:09:47 -0500 Received: from eggs.gnu.org ([209.51.188.92]:52312) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l00Vc-0003uZ-QD for 45615@debbugs.gnu.org; Thu, 14 Jan 2021 06:09:45 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:48602) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l00VV-000792-Dd; Thu, 14 Jan 2021 06:09:38 -0500 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=41742 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1l00VU-00008x-TW; Thu, 14 Jan 2021 06:09:37 -0500 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <18602984-9fa4-5d72-f17a-306c7336d5ea@crazy-compilers.com> <87a6tffwi9.fsf@gnu.org> <86lfczsfa4.fsf@gmail.com> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 25 =?UTF-8?Q?Niv=C3=B4se?= an 229 de la =?UTF-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Thu, 14 Jan 2021 12:09:35 +0100 In-Reply-To: <86lfczsfa4.fsf@gmail.com> (zimoun's message of "Mon, 11 Jan 2021 15:45:55 +0100") Message-ID: <87bldr7p1s.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi! For the record, I reported the issue here: https://github.com/aconchillo/guile-json/issues/69 It was promptly fixed and released in 4.5.1, but at first sight this version introduces other issues. To be continued=E2=80=A6 Ludo=E2=80=99. From unknown Mon Aug 18 15:39:30 2025 X-Loop: help-debbugs@gnu.org Subject: bug#45615: Wrong type argument in "guix lint -c archival" References: <18602984-9fa4-5d72-f17a-306c7336d5ea@crazy-compilers.com> In-Reply-To: <18602984-9fa4-5d72-f17a-306c7336d5ea@crazy-compilers.com> Resent-From: Aleix via web Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sat, 16 Jan 2021 17:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45615 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 45615@debbugs.gnu.org Received: via spool by 45615-submit@debbugs.gnu.org id=B45615.161081640032405 (code B ref 45615); Sat, 16 Jan 2021 17:00:02 +0000 Received: (at 45615) by debbugs.gnu.org; 16 Jan 2021 17:00:00 +0000 Received: from localhost ([127.0.0.1]:43899 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l0ovf-0008Qb-UP for submit@debbugs.gnu.org; Sat, 16 Jan 2021 12:00:00 -0500 Received: from sender4-of-o54.zoho.com ([136.143.188.54]:21418) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l0ovd-0008QR-13 for 45615@debbugs.gnu.org; Sat, 16 Jan 2021 11:59:58 -0500 ARC-Seal: i=1; a=rsa-sha256; t=1610816394; cv=none; d=zohomail.com; s=zohoarc; b=XRHkhzX0LS7JCrUyhB0Rpe6Iza/EZXspPYvy6dSH1OLwMI/oya7m3QgTgYL2ZmxwMoY/TAccK1tgab/Sr5FKz1LD2gcyWrk4+BKDOnQQwOyzJYCfd8KaNwSz4QQYU7+g+l5S+kXu6sZYdt903D+xrBl6yHncJSlkZKH5oGNLoHY= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1610816394; h=Content-Type:Date:From:MIME-Version:Message-ID:Subject:To; bh=9/9dnk9D2Bli5uIEOh3SML+jL0qntw8fnRdalAOHRcs=; b=Q1WOmk0MJosVchje8rLgtHaMjkJKsye2XnNTtpSW3Od/gFNADmtrAzyFm3CuQoDQYzqlHeFE5XZD7ZMQUYyiuDdd86wLa0C1XZITeWp+9qUKk4H8eE2uE+qXdwxo3Rhm2dvzbskKUpQnNQDN4kcYcMs8ZcisckDKJrtM41IVCec= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=elephly.net; spf=pass smtp.mailfrom=issues.guix.gnu.org@elephly.net; dmarc=pass header.from= header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1610816394; s=zoho; d=elephly.net; i=issues.guix.gnu.org@elephly.net; h=MIME-Version:Content-Type:From:To:Date:Message-ID:Subject; bh=9/9dnk9D2Bli5uIEOh3SML+jL0qntw8fnRdalAOHRcs=; b=UsAqyHpEIq347oJOpXj4w4qVEWPoWgjwdsfNYyeQKlvkvR3hMuyFmkUJO542vWf2 O+zJd1oVSJ56gqnrlx1wvZJVFVDgIktx7vupkUG+G+8VZY6Te2W8/5EkWeWkttzhYMr 1CMzslWo6m+UTe+X9XehgsTaGCBN+PhSpWQ6ho7Y= Received: from localhost (185.220.102.246 [185.220.102.246]) by mx.zohomail.com with SMTPS id 161081639246436.35098163178202; Sat, 16 Jan 2021 08:59:52 -0800 (PST) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 From: Aleix via web Date: Sat, 16 Jan 2021 17:59:43 +0100 Message-ID: <7fba7a122c70.4a545d3624120e0@guile.gnu.org> X-ZohoMailClient: External X-Spam-Score: 1.7 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Hi Ludo, Can you share what other issues might arose after the fix? I'd be happy to look into it. Content analysis details: (1.7 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 1.2 RCVD_IN_BL_SPAMCOP_NET RBL: Received via a relay in bl.spamcop.net [Blocked - see ] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [136.143.188.54 listed in wl.mailspike.net] -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [136.143.188.54 listed in list.dnswl.org] 0.5 AC_FROM_MANY_DOTS Multiple periods in From user name X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.2 (/) Hi Ludo, Can you share what other issues might arose after the fix? I'd be happy to look into it. Thanks! Aleix From unknown Mon Aug 18 15:39:30 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Hartmut Goebel Subject: bug#45615: closed (Re: bug#45615: Wrong type argument in "guix lint -c archival") Message-ID: References: <87eeied1tn.fsf_-_@gnu.org> <18602984-9fa4-5d72-f17a-306c7336d5ea@crazy-compilers.com> X-Gnu-PR-Message: they-closed 45615 X-Gnu-PR-Package: guix Reply-To: 45615@debbugs.gnu.org Date: Thu, 21 Jan 2021 10:26:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1611224762-17884-1" This is a multi-part message in MIME format... ------------=_1611224762-17884-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #45615: Wrong type argument in "guix lint -c archival" which was filed against the guix package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 45615@debbugs.gnu.org. --=20 45615: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D45615 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1611224762-17884-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 45615-done) by debbugs.gnu.org; 21 Jan 2021 10:25:23 +0000 Received: from localhost ([127.0.0.1]:56888 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l2X9X-0004da-09 for submit@debbugs.gnu.org; Thu, 21 Jan 2021 05:25:23 -0500 Received: from eggs.gnu.org ([209.51.188.92]:44192) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l2X9W-0004dL-9L for 45615-done@debbugs.gnu.org; Thu, 21 Jan 2021 05:25:22 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:39932) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l2X9P-0003oY-Uw; Thu, 21 Jan 2021 05:25:16 -0500 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=46808 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1l2X9K-0001PK-7X; Thu, 21 Jan 2021 05:25:13 -0500 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: zimoun Subject: Re: bug#45615: Wrong type argument in "guix lint -c archival" References: <18602984-9fa4-5d72-f17a-306c7336d5ea@crazy-compilers.com> <87a6tffwi9.fsf@gnu.org> <86lfczsfa4.fsf@gmail.com> <87bldr7p1s.fsf@gnu.org> Date: Thu, 21 Jan 2021 11:25:08 +0100 In-Reply-To: <87bldr7p1s.fsf@gnu.org> ("Ludovic =?utf-8?Q?Court=C3=A8s=22'?= =?utf-8?Q?s?= message of "Thu, 14 Jan 2021 12:09:35 +0100") Message-ID: <87eeied1tn.fsf_-_@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 45615-done Cc: 45615-done@debbugs.gnu.org, Hartmut Goebel X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi! Ludovic Court=C3=A8s skribis: > For the record, I reported the issue here: > > https://github.com/aconchillo/guile-json/issues/69 > > It was promptly fixed and released in 4.5.1, but at first sight this > version introduces other issues. To be continued=E2=80=A6 Updated Guile-JSON in commit 5f7f4e16d64135291fc5b3d12e57476a52a97105, followed by a test specifically for this issue in 5225732b9b54ffa92b9d199246b87dae666a3f77. Thanks, Ludo=E2=80=99. ------------=_1611224762-17884-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 2 Jan 2021 22:14:13 +0000 Received: from localhost ([127.0.0.1]:32836 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kvpA4-0004Bn-ON for submit@debbugs.gnu.org; Sat, 02 Jan 2021 17:14:13 -0500 Received: from lists.gnu.org ([209.51.188.17]:49654) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kvpA2-0004Bf-Cp for submit@debbugs.gnu.org; Sat, 02 Jan 2021 17:14:10 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:49992) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kvpA2-00045K-7A for bug-guix@gnu.org; Sat, 02 Jan 2021 17:14:10 -0500 Received: from mail-out.m-online.net ([2001:a60:0:28:0:1:25:1]:35467) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kvp9z-0002PU-DZ for bug-guix@gnu.org; Sat, 02 Jan 2021 17:14:10 -0500 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 4D7blK4SCsz1rtZ9 for ; Sat, 2 Jan 2021 23:14:05 +0100 (CET) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 4D7blK4GNCz1qs5b for ; Sat, 2 Jan 2021 23:14:05 +0100 (CET) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id qmKtoQ8HSKD9 for ; Sat, 2 Jan 2021 23:14:04 +0100 (CET) Received: from hermia.goebel-consult.de (ppp-188-174-51-199.dynamic.mnet-online.de [188.174.51.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPS for ; Sat, 2 Jan 2021 23:14:04 +0100 (CET) Received: from thisbe.goebel-consult.de (hermia.goebel-consult.de [192.168.110.7]) by hermia.goebel-consult.de (Postfix) with ESMTP id 476586023E for ; Sat, 2 Jan 2021 23:19:11 +0100 (CET) To: bug-guix From: Hartmut Goebel Subject: Wrong type argument in "guix lint -c archival" Organization: crazy-compilers.com Message-ID: <18602984-9fa4-5d72-f17a-306c7336d5ea@crazy-compilers.com> Date: Sat, 2 Jan 2021 23:14:01 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.12.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Content-Language: en-US Received-SPF: none client-ip=2001:a60:0:28:0:1:25:1; envelope-from=h.goebel@crazy-compilers.com; helo=mail-out.m-online.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) When running "guix lint -c archival ugrep" I get this backtrace show below. Expected behavior: No crash, but a useful error message. Reproduce: * Guix 947aed127a48ef41bab3bdbb4252eb2a56dafc10 (2021-01-01 13:55:11) * ugrep (new package) see http://debbugs.gnu.org/cgi/bugreport.cgi?bug=45614 $ ./pre-inst-env guix lint ugrep -c archival … Backtrace:grep@3.1.1 [archival]... In ice-9/boot-9.scm:   1736:10 15 (with-exception-handler _ _ #:unwind? _ # _) In unknown file:           14 (apply-smob/0 #) In ice-9/boot-9.scm:     718:2 13 (call-with-prompt _ _ #) In ice-9/eval.scm:     619:8 12 (_ #(#(#))) In guix/ui.scm:   2127:12 11 (run-guix-command _ . _) In ice-9/boot-9.scm:   1736:10 10 (with-exception-handler _ _ #:unwind? _ # _)   1731:15  9 (with-exception-handler # ?) In srfi/srfi-1.scm:     634:9  8 (for-each # ?) In guix/scripts/lint.scm:      65:4  7 (run-checkers # ?) In srfi/srfi-1.scm:     634:9  6 (for-each # ?) In guix/scripts/lint.scm:     74:21  5 (_ _) In guix/lint.scm:    1225:4  4 (check-archival _)    1092:2  3 (call-with-networking-fail-safe _ _ _) In ice-9/boot-9.scm:   1736:10  2 (with-exception-handler _ _ #:unwind? _ # _)   1669:16  1 (raise-exception _ #:continuable? _)   1667:16  0 (raise-exception _ #:continuable? _) ice-9/boot-9.scm:1667:16: In procedure raise-exception: In procedure string-prefix?: Wrong type argument in position 2 (expecting string): # -- Regards Hartmut Goebel | Hartmut Goebel | h.goebel@crazy-compilers.com | | www.crazy-compilers.com | compilers which you thought are impossible | ------------=_1611224762-17884-1-- From unknown Mon Aug 18 15:39:30 2025 X-Loop: help-debbugs@gnu.org Subject: bug#45615: Wrong type argument in "guix lint -c archival" Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 21 Jan 2021 10:29:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45615 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Aleix via web Cc: 45615@debbugs.gnu.org Received: via spool by 45615-submit@debbugs.gnu.org id=B45615.161122488618167 (code B ref 45615); Thu, 21 Jan 2021 10:29:01 +0000 Received: (at 45615) by debbugs.gnu.org; 21 Jan 2021 10:28:06 +0000 Received: from localhost ([127.0.0.1]:56898 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l2XC9-0004iw-KR for submit@debbugs.gnu.org; Thu, 21 Jan 2021 05:28:05 -0500 Received: from eggs.gnu.org ([209.51.188.92]:44864) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l2XC8-0004iO-N3 for 45615@debbugs.gnu.org; Thu, 21 Jan 2021 05:28:04 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:39953) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l2XC3-00059D-G5; Thu, 21 Jan 2021 05:27:59 -0500 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=46858 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1l2XC2-0001s8-IF; Thu, 21 Jan 2021 05:27:58 -0500 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <18602984-9fa4-5d72-f17a-306c7336d5ea@crazy-compilers.com> <7fba7a122c70.4a545d3624120e0@guile.gnu.org> Date: Thu, 21 Jan 2021 11:27:57 +0100 In-Reply-To: <7fba7a122c70.4a545d3624120e0@guile.gnu.org> (Aleix via web's message of "Sat, 16 Jan 2021 17:59:43 +0100") Message-ID: <87a6t2d1oy.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi Alex! Thanks for reaching out to us. :-) Aleix via web skribis: > Can you share what other issues might arose after the fix? > > I'd be happy to look into it. There were problems in JSON bindings we had that were not prepared to handle unspecified values, but that was easily fixed: https://git.savannah.gnu.org/cgit/guix.git/commit/?id=3D3d43b7aef3d5b7ad2= ba0418d2afd657e5fedeaf5 I=E2=80=99m glad we have good test coverage here, otherwise adjusting to th= ese changes can be very error-prone! Thanks, Ludo=E2=80=99.