emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#44115: closed (“guix import -r“ fails with Bactktrace instead of err


From: GNU bug Tracking System
Subject: bug#44115: closed (“guix import -r“ fails with Bactktrace instead of error)
Date: Mon, 07 Mar 2022 21:56:01 +0000

Your message dated Mon, 07 Mar 2022 22:55:12 +0100
with message-id <87ilspa0n3.fsf@gnu.org>
and subject line Re: bug#44115: “guix import -r“ fails with Bactktrace instead 
of error
has caused the debbugs.gnu.org bug report #44115,
regarding “guix import -r“ fails with Bactktrace instead of error
to be marked as done.

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


-- 
44115: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=44115
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: “guix import -r“ fails with Bactktrace instead of error Date: Wed, 21 Oct 2020 15:19:31 +0200
Dear,

Compare:

  $ guix import elpa foo
  guix import: error: failed to download package 'foo'

with:

  $ guix import elpa foo -r
  Backtrace:
             4 (primitive-load "/home/simon/.config/guix/current/bin/guix")
  In guix/ui.scm:
    2116:12  3 (run-guix-command _ . _)
  In guix/scripts/import.scm:
     120:11  2 (guix-import . _)
  In guix/scripts/import/elpa.scm:
     103:16  1 (guix-import-elpa . _)
  In guix/import/utils.scm:
     431:36  0 (recursive-import "foo" gnu #:repo->guix-package _ #:guix-name _)

  guix/import/utils.scm:431:36: In procedure recursive-import:
  Wrong number of values returned to continuation (expected 2)



Idem with the importers: ’hackage’, ’pypi’, ’cran’, ’crate’ and ’opam’.
Note the special mention to ’gem’:

  $ guix import gem kikoo -r
  #f


All the best,
simon




--- End Message ---
--- Begin Message --- Subject: Re: bug#44115: “guix import -r“ fails with Bactktrace instead of error Date: Mon, 07 Mar 2022 22:55:12 +0100 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)
zimoun <zimon.toutoune@gmail.com> skribis:

>   $ guix import elpa foo -r
>   Backtrace:
>              4 (primitive-load "/home/simon/.config/guix/current/bin/guix")
>   In guix/ui.scm:
>     2116:12  3 (run-guix-command _ . _)
>   In guix/scripts/import.scm:
>      120:11  2 (guix-import . _)
>   In guix/scripts/import/elpa.scm:
>      103:16  1 (guix-import-elpa . _)
>   In guix/import/utils.scm:
>      431:36  0 (recursive-import "foo" gnu #:repo->guix-package _ #:guix-name 
> _)
>
>   guix/import/utils.scm:431:36: In procedure recursive-import:
>   Wrong number of values returned to continuation (expected 2)

Fixed, thanks to last year’s zimoun!  :-)

  5278cab3dc scripts: import: gem: Fix recursive error handling.
  7229b0e858 import: cran: Return multiple values for unknown packages.
  1fe81b349c import: elpa: Return multiple values for unknown packages.
  6bb92098b4 import: hackage: Return multiple values for unknown packages.
  434925379d import: pypi: Return multiple values for unknown packages.
  ebb03447f8 import: pypi: Gracefully handle missing project home page.

Ludo’.


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]