GNU bug report logs -
#65773
html updater may fail when page has moved (guix refresh gambit-c)
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 65773 in the body.
You can then email your comments to 65773 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#65773
; Package
guix
.
(Wed, 06 Sep 2023 04:18:01 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
:
New bug report received and forwarded. Copy sent to
bug-guix <at> gnu.org
.
(Wed, 06 Sep 2023 04:18:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Hi,
Attempting to 'guix refresh gambit-c' currently fails like:
--8<---------------cut here---------------start------------->8---
./pre-inst-env guix refresh gambit-c
Backtrace:
In ice-9/eval.scm:
619:8 19 (_ #(#(#<directory (guile-user) 7f98520bfc80>)))
In guix/ui.scm:
2323:7 18 (run-guix . _)
2286:10 17 (run-guix-command _ . _)
In ice-9/boot-9.scm:
1752:10 16 (with-exception-handler _ _ #:unwind? _ # _)
1752:10 15 (with-exception-handler _ _ #:unwind? _ # _)
In guix/store.scm:
659:37 14 (thunk)
2168:25 13 (run-with-store #<store-connection 256.99 7f983bf81eb0> …)
In guix/scripts/refresh.scm:
632:14 12 (_ _)
In srfi/srfi-1.scm:
634:9 11 (for-each #<procedure 7f983740aab0 at guix/scripts/ref…> …)
In guix/scripts/refresh.scm:
402:10 10 (check-for-package-update #<<update-spec> package: #<p…> …)
In srfi/srfi-1.scm:
858:15 9 (any1 #<procedure 7f983740aa80 at guix/upstream.scm:25…> …)
In guix/import/utils.scm:
131:4 8 (call-with-networking-exception-handler _)
In ice-9/boot-9.scm:
1752:10 7 (with-exception-handler _ _ #:unwind? _ # _)
In guix/gnu-maintenance.scm:
643:18 6 (import-html-release _ _ #:rewrite-url? _ #:version _ # …)
568:6 5 (rewrite-url _ "4.9.5" #:to-version _)
In srfi/srfi-1.scm:
460:18 4 (fold #<procedure 7f9837412d40 at guix/gnu-maintenance…> …)
In guix/gnu-maintenance.scm:
603:25 3 (_ _ _)
In ice-9/boot-9.scm:
1685:16 2 (raise-exception _ #:continuable? _)
1685:16 1 (raise-exception _ #:continuable? _)
1685:16 0 (raise-exception _ #:continuable? _)
ice-9/boot-9.scm:1685:16: In procedure raise-exception:
no candidates found in rewrite-url
--8<---------------cut here---------------end--------------->8---
That's because http-fetch/cached doesn't following redirection:
--8<---------------cut here---------------start------------->8---
$ curl http://www.gambitscheme.org/4.9.4
<html>
<head><title>301 Moved Permanently</title></head>
<body>
<center><h1>301 Moved Permanently</h1></center>
<hr><center>nginx</center>
</body>
</html>
--8<---------------cut here---------------end--------------->8---
which means the page is reachable but doesn't contain the expected
content.
--
Thanks,
Maxim
Reply sent
to
Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
:
You have taken responsibility.
(Wed, 06 Sep 2023 04:39:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
:
bug acknowledged by developer.
(Wed, 06 Sep 2023 04:39:02 GMT)
Full text and
rfc822 format available.
Message #10 received at 65773-done <at> debbugs.gnu.org (full text, mbox):
Hi,
Maxim Cournoyer <maxim.cournoyer <at> gmail.com> writes:
> Hi,
>
> Attempting to 'guix refresh gambit-c' currently fails like:
>
> ./pre-inst-env guix refresh gambit-c
> Backtrace:
> In ice-9/eval.scm:
> 619:8 19 (_ #(#(#<directory (guile-user) 7f98520bfc80>)))
> In guix/ui.scm:
> 2323:7 18 (run-guix . _)
> 2286:10 17 (run-guix-command _ . _)
> In ice-9/boot-9.scm:
> 1752:10 16 (with-exception-handler _ _ #:unwind? _ # _)
> 1752:10 15 (with-exception-handler _ _ #:unwind? _ # _)
> In guix/store.scm:
> 659:37 14 (thunk)
> 2168:25 13 (run-with-store #<store-connection 256.99 7f983bf81eb0> …)
> In guix/scripts/refresh.scm:
> 632:14 12 (_ _)
> In srfi/srfi-1.scm:
> 634:9 11 (for-each #<procedure 7f983740aab0 at guix/scripts/ref…> …)
> In guix/scripts/refresh.scm:
> 402:10 10 (check-for-package-update #<<update-spec> package: #<p…> …)
> In srfi/srfi-1.scm:
> 858:15 9 (any1 #<procedure 7f983740aa80 at guix/upstream.scm:25…> …)
> In guix/import/utils.scm:
> 131:4 8 (call-with-networking-exception-handler _)
> In ice-9/boot-9.scm:
> 1752:10 7 (with-exception-handler _ _ #:unwind? _ # _)
> In guix/gnu-maintenance.scm:
> 643:18 6 (import-html-release _ _ #:rewrite-url? _ #:version _ # …)
> 568:6 5 (rewrite-url _ "4.9.5" #:to-version _)
> In srfi/srfi-1.scm:
> 460:18 4 (fold #<procedure 7f9837412d40 at guix/gnu-maintenance…> …)
> In guix/gnu-maintenance.scm:
> 603:25 3 (_ _ _)
> In ice-9/boot-9.scm:
> 1685:16 2 (raise-exception _ #:continuable? _)
> 1685:16 1 (raise-exception _ #:continuable? _)
> 1685:16 0 (raise-exception _ #:continuable? _)
>
> ice-9/boot-9.scm:1685:16: In procedure raise-exception:
> no candidates found in rewrite-url
Mitigated with 589384102f ("gnu-maintenance: Do not error when there are
no candidates.").
--
Thanks,
Maxim
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Wed, 04 Oct 2023 11:24:37 GMT)
Full text and
rfc822 format available.
This bug report was last modified 1 year and 219 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.