unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: "Ludovic Courtès" <ludo@gnu.org>
To: Tim Magee <timothy@eastlincoln.net>
Cc: 44872@debbugs.gnu.org, Mathieu Othacehe <othacehe@gnu.org>
Subject: bug#44872: Installer crash: 'uuid->string' is passed #f in lieu of a UUID
Date: Fri, 23 Apr 2021 00:40:53 +0200	[thread overview]
Message-ID: <87lf9at022.fsf_-_@gnu.org> (raw)
In-Reply-To: <87y2daz87n.fsf@gnu.org> ("Ludovic Courtès"'s message of "Thu, 22 Apr 2021 16:48:12 +0200")

Ludovic Courtès <ludo@gnu.org> skribis:

> Apparently what happens here is that ‘read-partition-uuid’, called by
> ‘user-partition->file-system’, returns #f, and that value is then passed
> to ‘uuid->string’.
>
> There are two ways ‘read-partition-uuid’ can return #f:
>
>   1. the partition doesn’t have one of the types listed in
>      ‘%partition-uuid-readers’;
>
>   2. the partition does not exist or is EIO (see use of ‘ENOENT-safe’ in
>      ‘partition-field-reader’).
>
> So most likely the problem is #2.

I pushed a change so that ‘read-partition-uuid’ & co. will no longer
swallow ENOENT, so we at least get more accurate error reports:

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

Ludo’.




  reply	other threads:[~2021-04-22 22:42 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <300530410.943064.1606325189191.ref@mail.yahoo.com>
2020-11-25 17:26 ` bug#44872: GuixSD 1.2.0 installer fails with exception when formatting drive Tim Magee
2020-11-26  8:58   ` Mathieu Othacehe
     [not found]     ` <304538163.1205868.1606443556649@mail.yahoo.com>
2020-11-27  3:12       ` bug#44872: Fw: " Tim Magee
2020-11-28  5:27     ` Tim Magee
2020-12-01  9:46       ` Mathieu Othacehe
2020-11-29 19:02   ` andi
2020-12-22  2:13   ` Tim Magee via web
2021-04-22 14:48   ` Ludovic Courtès
2021-04-22 22:40     ` Ludovic Courtès [this message]
2021-06-05 23:08   ` bug#44872: Installer crash: 'uuid->string' is passed #f in lieu of a UUID David Wilson
2021-06-07  6:20     ` Mathieu Othacehe
2021-06-08 16:33       ` David Wilson
2021-06-09 15:57         ` Mathieu Othacehe
2021-06-09 16:44           ` David Wilson
2021-06-12  7:49             ` Mathieu Othacehe
2021-06-12 13:53               ` David Wilson
2021-06-12 16:53                 ` Mathieu Othacehe
2021-06-12 22:26                   ` David Wilson
2021-06-17 10:24                     ` Mathieu Othacehe

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

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87lf9at022.fsf_-_@gnu.org \
    --to=ludo@gnu.org \
    --cc=44872@debbugs.gnu.org \
    --cc=othacehe@gnu.org \
    --cc=timothy@eastlincoln.net \
    /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 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).