From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Subject: bug#26175: [bug#36976] [PATCH 1/1] download: Map file-name characters not allowed in store. Date: Sun, 08 Sep 2019 22:07:10 +0200 Message-ID: <87h85m4knl.fsf@gnu.org> References: <20190808144448.25147-1-h.goebel@crazy-compilers.com> <874l271tf6.fsf@gnu.org> <87woerajr8.fsf@gnu.org> <87v9u873na.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:32876) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i73Tf-0002MF-Ci for bug-guix@gnu.org; Sun, 08 Sep 2019 16:08:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1i73Te-00013I-D6 for bug-guix@gnu.org; Sun, 08 Sep 2019 16:08:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:58574) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1i73Te-00013A-AF for bug-guix@gnu.org; Sun, 08 Sep 2019 16:08:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1i73Te-0000tg-0S for bug-guix@gnu.org; Sun, 08 Sep 2019 16:08:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: (Hartmut Goebel's message of "Sun, 8 Sep 2019 20:50:15 +0200") 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: Hartmut Goebel Cc: 26175@debbugs.gnu.org Hartmut Goebel skribis: > Am 04.09.19 um 12:32 schrieb Ludovic Court=C3=A8s: >> Hi, >> >> Hartmut Goebel skribis: >> >>> =C2=A0=C2=A0 (origin >>> =C2=A0=C2=A0=C2=A0=C2=A0 (method url-fetch) >>> =C2=A0=C2=A0=C2=A0=C2=A0 (uri (string-append "mirror://kde//Attic/appli= cations/" >>> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= version "/src/kde-l10n/" >>> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= "kde-l10n-ca@valencia-" version ".tar.xz")) >> In this case just add a =E2=80=98file-name=E2=80=99 field. I think that= =E2=80=99s a reasonable >> expectation. >> >> Thanks, >> Ludo=E2=80=99. > > Agreed. WDYT about adding this as a hint when the error shows up? > > How can I catch the "error: invalid character `@' in name" in guix build? Unfortunately it cannot really be caught. I mean, you could catch =E2=80=98&store-protocol-error=E2=80=99 error conditions, but then the erro= r message is just a string, there=E2=80=99s no error code you can compare against. Ludo=E2=80=99.