guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Multiple substitute servers question


From: Ludovic Courtès
Subject: Re: Multiple substitute servers question
Date: Tue, 02 May 2017 12:34:55 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux)

Hello!

Maxim Cournoyer <address@hidden> skribis:

> Maxim Cournoyer <address@hidden> writes:

[...]

> The substitute URI should be "https://mirrors.hydra.gnu.org";. When using
> such URI it works without an error.
>
> My original question still holds though (why is an unresolvable
> substitute-url able to bring the guix command down when at least one
> working alternative substitute server exists? -- it should just warn
> about it and push through).

That’s what it does, except for URL syntax errors.

That is, if you pass:

  --substitute-urls="http://example.org/does-not-work 
https://mirror.hydra.gnu.org";

then the first one is ignored.

Does that make sense?

>> substitute: In unknown file:
>> substitute:    ?: 1 [primitive-load 
>> "/gnu/store/v83285dvjy923ikq1dddncixb6kfba0k-guix-0.12.0-5.1162/bin/.guix-real"]
>> substitute: In guix/ui.scm:
>> substitute: 1228: 0 [run-guix-command substitute "--query"]
>> substitute: 
>> substitute: guix/ui.scm:1228:8: In procedure run-guix-command:
>> substitute: guix/ui.scm:1228:8: In procedure struct_vtable: Wrong type 
>> argument in position 1 (expecting struct): #f
>> guix environment: error: corrupt input while restoring archive from 
>> #<closed: file 0>
>>
>
> Also, this error message is very cryptic; it didn't provided much that
> would have helped me to realize about my error (wrong URI) earlier.

Indeed.  Fixed in 8a2105078b5845e31768da06b360676352b1f3e9 (you won’t
get the fix until you run an updated guix-daemon.)

Thanks!

Ludo’.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]