unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Liliana Marie Prikler <liliana.prikler@gmail.com>
To: 52949@debbugs.gnu.org
Subject: bug#52949: Traceback when reloading services
Date: Sun, 02 Jan 2022 13:51:53 +0100	[thread overview]
Message-ID: <e737cf55082093ff210a823174ffbf686f8c5f82.camel@gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 368 bytes --]

Hi Guix,

today I got the attached traceback while trying to reconfigure Guix. 
It turns out that 145:12 tries to check which services are currently
running and ignores that (eval exp) might return #f.

I'm not sure which point would be the correct one to guard against this
case, but a naïve approach would be to just check inside the (return
...) statement.  WDYT?

[-- Attachment #2: traceback --]
[-- Type: text/plain, Size: 1344 bytes --]

guix system: Bootloader erfolgreich auf „(/boot/efi)“ installiert
Backtrace:
In guix/scripts/system.scm:
   1248:4 19 (_)
In ice-9/boot-9.scm:
  1752:10 18 (with-exception-handler _ _ #:unwind? _ # _)
In guix/store.scm:
   658:37 17 (thunk)
   1320:8 16 (call-with-build-handler _ _)
   1320:8 15 (call-with-build-handler _ _)
   1320:8 14 (call-with-build-handler _ _)
   1320:8 13 (call-with-build-handler _ _)
   1320:8 12 (call-with-build-handler #<procedure 7f015bf8f900 at g…> …)
  2123:24 11 (run-with-store #<store-connection 256.99 7f015bc599b0> …)
In ice-9/boot-9.scm:
  1747:15 10 (with-exception-handler #<procedure 7f0136028e40 at ic…> …)
In ice-9/exceptions.scm:
   406:15  9 (_)
In ice-9/boot-9.scm:
  1752:10  8 (with-exception-handler _ _ #:unwind? _ # _)
In guix/scripts/system.scm:
   865:15  7 (_)
In guix/store.scm:
  2123:24  6 (run-with-store #<store-connection 256.99 7f015b2ff960> …)
In guix/scripts/system.scm:
   865:15  5 (_ _)
In guix/scripts/system/reconfigure.scm:
   145:12  4 (_ _)
In srfi/srfi-1.scm:
    241:2  3 (map _ _)
In ice-9/boot-9.scm:
  1685:16  2 (raise-exception _ #:continuable? _)
  1683:16  1 (raise-exception _ #:continuable? _)
  1685:16  0 (raise-exception _ #:continuable? _)

ice-9/boot-9.scm:1685:16: In procedure raise-exception:
In procedure map: Wrong type argument: #f

                 reply	other threads:[~2022-01-02 12:53 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=e737cf55082093ff210a823174ffbf686f8c5f82.camel@gmail.com \
    --to=liliana.prikler@gmail.com \
    --cc=52949@debbugs.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 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).