unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#42509: guix refresh: Error downloading release information through the GitHub API
@ 2020-07-24  8:04 Alexandru-Sergiu Marton
  2020-07-24 12:27 ` Ludovic Courtès
  0 siblings, 1 reply; 2+ messages in thread
From: Alexandru-Sergiu Marton @ 2020-07-24  8:04 UTC (permalink / raw)
  To: 42509

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@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




^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#42509: guix refresh: Error downloading release information through the GitHub API
  2020-07-24  8:04 bug#42509: guix refresh: Error downloading release information through the GitHub API Alexandru-Sergiu Marton
@ 2020-07-24 12:27 ` Ludovic Courtès
  0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2020-07-24 12:27 UTC (permalink / raw)
  To: Alexandru-Sergiu Marton; +Cc: 42509-done

Hi,

Alexandru-Sergiu Marton <brown121407@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@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’.




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-07-24 12:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-24  8:04 bug#42509: guix refresh: Error downloading release information through the GitHub API Alexandru-Sergiu Marton
2020-07-24 12:27 ` Ludovic Courtès

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).