From mboxrd@z Thu Jan 1 00:00:00 1970 From: swedebugia Subject: bug#33238: Fail nicely when profile is not found Date: Fri, 2 Nov 2018 09:00:17 +0100 Message-ID: <3c9c7b9e-90ce-a70e-2850-b4e32d719f04@riseup.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40220) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gIUJK-0006XF-CZ for bug-guix@gnu.org; Fri, 02 Nov 2018 03:56:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gIUJH-0007f8-3z for bug-guix@gnu.org; Fri, 02 Nov 2018 03:56:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:54959) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gIUJG-0007f1-Rx for bug-guix@gnu.org; Fri, 02 Nov 2018 03:56:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gIUJG-00057i-PZ for bug-guix@gnu.org; Fri, 02 Nov 2018 03:56:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40048) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gIUI7-0006PS-4I for bug-guix@gnu.org; Fri, 02 Nov 2018 03:54:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gIUI3-0006zP-Ur for bug-guix@gnu.org; Fri, 02 Nov 2018 03:54:51 -0400 Received: from mx1.riseup.net ([198.252.153.129]:55329) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gIUI3-0006z0-OL for bug-guix@gnu.org; Fri, 02 Nov 2018 03:54:47 -0400 Received: from piha.riseup.net (piha-pn.riseup.net [10.0.1.163]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client CN "*.riseup.net", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.riseup.net (Postfix) with ESMTPS id 847991A0209 for ; Fri, 2 Nov 2018 00:54:46 -0700 (PDT) Received: from [127.0.0.1] (localhost [127.0.0.1]) by piha.riseup.net with ESMTPSA id DFC4763FBE for ; Fri, 2 Nov 2018 00:54:45 -0700 (PDT) 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: 33238@debbugs.gnu.org Hi I installed guix from AUR and ran into this: $ guix pull -l Backtrace: =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 8 (apply-sm= ob/1 #) In ice-9/boot-9.scm: =C2=A0=C2=A0=C2=A0 705:2=C2=A0 7 (call-with-prompt _ _ #) In ice-9/eval.scm: =C2=A0=C2=A0=C2=A0 619:8=C2=A0 6 (_ #(#(#))) In guix/ui.scm: =C2=A0 1578:12=C2=A0 5 (run-guix-command _ . _) In ice-9/boot-9.scm: =C2=A0=C2=A0=C2=A0 829:9=C2=A0 4 (catch srfi-34 # =E2=80=A6) =C2=A0=C2=A0=C2=A0 829:9=C2=A0 3 (catch system-error # =E2=80=A6) =C2=A0=C2=A0=C2=A0 829:9=C2=A0 2 (catch git-error # =E2=80=A6) =C2=A0=C2=A0=C2=A0 829:9=C2=A0 1 (catch system-error # =E2=80=A6) In unknown file: =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 0 (raise #<= condition &profile-not-found-error [profile: "=E2=80=A6>) ERROR: In procedure raise: Wrong type (expecting exact integer): # The install went fine but guix is not working :/ so I will do a manual=20 binary install instead. I could try crafting a patch testing if the directory exist if somebody=20 is willing to point me to the right file (and perhaps an example of a=20 procedure that can check this) Cheers Swedebugia $ guix --version guix (GNU Guix) 0.15.0 Copyright (C) 2018 the Guix authors License GPLv3+: GNU GPL version 3 or later=20 This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.