From: "Ludovic Courtès" <ludovic.courtes@inria.fr>
To: Simon Tournier <zimon.toutoune@gmail.com>
Cc: 69070@debbugs.gnu.org
Subject: bug#69070: ‘guix lint -c archival python-scikit-learn’ crashes
Date: Thu, 12 Sep 2024 10:31:49 +0200 [thread overview]
Message-ID: <87wmjhjmru.fsf@inria.fr> (raw)
In-Reply-To: <87h6anehl0.fsf@gmail.com> (Simon Tournier's message of "Tue, 10 Sep 2024 15:58:19 +0200")
Hi Simon,
Simon Tournier <zimon.toutoune@gmail.com> skribis:
> On Mon, 12 Feb 2024 at 11:11, Ludovic Courtès <ludovic.courtes@inria.fr> wrote:
>
>> (Note that this problem may vanish once
>> <https://issues.guix.gnu.org/68741> has been merged.)
>
> This had been merged. Now, it does not crash. Is the problem hidden or
> vanished?
I think the initial problem (that ‘snapshot-branches’ returns a
directory) is still there, although I cannot reproduce it right now
because SWH returns 500 currently:
--8<---------------cut here---------------start------------->8---
scheme@(guile-user)> ,use(guix swh)
scheme@(guile-user)> (lookup-origin-revision "https://github.com/scikit-learn/scikit-learn" "1.3.2")
ice-9/boot-9.scm:1676:22: In procedure raise-exception:
Throw to key `swh-error' with args `("https://archive.softwareheritage.org/api/1/origin/https://github.com/scikit-learn/scikit-learn/visits/?per_page=30" #<procedure http-get* (uri . rest)> #<<response> version: (1 . 1) code: 500 reason-phrase: "Internal Server Error" headers: ((date . #<date nanosecond: 0 second: 48 minute: 28 hour: 8 day: 12 month: 9 year: 2024 zone-offset: 0>) (content-type application/json) (content-length . 130) (vary accept origin cookie) (allow HEAD OPTIONS GET OPTIONS) (x-ratelimit-limit . "120") (x-ratelimit-remaining . "118") (x-ratelimit-reset . "1726133328") (x-frame-options . "DENY") (x-content-type-options . "nosniff") (referrer-policy . "same-origin") (cross-origin-opener-policy . "same-origin") (x-varnish . "665128879") (age . 0) (via "1.1 varnish (Varnish/6.5)") (strict-transport-security . "max-age=15768000;") (connection close)) port: #<closed: string 7f0c8c5aea10>>)'.
Entering a new prompt. Type `,bt' for a backtrace or `,q' to continue.
scheme@(guile-user) [1]> ,bt
In guix/swh.scm:
579:11 2 (lookup-origin-revision _ _)
296:16 1 (call "https://archive.softwareheritage.org/api/1/origin/https://github.com/scikit-learn/scikit-learn/visits/?per_page=30" _ _ #:false-if-404? _)
In ice-9/boot-9.scm:
1676:22 0 (raise-exception _ #:continuable? _)
--8<---------------cut here---------------end--------------->8---
That said, that code is much less useful now that
<https://issues.guix.gnu.org/68741> has been merged, so perhaps we could
close the issue?
Thanks,
Ludo’.
prev parent reply other threads:[~2024-09-12 8:33 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-12 10:11 bug#69070: ‘guix lint -c archival python-scikit-learn’ crashes Ludovic Courtès
2024-02-12 16:04 ` bug#69070: No releases/revisions in /snapshot endpoints? Ludovic Courtès
2024-02-12 16:37 ` bug#69070: [swh-devel] " Antoine Lambert
2024-09-10 13:58 ` bug#69070: ‘guix lint -c archival python-scikit-learn’ crashes Simon Tournier
2024-09-12 8:31 ` Ludovic Courtès [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87wmjhjmru.fsf@inria.fr \
--to=ludovic.courtes@inria.fr \
--cc=69070@debbugs.gnu.org \
--cc=zimon.toutoune@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.