GNU bug report logs -
#25719
"guix package -i" exception should be a normal error message
Previous Next
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 25719 in the body.
You can then email your comments to 25719 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-guix <at> gnu.org
:
bug#25719
; Package
guix
.
(Tue, 14 Feb 2017 08:42:01 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Danny Milosavljevic <dannym <at> scratchpost.org>
:
New bug report received and forwarded. Copy sent to
bug-guix <at> gnu.org
.
(Tue, 14 Feb 2017 08:42:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
When I have network problems sometimes I get a backtrace like this:
...
substitute: 1727: 3 [%start-stack load-stack #<procedure a97d60 at ice-9/boot-9.scm:4047:10 ()>]
substitute: 1732: 2 [#<procedure a99b70 ()>]
substitute: In unknown file:
substitute: ?: 1 [primitive-load "/gnu/store/175nlv448nk5kagwwl3zyy2w4726qfz6-guix-0.12.0-4.d9da/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: Throw to key `bad-response' with args `("Bad Response-Line: ~s" (""))'.
It might make sense to
(a) convert that into a normal runtime error message and
(b) Fallback to substituteless building (maybe only for this thing).
Information forwarded
to
bug-guix <at> gnu.org
:
bug#25719
; Package
guix
.
(Tue, 01 Dec 2020 18:36:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 25719 <at> debbugs.gnu.org (full text, mbox):
Hi Danny,
This old bug #25719 is about exception and error message. See:
<http://issues.guix.gnu.org/issue/25719>
On Tue, 14 Feb 2017 at 09:41, Danny Milosavljevic <dannym <at> scratchpost.org> wrote:
> When I have network problems sometimes I get a backtrace like this:
First, do you still experiment such behaviour? Since it 3 years old.
> ...
> substitute: 1727: 3 [%start-stack load-stack #<procedure a97d60 at ice-9/boot-9.scm:4047:10 ()>]
> substitute: 1732: 2 [#<procedure a99b70 ()>]
> substitute: In unknown file:
> substitute: ?: 1 [primitive-load "/gnu/store/175nlv448nk5kagwwl3zyy2w4726qfz6-guix-0.12.0-4.d9da/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: Throw to key `bad-response' with args `("Bad Response-Line: ~s" (""))'.
>
> It might make sense to
>
> (a) convert that into a normal runtime error message and
What do you mean?
> (b) Fallback to substituteless building (maybe only for this thing).
Is it not the case currently?
All the best,
simon
Information forwarded
to
bug-guix <at> gnu.org
:
bug#25719
; Package
guix
.
(Wed, 02 Dec 2020 13:36:01 GMT)
Full text and
rfc822 format available.
Message #11 received at 25719 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Hi zimoun,
On Tue, 01 Dec 2020 19:28:12 +0100
zimoun <zimon.toutoune <at> gmail.com> wrote:
> This old bug #25719 is about exception and error message. See:
>
> <http://issues.guix.gnu.org/issue/25719>
>
> On Tue, 14 Feb 2017 at 09:41, Danny Milosavljevic <dannym <at> scratchpost.org> wrote:
> > When I have network problems sometimes I get a backtrace like this:
>
> First, do you still experiment such behaviour? Since it 3 years old.
I haven't seen this particular exception in a long time. I cannot tell whether
the actual usability has been fixed, though--it could be that only the servers
are more reliable and this code path is thus not currently being entered.
> > substitute: 1727: 3 [%start-stack load-stack #<procedure a97d60 at ice-9/boot-9.scm:4047:10 ()>]
> > substitute: 1732: 2 [#<procedure a99b70 ()>]
> > substitute: In unknown file:
> > substitute: ?: 1 [primitive-load "/gnu/store/175nlv448nk5kagwwl3zyy2w4726qfz6-guix-0.12.0-4.d9da/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: Throw to key `bad-response' with args `("Bad Response-Line: ~s" (""))'.
> >
> > It might make sense to
> >
> > (a) convert that into a normal runtime error message and
>
> What do you mean?
The above is an exception.
In this case the download failed--and unfortunately that is a completely normal
thing on the internet. Therefore, that is not something you'd use an exception
for.
There is no added information that could help the user in the exception.
For example it doesn't list the URL--the one thing that would actually help.
> > (b) Fallback to substituteless building (maybe only for this thing).
>
> Is it not the case currently?
No, I'm pretty sure I had to manually specify "--fallback" like a week ago--otherwise
it would not fallback to building without substitutes, but it would just fail.
[Message part 2 (application/pgp-signature, inline)]
Information forwarded
to
bug-guix <at> gnu.org
:
bug#25719
; Package
guix
.
(Mon, 14 Dec 2020 13:18:01 GMT)
Full text and
rfc822 format available.
Message #14 received at 25719 <at> debbugs.gnu.org (full text, mbox):
Hi Danny
On Wed, 02 Dec 2020 at 14:35, Danny Milosavljevic <dannym <at> scratchpost.org> wrote:
>> > substitute: 1727: 3 [%start-stack load-stack #<procedure a97d60 at ice-9/boot-9.scm:4047:10 ()>]
>> > substitute: 1732: 2 [#<procedure a99b70 ()>]
>> > substitute: In unknown file:
>> > substitute: ?: 1 [primitive-load "/gnu/store/175nlv448nk5kagwwl3zyy2w4726qfz6-guix-0.12.0-4.d9da/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: Throw to key `bad-response' with args `("Bad Response-Line: ~s" (""))'.
>> >
>> > It might make sense to
>> >
>> > (a) convert that into a normal runtime error message and
>>
>> What do you mean?
>
> The above is an exception.
>
> In this case the download failed--and unfortunately that is a completely normal
> thing on the internet. Therefore, that is not something you'd use an exception
> for.
>
> There is no added information that could help the user in the exception.
> For example it doesn't list the URL--the one thing that would actually help.
If I understand correctly, instead of the backtrace you would like a
message captured by the exception, right?
All the best,
simon
Added tag(s) moreinfo.
Request was from
zimoun <zimon.toutoune <at> gmail.com>
to
control <at> debbugs.gnu.org
.
(Tue, 22 Dec 2020 14:24:02 GMT)
Full text and
rfc822 format available.
Information forwarded
to
bug-guix <at> gnu.org
:
bug#25719
; Package
guix
.
(Wed, 24 Mar 2021 21:59:01 GMT)
Full text and
rfc822 format available.
Message #19 received at 25719 <at> debbugs.gnu.org (full text, mbox):
Hi Danny,
On Wed, 02 Dec 2020 at 14:35, Danny Milosavljevic <dannym <at> scratchpost.org> wrote:
> On Tue, 01 Dec 2020 19:28:12 +0100
> zimoun <zimon.toutoune <at> gmail.com> wrote:
>
>> This old bug #25719 is about exception and error message. See:
>>
>> <http://issues.guix.gnu.org/issue/25719>
>>
>> On Tue, 14 Feb 2017 at 09:41, Danny Milosavljevic <dannym <at> scratchpost.org> wrote:
>> > When I have network problems sometimes I get a backtrace like this:
>>
>> First, do you still experiment such behaviour? Since it 3 years old.
>
> I haven't seen this particular exception in a long time. I cannot tell whether
> the actual usability has been fixed, though--it could be that only the servers
> are more reliable and this code path is thus not currently being entered.
Therefore, I am in favor to close it. And maybe reopen it or open
another one it happens again. WDYT?
Cheers,
simon
Reply sent
to
Danny Milosavljevic <dannym <at> scratchpost.org>
:
You have taken responsibility.
(Wed, 24 Mar 2021 22:24:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Danny Milosavljevic <dannym <at> scratchpost.org>
:
bug acknowledged by developer.
(Wed, 24 Mar 2021 22:24:02 GMT)
Full text and
rfc822 format available.
Message #24 received at 25719-done <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Sure
[Message part 2 (application/pgp-signature, inline)]
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Thu, 22 Apr 2021 11:24:05 GMT)
Full text and
rfc822 format available.
This bug report was last modified 4 years and 61 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.