* bug#34636: "guix refresh" fails
@ 2019-02-23 21:54 Andreas Enge
2019-03-04 22:11 ` Ludovic Courtès
0 siblings, 1 reply; 3+ messages in thread
From: Andreas Enge @ 2019-02-23 21:54 UTC (permalink / raw)
To: 34636
Hello,
when I run
guix refresh
(with the latest git commit), the result is an error:
Backtrace:
13 (apply-smob/1 #<catch-closure 1a60ca0>)
In ice-9/boot-9.scm:
705:2 12 (call-with-prompt _ _ #<procedure default-prompt-handle…>)
In ice-9/eval.scm:
619:8 11 (_ #(#(#<directory (guile-user) 1ae7140>)))
In guix/ui.scm:
1654:12 10 (run-guix-command _ . _)
In ice-9/boot-9.scm:
829:9 9 (catch _ _ #<procedure 7efd4f7cb9b8 at guix/ui.scm:624…> …)
829:9 8 (catch _ _ #<procedure 7efd4f7cb9d0 at guix/ui.scm:750…> …)
In guix/scripts/refresh.scm:
513:8 7 (_)
In guix/store.scm:
1737:24 6 (run-with-store _ _ #:guile-for-build _ #:system _ # _)
In guix/scripts/refresh.scm:
538:14 5 (_ _)
In srfi/srfi-1.scm:
640:9 4 (for-each #<procedure 44354c0 at guix/scripts/refresh.…> …)
In guix/scripts/refresh.scm:
346:2 3 (check-for-package-update #<package footswitch@0.1-2.c…> …)
In guix/import/github.scm:
226:25 2 (latest-release #<package footswitch@0.1-2.ca43d53 gnu/…>)
209:9 1 (latest-released-version _ _)
In unknown file:
0 (remove #<procedure pre-release? (x)> #((("body" . #) …)))
ERROR: In procedure remove:
In procedure remove: Wrong type argument in position 2: #((("body" . "") ("zipball_url" . "https://api.github.com/repos/rgerganov/footswitch/zipball/v1.0") ("tarball_url" . "https://api.github.com/repos/rgerganov/footswitch/tarball/v1.0") ("assets" . #()) ("published_at" . "2019-01-07T07:28:36Z") ("created_at" . "2018-10-09T14:33:23Z") ("prerelease" . #f) ("author" ("site_admin" . #f) ("type" . "User") ("received_events_url" . "https://api.github.com/users/rgerganov/received_events") ("events_url" . "https://api.github.com/users/rgerganov/events{/privacy}") ("repos_url" . "https://api.github.com/users/rgerganov/repos") ("organizations_url" . "https://api.github.com/users/rgerganov/orgs") ("subscriptions_url" . "https://api.github.com/users/rgerganov/subscriptions") ("starred_url" . "https://api.github.com/users/rgerganov/starred{/owner}{/repo}") ("gists_url" . "https://api.github.com/users/rgerganov/gists{/gist_id}") ("following_url" . "https://api.github.com/users/rgerganov/following{/other_user}") ("followers_url" . "https://api.github.com/users/rgerganov/followers") ("html_url" . "https://github.com/rgerganov") ("url" . "https://api.github.com/users/rgerganov") ("gravatar_id" . "") ("avatar_url" . "https://avatars2.githubusercontent.com/u/271616?v=4") ("node_id" . "MDQ6VXNlcjI3MTYxNg==") ("id" . 271616) ("login" . "rgerganov")) ("draft" . #f) ("name" . "First public release") ("target_commitish" . "master") ("tag_name" . "v1.0") ("node_id" . "MDc6UmVsZWFzZTE0ODI3Njk2") ("id" . 14827696) ("html_url" . "https://github.com/rgerganov/footswitch/releases/tag/v1.0") ("upload_url" . "https://uploads.github.com/repos/rgerganov/footswitch/releases/14827696/assets{?name,label}") ("assets_url" . "https://api.github.com/repos/rgerganov/footswitch/releases/14827696/assets") ("url" . "https://api.github.com/repos/rgerganov/footswitch/releases/14827696")))
This may simply be a problem with the footswitch package, or an emanation
of a more general problem with the github updater.
Andreas
^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#34636: "guix refresh" fails
2019-02-23 21:54 bug#34636: "guix refresh" fails Andreas Enge
@ 2019-03-04 22:11 ` Ludovic Courtès
2019-03-06 21:32 ` Andreas Enge
0 siblings, 1 reply; 3+ messages in thread
From: Ludovic Courtès @ 2019-03-04 22:11 UTC (permalink / raw)
To: Andreas Enge; +Cc: 34636
Hi Andreas,
Andreas Enge <andreas@enge.fr> skribis:
> when I run
> guix refresh
> (with the latest git commit), the result is an error:
[...]
> In guix/import/github.scm:
> 226:25 2 (latest-release #<package footswitch@0.1-2.ca43d53 gnu/…>)
> 209:9 1 (latest-released-version _ _)
> In unknown file:
> 0 (remove #<procedure pre-release? (x)> #((("body" . #) …)))
>
> ERROR: In procedure remove:
> In procedure remove: Wrong type argument in position 2: #((("body"
> . "") ("zipball_url"
> . "https://api.github.com/repos/rgerganov/footswitch/zipball/v1.0")
> ("tarball_url"
> . "https://api.github.com/repos/rgerganov/footswitch/tarball/v1.0")
> ("assets" . #()) ("published_at" . "2019-01-07T07:28:36Z")
> ("created_at" . "2018-10-09T14:33:23Z") ("prerelease" . #f)
Could it be that you’re running ‘guix refresh’ from a checkout and you
happen to have guile-json@3 instead of guile-json@1 in your Guile load
path?
-> not-a-bug :-)
Thanks,
Ludo’.
^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#34636: "guix refresh" fails
2019-03-04 22:11 ` Ludovic Courtès
@ 2019-03-06 21:32 ` Andreas Enge
0 siblings, 0 replies; 3+ messages in thread
From: Andreas Enge @ 2019-03-06 21:32 UTC (permalink / raw)
To: Ludovic Courtès; +Cc: 34636-done
On Mon, Mar 04, 2019 at 11:11:00PM +0100, Ludovic Courtès wrote:
> Could it be that you’re running ‘guix refresh’ from a checkout and you
> happen to have guile-json@3 instead of guile-json@1 in your Guile load
> path?
"No" and "yes" :-)
But whatever happened in the last two weeks, things work now, as well for
"guix refresh -l" after "guix pull", as "./pre-inst-env guix refresh -l"
after "git pull".
So I close this bug.
Andreas
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2019-03-06 21:33 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-02-23 21:54 bug#34636: "guix refresh" fails Andreas Enge
2019-03-04 22:11 ` Ludovic Courtès
2019-03-06 21:32 ` Andreas Enge
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).