all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: Alex Kost <alezost@gmail.com>
Cc: guix-devel <guix-devel@gnu.org>
Subject: M-x guix-system-generations vs. UUIDs
Date: Wed, 04 Oct 2017 09:35:26 +0200	[thread overview]
Message-ID: <87infv9xhd.fsf@gnu.org> (raw)

Howdy Alex,

I just noticed that ‘M-x guix-system-generations’ followed by ‘i’
doesn’t correctly handle UUID objects in the ‘root-device’ or
‘store-device’ fields.  Here’s the backtrace:

--8<---------------cut here---------------start------------->8---
Debugger entered--Lisp error: (invalid-read-syntax "#")
  read("(((id . 42) (number . 42) (prev-number . 41) (current . t) (file-name . \"/var/guix/profiles/system-42-link\") (time . 1507101359) (label . \"GNU with Linux-Libre 4.13.4 (beta)\") (root-device . #<<uuid> type: dce bv: #vu8(210 86 …)>) (store-device . #<<uuid> type: dce bv: #vu8(210 86 …)>) (store-mount-point . \"/\") (bootloader . grub-efi) (kernel . \"/gnu/store/sm1xr358drdflv6fz3ii6g0rcmk5fsv7-linux-libre-4.13.4/bzImage\")))")
  guix-geiser-eval-read("(system-generation-sexps \"/var/guix/profiles/system\" 'id '(42) '(kernel number id label prev-number current number-of-packages file-name time bootloader root-device store-device store-mount-point kernel-arguments kernel-config shepherd-config))" #<buffer *Guix Internal REPL*>)
  guix-eval-read("(system-generation-sexps \"/var/guix/profiles/system\" 'id '(42) '(kernel number id label prev-number current number-of-packages file-name time bootloader root-device store-device store-mount-point kernel-arguments kernel-config shepherd-config))")
  guix-generation-get-entries(system-generation-sexps "/var/guix/profiles/system" id (42) (kernel number id label prev-number current number-of-packages file-name time bootloader root-device store-device store-mount-point kernel-arguments kernel-config shepherd-config))
  guix-system-generation-get-entries("/var/guix/profiles/system" id (42) (number id label prev-number current number-of-packages file-name time bootloader root-device store-device store-mount-point kernel-arguments kernel-config shepherd-config))
  guix-system-generation-info-get-entries("/var/guix/profiles/system" id 42)
  apply(guix-system-generation-info-get-entries ("/var/guix/profiles/system" id 42))
  bui-get-entries(guix-system-generation info ("/var/guix/profiles/system" id 42))
  bui-get-display-entries(guix-system-generation info ("/var/guix/profiles/system" id 42) add)
  guix-ui-list-describe(42)
  apply(guix-ui-list-describe 42)
  bui-list-describe(general)
  funcall-interactively(bui-list-describe general)
  call-interactively(bui-list-describe nil nil)
  command-execute(bui-list-describe)
--8<---------------cut here---------------end--------------->8---

I wonder if this was already the case before the introduction of <uuid>
objects in commit 9b336338cdc0e46a3bf7a2913c2f61cd2410c4d6, when UUIDs
were referred to as bytevectors.

Thoughts?

Ludo’.

             reply	other threads:[~2017-10-04  7:35 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-04  7:35 Ludovic Courtès [this message]
2017-10-05  8:43 ` M-x guix-system-generations vs. UUIDs Alex Kost
2017-10-05 13:42   ` Ludovic Courtès

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=87infv9xhd.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=alezost@gmail.com \
    --cc=guix-devel@gnu.org \
    /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.