From: "Imran Iqbal" <imran@imraniqbal.org>
To: 45709@debbugs.gnu.org
Subject: bug#45709: guix fails to print friendly help message for unknown command
Date: Thu, 07 Jan 2021 00:30:27 -0500 [thread overview]
Message-ID: <d095dfa2-3e79-40a2-a93f-924fe91d6878@www.fastmail.com> (raw)
See below
~ >>> guix --version
guix (GNU Guix) e57b978fc0a6b6298b96c68de4769655d793c7b9
Copyright (C) 2021 the Guix authors
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
~ >>> guix test
Backtrace:
6 (primitive-load "/home/imran/.config/guix/current/bin/g…")
In guix/ui.scm:
2126:2 5 (run-guix-command test)
In ice-9/boot-9.scm:
1731:15 4 (with-exception-handler #<procedure 7f74aeb360c0 at ic…> …)
In guix/ui.scm:
2137:15 3 (_)
In ice-9/boot-9.scm:
2806:4 2 (save-module-excursion #<procedure 7f74aeb4aa20 at ice-…>)
4360:9 1 (_)
In unknown file:
0 (string-prefix? "/" #f #<undefined> #<undefined> #<und…> …)
ERROR: In procedure string-prefix?:
In procedure string-prefix?: Wrong type argument in position 2 (expecting string): #f
It should be printing a helpful message saying "guix: test: command not found" followed by show-guix-usage but does not.
next reply other threads:[~2021-01-07 9:12 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-01-07 5:30 Imran Iqbal [this message]
2021-01-07 13:38 ` bug#45709: guix fails to print friendly help message for unknown command zimoun
2021-01-07 17:14 ` Ricardo Wurmus
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=d095dfa2-3e79-40a2-a93f-924fe91d6878@www.fastmail.com \
--to=imran@imraniqbal.org \
--cc=45709@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).