GNU bug report logs - #42509
guix refresh: Error downloading release information through the GitHub API

Previous Next

Package: guix;

Reported by: Alexandru-Sergiu Marton <brown121407 <at> posteo.ro>

Date: Fri, 24 Jul 2020 08:05:01 UTC

Severity: normal

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 42509 in the body.
You can then email your comments to 42509 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#42509; Package guix. (Fri, 24 Jul 2020 08:05:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Alexandru-Sergiu Marton <brown121407 <at> posteo.ro>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Fri, 24 Jul 2020 08:05:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Alexandru-Sergiu Marton <brown121407 <at> posteo.ro>
To: bug-guix <at> gnu.org
Subject: guix refresh: Error downloading release information through the
 GitHub API
Date: Fri, 24 Jul 2020 11:04:11 +0300
Hi,

I tried running `guix refresh` and it gave me this error (after
correctly reporting around 100 packages to be updated):

--8<---------------cut here---------------start------------->8---
Backtrace:
          12 (primitive-load "/home/brown/.config/guix/current/bin/g…")
In guix/ui.scm:
  1974:12 11 (run-guix-command _ . _)
In ice-9/boot-9.scm:
  1736:10 10 (with-exception-handler _ _ #:unwind? _ # _)
  1731:15  9 (with-exception-handler #<procedure 7f4cf1f528a0 at ic…> …)
  1736:10  8 (with-exception-handler _ _ #:unwind? _ # _)
In guix/store.scm:
   631:22  7 (thunk)
  2025:24  6 (run-with-store #<store-connection 256.99 7f4cfa5606e0> …)
In guix/scripts/refresh.scm:
   559:14  5 (_ _)
In srfi/srfi-1.scm:
    634:9  4 (for-each #<procedure 7f4cf8c43f80 at guix/scripts/ref…> …)
In guix/scripts/refresh.scm:
    362:2  3 (check-for-package-update #<package wlstream <at> 0.0-1.182…> …)
In guix/import/github.scm:
   211:12  2 (latest-release _)
In ice-9/boot-9.scm:
  1669:16  1 (raise-exception _ #:continuable? _)
  1669:16  0 (raise-exception _ #:continuable? _)

ice-9/boot-9.scm:1669:16: In procedure raise-exception:
Error downloading release information through the GitHub
API when using a GitHub token
--8<---------------cut here---------------end--------------->8---

I have the GUIX_GITHUB_TOKEN environment variable set.

I'm on commit e4d341fa74d005cc3cd1437a1908ba1993d54d5b.

Cheers,
Sergiu




Reply sent to Ludovic Courtès <ludo <at> gnu.org>:
You have taken responsibility. (Fri, 24 Jul 2020 12:29:01 GMT) Full text and rfc822 format available.

Notification sent to Alexandru-Sergiu Marton <brown121407 <at> posteo.ro>:
bug acknowledged by developer. (Fri, 24 Jul 2020 12:29:01 GMT) Full text and rfc822 format available.

Message #10 received at 42509-done <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: Alexandru-Sergiu Marton <brown121407 <at> posteo.ro>
Cc: 42509-done <at> debbugs.gnu.org
Subject: Re: bug#42509: guix refresh: Error downloading release information
 through the GitHub API
Date: Fri, 24 Jul 2020 14:27:56 +0200
Hi,

Alexandru-Sergiu Marton <brown121407 <at> posteo.ro> skribis:

> I tried running `guix refresh` and it gave me this error (after
> correctly reporting around 100 packages to be updated):
>
> Backtrace:
>           12 (primitive-load "/home/brown/.config/guix/current/bin/g…")
> In guix/ui.scm:
>   1974:12 11 (run-guix-command _ . _)
> In ice-9/boot-9.scm:
>   1736:10 10 (with-exception-handler _ _ #:unwind? _ # _)
>   1731:15  9 (with-exception-handler #<procedure 7f4cf1f528a0 at ic…> …)
>   1736:10  8 (with-exception-handler _ _ #:unwind? _ # _)
> In guix/store.scm:
>    631:22  7 (thunk)
>   2025:24  6 (run-with-store #<store-connection 256.99 7f4cfa5606e0> …)
> In guix/scripts/refresh.scm:
>    559:14  5 (_ _)
> In srfi/srfi-1.scm:
>     634:9  4 (for-each #<procedure 7f4cf8c43f80 at guix/scripts/ref…> …)
> In guix/scripts/refresh.scm:
>     362:2  3 (check-for-package-update #<package wlstream <at> 0.0-1.182…> …)
> In guix/import/github.scm:
>    211:12  2 (latest-release _)
> In ice-9/boot-9.scm:
>   1669:16  1 (raise-exception _ #:continuable? _)
>   1669:16  0 (raise-exception _ #:continuable? _)
>
> ice-9/boot-9.scm:1669:16: In procedure raise-exception:
> Error downloading release information through the GitHub
> API when using a GitHub token
>
> I have the GUIX_GITHUB_TOKEN environment variable set.

Fixed:

  https://git.savannah.gnu.org/cgit/guix.git/commit/?id=ac928d3e9ebdb660f8104f3e4b890a2353787cdf

The problem was with ‘wlstream’, which is apparently no longer hosted at
that URL.  Now the result is:

--8<---------------cut here---------------start------------->8---
$ ./pre-inst-env guix refresh wlstream
guix refresh: warning: https://api.github.com/repos/atomnuker/wlstream/releases is unreachable (404)
gnu/packages/video.scm:3762:4: warning: 'github' updater failed to determine available releases for wlstream
--8<---------------cut here---------------end--------------->8---

Thanks,
Ludo’.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 22 Aug 2020 11:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 3 years and 218 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.