all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#40891: import crate: Traceback when package not found
@ 2020-04-27  6:46 Hartmut Goebel
  2020-04-27 21:30 ` Ludovic Courtès
  0 siblings, 1 reply; 2+ messages in thread
From: Hartmut Goebel @ 2020-04-27  6:46 UTC (permalink / raw)
  To: 40891

If "import crate" does not find the package, a traceback is shown (see
below)

I would expect an error message stating that the package was nor found
(or whatever crates.io error message is)

$ guix import crate non-exeisti[hartmut@lenashee [1] guix
(HG-sequoia-as-rust-pkgs)]$ guix import crate non-exeisting-package
Backtrace:
           4 (primitive-load "/usr/local/bin/guix")
In guix/ui.scm:
  1936:12  3 (run-guix-command _ . _)
In guix/scripts/import.scm:
   116:11  2 (guix-import . _)
In guix/scripts/import/crate.scm:
   104:23  1 (guix-import-crate . _)
In guix/import/crate.scm:
    205:8  0 (crate->guix-package "non-exeisting-package" _)

guix/import/crate.scm:205:8: In procedure crate->guix-package:
In procedure struct-vtable: Wrong type argument in position 1 (expecting
struct): #f

-- 
Regards
Hartmut Goebel

| Hartmut Goebel          | h.goebel@crazy-compilers.com               |
| www.crazy-compilers.com | compilers which you thought are impossible |

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

* bug#40891: import crate: Traceback when package not found
  2020-04-27  6:46 bug#40891: import crate: Traceback when package not found Hartmut Goebel
@ 2020-04-27 21:30 ` Ludovic Courtès
  0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2020-04-27 21:30 UTC (permalink / raw)
  To: Hartmut Goebel; +Cc: 40891-done

Hi,

Hartmut Goebel <h.goebel@crazy-compilers.com> skribis:

> If "import crate" does not find the package, a traceback is shown (see
> below)

Fixed in 5fbc753ab524809cd81e3e5c54b3d0acbe33792d.

Thanks,
Ludo’.

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

end of thread, other threads:[~2020-04-27 21:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-27  6:46 bug#40891: import crate: Traceback when package not found Hartmut Goebel
2020-04-27 21:30 ` Ludovic Courtès

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.