From mboxrd@z Thu Jan 1 00:00:00 1970 From: swedebugia Subject: bug#33272: guix refresh/download backtrace error when missing nss-certs Date: Tue, 6 Nov 2018 12:42:07 +0100 Message-ID: References: <20181105202650.GB19298@jasmine.lan> <20181105204802.GD19298@jasmine.lan> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59683) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gJzfN-0003Yp-Fd for bug-guix@gnu.org; Tue, 06 Nov 2018 06:37:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gJzfK-0000lD-7R for bug-guix@gnu.org; Tue, 06 Nov 2018 06:37:05 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:60070) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gJzfK-0000kz-0v for bug-guix@gnu.org; Tue, 06 Nov 2018 06:37:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gJzfJ-0001N1-QE for bug-guix@gnu.org; Tue, 06 Nov 2018 06:37:01 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <20181105204802.GD19298@jasmine.lan> Content-Language: sv-FI List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Leo Famulari Cc: 33272@debbugs.gnu.org Hi On 2018-11-05 21:48, Leo Famulari wrote: > On Mon, Nov 05, 2018 at 09:39:15PM +0100, swedebugia wrote: >> How do we catch the error? > I am basically a novice Schemer still, so you will have to figure out > most of this on your own, unless someone else brings more advice :) Me too > In general, dealing with exceptions in Guile: > > https://www.gnu.org/software/guile/manual/html_node/Exceptions.html > > There are lots of examples of how to use those mechanisms in the Guix > source code — the error message in your original email comes from a > caught exception in (guix build download). > > You'll need to find out what is crashing and generating the backtrace, > and then decide what counts as a failure mode that we want to catch in > that context. Thank you for the tips. This sounds too complicated for me to bite at my current skill level. -- Cheers Swedebugia