unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#38821: Can't run guix from external drive.
@ 2019-12-30 19:31 Jan
  2020-01-02 18:37 ` Ludovic Courtès
  0 siblings, 1 reply; 4+ messages in thread
From: Jan @ 2019-12-30 19:31 UTC (permalink / raw)
  To: 38821

Hi,
I tried running "guix install" from my USB hard drive and that's what I
got:

user@machine /media/user/Backup$
Backtrace:
           4 (apply-smob/1 #<catch-closure 7f9a0f679340>)
In ice-9/boot-9.scm:
    705:2  3 (call-with-prompt ("prompt") #<procedure 7f9a0f6902e0 …> …)
In ice-9/eval.scm:
    619:8  2 (_ #(#(#<directory (guile-user) 7f9a0f309140>)))
In ice-9/command-line.scm:
   189:23  1 (load/lang "/home/lain/.config/guix/current/bin/guix")
In unknown file:
           0 (getcwd)

ERROR: In procedure getcwd:
In procedure getcwd: There's no such a file or directory


Jan Wielkiewicz

^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#38821: Can't run guix from external drive.
  2019-12-30 19:31 bug#38821: Can't run guix from external drive Jan
@ 2020-01-02 18:37 ` Ludovic Courtès
  2020-01-07 18:35   ` Jan
  0 siblings, 1 reply; 4+ messages in thread
From: Ludovic Courtès @ 2020-01-02 18:37 UTC (permalink / raw)
  To: Jan; +Cc: 38821

Hi,

Jan <tona_kosmicznego_smiecia@interia.pl> skribis:

> I tried running "guix install" from my USB hard drive and that's what I
> got:
>
> user@machine /media/user/Backup$
> Backtrace:
>            4 (apply-smob/1 #<catch-closure 7f9a0f679340>)
> In ice-9/boot-9.scm:
>     705:2  3 (call-with-prompt ("prompt") #<procedure 7f9a0f6902e0 …> …)
> In ice-9/eval.scm:
>     619:8  2 (_ #(#(#<directory (guile-user) 7f9a0f309140>)))
> In ice-9/command-line.scm:
>    189:23  1 (load/lang "/home/lain/.config/guix/current/bin/guix")
> In unknown file:
>            0 (getcwd)
>
> ERROR: In procedure getcwd:
> In procedure getcwd: There's no such a file or directory

It most likely means that the current working directory,
/media/user/Backup, was unmounted or somehow disappeared in the
meantime.

Can you confirm that this is the case?

Thanks,
Ludo’.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#38821: Can't run guix from external drive.
  2020-01-02 18:37 ` Ludovic Courtès
@ 2020-01-07 18:35   ` Jan
  2020-01-08  9:58     ` Ludovic Courtès
  0 siblings, 1 reply; 4+ messages in thread
From: Jan @ 2020-01-07 18:35 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 38821

On Thu, 02 Jan 2020 19:37:43 +0100
Ludovic Courtès <ludo@gnu.org> wrote:

> 
> It most likely means that the current working directory,
> /media/user/Backup, was unmounted or somehow disappeared in the
> meantime.
> 
> Can you confirm that this is the case?
> 
> Thanks,
> Ludo’.

Yes, it only happens, if the disk is unmounted. Is that normal? If it
is, then a message telling what's wrong would be helpful.


Jan Wielkiewicz

^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#38821: Can't run guix from external drive.
  2020-01-07 18:35   ` Jan
@ 2020-01-08  9:58     ` Ludovic Courtès
  0 siblings, 0 replies; 4+ messages in thread
From: Ludovic Courtès @ 2020-01-08  9:58 UTC (permalink / raw)
  To: Jan; +Cc: 38821

Hi,

Jan <tona_kosmicznego_smiecia@interia.pl> skribis:

> On Thu, 02 Jan 2020 19:37:43 +0100
> Ludovic Courtès <ludo@gnu.org> wrote:
>
>> 
>> It most likely means that the current working directory,
>> /media/user/Backup, was unmounted or somehow disappeared in the
>> meantime.
>> 
>> Can you confirm that this is the case?
>> 
>> Thanks,
>> Ludo’.
>
> Yes, it only happens, if the disk is unmounted. Is that normal? If it
> is, then a message telling what's wrong would be helpful.

This issue is not specific to Guix: the ‘getcwd’ function fails if the
current working directory has been unmounted behind the back of the
calling process.  IOW, another program would fail similar in these
circumstances.  I don’t think there’s much that can be done.

Thanks,
Ludo’.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-01-08 10:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-12-30 19:31 bug#38821: Can't run guix from external drive Jan
2020-01-02 18:37 ` Ludovic Courtès
2020-01-07 18:35   ` Jan
2020-01-08  9:58     ` Ludovic Courtès

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).