[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#26175: [bug#36976] [PATCH 1/1] download: Map file-name characters no
From: |
Ludovic Courtès |
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 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) |
Hartmut Goebel <address@hidden> skribis:
> Am 04.09.19 um 12:32 schrieb Ludovic Courtès:
>> Hi,
>>
>> Hartmut Goebel <address@hidden> skribis:
>>
>>> (origin
>>> (method url-fetch)
>>> (uri (string-append "mirror://kde//Attic/applications/"
>>> version "/src/kde-l10n/"
>>> "kde-l10n-ca@valencia-" version ".tar.xz"))
>> In this case just add a ‘file-name’ field. I think that’s a reasonable
>> expectation.
>>
>> Thanks,
>> Ludo’.
>
> 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
‘&store-protocol-error’ error conditions, but then the error message is
just a string, there’s no error code you can compare against.
Ludo’.