unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#21451: Error with incomplete command: "guix system"
@ 2015-09-09 22:56 Steve Sprang
  2015-09-14 22:34 ` Ludovic Courtès
  0 siblings, 1 reply; 2+ messages in thread
From: Steve Sprang @ 2015-09-09 22:56 UTC (permalink / raw)
  To: 21451

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

When executing this incomplete command:

$ guix system

I expect to get a usage message, instead I get an error:

Backtrace:
In ice-9/boot-9.scm:
 157: 13 [catch #t #<catch-closure 1772780> ...]
In unknown file:
   ?: 12 [apply-smob/1 #<catch-closure 1772780>]
In ice-9/boot-9.scm:
  63: 11 [call-with-prompt prompt0 ...]
In ice-9/eval.scm:
 432: 10 [eval # #]
In ice-9/boot-9.scm:
2401: 9 [save-module-excursion #<procedure 178f940 at
ice-9/boot-9.scm:4045:3 ()>]
4050: 8 [#<procedure 178f940 at ice-9/boot-9.scm:4045:3 ()>]
1724: 7 [%start-stack load-stack ...]
1729: 6 [#<procedure 17a6ea0 ()>]
In unknown file:
   ?: 5 [primitive-load
"/gnu/store/c8nks9ldf1wx6fbv9zmq7v42z4fv2hqp-guix-0.8.3.5d09263/bin/.guix-real"]
In guix/ui.scm:
1066: 4 [run-guix-command system]
In ice-9/boot-9.scm:
 157: 3 [catch srfi-34 #<procedure 39cb060 at guix/ui.scm:392:2 ()> ...]
 157: 2 [catch system-error ...]
In guix/scripts/system.scm:
 527: 1 [#<procedure 39cb080 at guix/scripts/system.scm:526:2 ()>]
In unknown file:
   ?: 0 [car ()]

ERROR: In procedure car:
ERROR: In procedure car: Wrong type (expecting pair): ()

-Steve

[-- Attachment #2: Type: text/html, Size: 1360 bytes --]

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

* bug#21451: Error with incomplete command: "guix system"
  2015-09-09 22:56 bug#21451: Error with incomplete command: "guix system" Steve Sprang
@ 2015-09-14 22:34 ` Ludovic Courtès
  0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2015-09-14 22:34 UTC (permalink / raw)
  To: Steve Sprang; +Cc: 21451-done

Steve Sprang <steve.sprang@gmail.com> skribis:

> When executing this incomplete command:
>
> $ guix system
>
> I expect to get a usage message, instead I get an error:

Oops, this is terrible.

I fixed it in commit d89e099, similarly what ‘guix’ alone does.

Thanks!

Ludo’.

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

end of thread, other threads:[~2015-09-14 22:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-09 22:56 bug#21451: Error with incomplete command: "guix system" Steve Sprang
2015-09-14 22:34 ` 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).