GNU bug report logs - #40891
import crate: Traceback when package not found

Previous Next

Package: guix;

Reported by: Hartmut Goebel <h.goebel <at> crazy-compilers.com>

Date: Mon, 27 Apr 2020 06:48:01 UTC

Severity: normal

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#40891: closed (import crate: Traceback when package not found)
Date: Mon, 27 Apr 2020 21:31:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Mon, 27 Apr 2020 23:30:18 +0200
with message-id <87k120vcph.fsf <at> gnu.org>
and subject line Re: bug#40891: import crate: Traceback when package not found
has caused the debbugs.gnu.org bug report #40891,
regarding import crate: Traceback when package not found
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
40891: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=40891
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Hartmut Goebel <h.goebel <at> crazy-compilers.com>
To: bug-guix <bug-guix <at> gnu.org>
Subject: import crate: Traceback when package not found
Date: Mon, 27 Apr 2020 08:46:54 +0200
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 <at> 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 <at> crazy-compilers.com               |
| www.crazy-compilers.com | compilers which you thought are impossible |



[Message part 3 (message/rfc822, inline)]
From: Ludovic Courtès <ludo <at> gnu.org>
To: Hartmut Goebel <h.goebel <at> crazy-compilers.com>
Cc: 40891-done <at> debbugs.gnu.org
Subject: Re: bug#40891: import crate: Traceback when package not found
Date: Mon, 27 Apr 2020 23:30:18 +0200
Hi,

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

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

Fixed in 5fbc753ab524809cd81e3e5c54b3d0acbe33792d.

Thanks,
Ludo’.


This bug report was last modified 5 years and 81 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.