unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / Atom feed
* bug#45709: guix fails to print friendly help message for unknown command
@ 2021-01-07  5:30 Imran Iqbal
  2021-01-07 13:38 ` zimoun
  0 siblings, 1 reply; 3+ messages in thread
From: Imran Iqbal @ 2021-01-07  5:30 UTC (permalink / raw)
  To: 45709

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.




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

* bug#45709: guix fails to print friendly help message for unknown command
  2021-01-07  5:30 bug#45709: guix fails to print friendly help message for unknown command Imran Iqbal
@ 2021-01-07 13:38 ` zimoun
  2021-01-07 17:14   ` Ricardo Wurmus
  0 siblings, 1 reply; 3+ messages in thread
From: zimoun @ 2021-01-07 13:38 UTC (permalink / raw)
  To: Imran Iqbal; +Cc: 45709

Hi,

On Thu, 7 Jan 2021 at 10:12, Imran Iqbal <imran@imraniqbal.org> wrote:

> ~ >>> guix test
> Backtrace:

[...]

> ERROR: In procedure string-prefix?:
> In procedure string-prefix?: Wrong type argument in position 2 (expecting string): #f

Thanks for the report.  The commit
cf289d7cfa34315bf13b3114b9a5bf3d3c05ebea introduces the regression.

All the best,
simon




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

* bug#45709: guix fails to print friendly help message for unknown command
  2021-01-07 13:38 ` zimoun
@ 2021-01-07 17:14   ` Ricardo Wurmus
  0 siblings, 0 replies; 3+ messages in thread
From: Ricardo Wurmus @ 2021-01-07 17:14 UTC (permalink / raw)
  To: zimoun; +Cc: 45709-done, Imran Iqbal


zimoun <zimon.toutoune@gmail.com> writes:

> Hi,
>
> On Thu, 7 Jan 2021 at 10:12, Imran Iqbal <imran@imraniqbal.org> wrote:
>
>> ~ >>> guix test
>> Backtrace:
>
> [...]
>
>> ERROR: In procedure string-prefix?:
>> In procedure string-prefix?: Wrong type argument in position 2 (expecting string): #f
>
> Thanks for the report.  The commit
> cf289d7cfa34315bf13b3114b9a5bf3d3c05ebea introduces the regression.

Sorry about that!  Thanks to simon’s patch in #45714 this is now fixed.

-- 
Ricardo




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

end of thread, other threads:[~2021-01-07 17:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-07  5:30 bug#45709: guix fails to print friendly help message for unknown command Imran Iqbal
2021-01-07 13:38 ` zimoun
2021-01-07 17:14   ` Ricardo Wurmus

unofficial mirror of bug-guix@gnu.org 

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://yhetil.org/guix-bugs/0 guix-bugs/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 guix-bugs guix-bugs/ https://yhetil.org/guix-bugs \
		bug-guix@gnu.org
	public-inbox-index guix-bugs

Example config snippet for mirrors.
Newsgroups are available over NNTP:
	nntp://news.yhetil.org/yhetil.gnu.guix.bugs
	nntp://news.gmane.io/gmane.comp.gnu.guix.bugs


AGPL code for this site: git clone http://ou63pmih66umazou.onion/public-inbox.git