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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 40891 in the body.
You can then email your comments to 40891 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#40891; Package guix. (Mon, 27 Apr 2020 06:48:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Hartmut Goebel <h.goebel <at> crazy-compilers.com>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Mon, 27 Apr 2020 06:48:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

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 |





Reply sent to Ludovic Courtès <ludo <at> gnu.org>:
You have taken responsibility. (Mon, 27 Apr 2020 21:31:02 GMT) Full text and rfc822 format available.

Notification sent to Hartmut Goebel <h.goebel <at> crazy-compilers.com>:
bug acknowledged by developer. (Mon, 27 Apr 2020 21:31:02 GMT) Full text and rfc822 format available.

Message #10 received at 40891-done <at> debbugs.gnu.org (full text, mbox):

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’.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 26 May 2020 11:24:09 GMT) Full text and rfc822 format available.

This bug report was last modified 3 years and 358 days ago.

Previous Next


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