help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problems with "guix offload test" after re-install


From: Ludovic Courtès
Subject: Re: Problems with "guix offload test" after re-install
Date: Thu, 12 Oct 2017 10:05:24 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux)

Hello Michael,

"Brantley, Michael" <address@hidden> skribis:

> As this is my debut posting I just wanted to start by thanking the GUIX 
> community for all your hard work!  :-)

Thank you!

> $ sudo -u guixuser guix environment
> address@hidden guix]$ bash -c "nohup guile --listen=37146 0<&- &>/dev/null"
>
> ... and then from another shell on this same host:
>
> $ telnet localhost 37146
> Trying 127.0.0.1...
> Connected to localhost.
> Escape character is '^]'.
> GNU Guile 2.2.2
> Copyright (C) 1995-2017 Free Software Foundation, Inc.
>
> Guile comes with ABSOLUTELY NO WARRANTY; for details type `,show w'.
> This program is free software, and you are welcome to redistribute it
> under certain conditions; type `,show c' for details.
>
> Enter `,help' for help.
> scheme@(guile-user)> (begin
>                        (use-modules (guix))
>                        (with-store store
>                          (add-text-to-store store "test"
>                                             "Hello, build machine!")))
> acquiring global GC lock `/var/guix/gc.lock'
> acquiring read lock on `/var/guix/temproots/17043'
> acquiring write lock on `/var/guix/temproots/17043'
> downgrading to read lock on `/var/guix/temproots/17043'
> $1 = "/gnu/store/883yjkl46dxw9mzykykmbs0yzwyxm17z-test"
> scheme@(guile-user)> ,q
> Connection closed by foreign host.
> $
> $ telnet localhost 37146
> Trying 127.0.0.1...
> Connected to localhost.
> Escape character is '^]'.
> GNU Guile 2.2.2
> Copyright (C) 1995-2017 Free Software Foundation, Inc.
>
> Guile comes with ABSOLUTELY NO WARRANTY; for details type `,show w'.
> This program is free software, and you are welcome to redistribute it
> under certain conditions; type `,show c' for details.
>
> Enter `,help' for help.
> scheme@(guile-user)> (begin
>                        (use-modules (guix))
>                        (with-store store
>                          (add-text-to-store store "test"
>                                             "Hello, build machine!")))
> ERROR: In procedure display:
> ERROR: In procedure display: Wrong type argument in position 2: #<closed: 
> file c98f50>
>
> Entering a new prompt.  Type `,bt' for a backtrace or `,q' to continue.
> scheme@(guile-user) [1]>

Could you try “,bt” here to show the stack trace?  I wonder where that
exception comes from.

Are you sure guix-daemon is running on this machine, and listening to
the right socket file?

Thanks for the helpful debugging info!

Ludo’.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]