GNU bug report logs - #34636
"guix refresh" fails

Previous Next

Package: guix;

Reported by: Andreas Enge <andreas <at> enge.fr>

Date: Sat, 23 Feb 2019 21:56:02 UTC

Severity: normal

Done: Andreas Enge <andreas <at> enge.fr>

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 34636 in the body.
You can then email your comments to 34636 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#34636; Package guix. (Sat, 23 Feb 2019 21:56:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Andreas Enge <andreas <at> enge.fr>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Sat, 23 Feb 2019 21:56:02 GMT) Full text and rfc822 format available.

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

From: Andreas Enge <andreas <at> enge.fr>
To: bug-guix <at> gnu.org
Subject: "guix refresh" fails
Date: Sat, 23 Feb 2019 22:54:38 +0100
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 <at> 0.1-2.c…> …)
In guix/import/github.scm:
   226:25  2 (latest-release #<package footswitch <at> 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





Information forwarded to bug-guix <at> gnu.org:
bug#34636; Package guix. (Mon, 04 Mar 2019 22:12:02 GMT) Full text and rfc822 format available.

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

From: Ludovic Courtès <ludo <at> gnu.org>
To: Andreas Enge <andreas <at> enge.fr>
Cc: 34636 <at> debbugs.gnu.org
Subject: Re: bug#34636: "guix refresh" fails
Date: Mon, 04 Mar 2019 23:11:00 +0100
Hi Andreas,

Andreas Enge <andreas <at> 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 <at> 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 <at> 3 instead of guile-json <at> 1 in your Guile load
path?

-> not-a-bug :-)

Thanks,
Ludo’.




Reply sent to Andreas Enge <andreas <at> enge.fr>:
You have taken responsibility. (Wed, 06 Mar 2019 21:33:02 GMT) Full text and rfc822 format available.

Notification sent to Andreas Enge <andreas <at> enge.fr>:
bug acknowledged by developer. (Wed, 06 Mar 2019 21:33:03 GMT) Full text and rfc822 format available.

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

From: Andreas Enge <andreas <at> enge.fr>
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: 34636-done <at> debbugs.gnu.org
Subject: Re: bug#34636: "guix refresh" fails
Date: Wed, 6 Mar 2019 22:32:16 +0100
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 <at> 3 instead of guile-json <at> 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





bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 04 Apr 2019 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 5 years and 21 days ago.

Previous Next


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