guix-devel
[Top][All Lists]
Advanced

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

Re: crate importer throws


From: Csepp
Subject: Re: crate importer throws
Date: Wed, 12 Oct 2022 23:51:58 +0200

jgart <jgart@dismail.de> writes:

> On Wed, 12 Oct 2022 14:24:26 +0200 Maxime Devos <maximedevos@telenet.be> 
> wrote:
>
> That still throws:
>
> guix shell guile-semver -- guix import crate the-way
> ;;; Failed to autoload string->semver-range in (semver ranges):
> ;;; no code for module (semver ranges)
> Backtrace:
> In ice-9/boot-9.scm:
>   1752:10  9 (with-exception-handler _ _ #:unwind? _ # _)
> In unknown file:
>            8 (apply-smob/0 #<thunk 7fee216872e0>)
> In ice-9/boot-9.scm:
>     724:2  7 (call-with-prompt _ _ #<procedure default-prompt-handle…>)
> In ice-9/eval.scm:
>     619:8  6 (_ #(#(#<directory (guile-user) 7fee2168cc80>)))
> In guix/ui.scm:
>    2263:7  5 (run-guix . _)
>   2226:10  4 (run-guix-command _ . _)
> In guix/scripts/import.scm:
>     92:11  3 (guix-import . _)
> In guix/scripts/import/crate.scm:
>     95:24  2 (guix-import-crate . _)
> In guix/import/crate.scm:
>     287:9  1 (crate->guix-package "the-way" #:version _ # _ #:repo _)
>    260:26  0 (find-crate-version #<<crate> name: "the-way" latest-v…> …)
>
> guix/import/crate.scm:260:26: In procedure find-crate-version:
> error: string->semver-range: unbound variable
>
>
> WDYT

Weird, that exact command worked for me, but it's likely we are on
different commits.  And yes, the error message could be clearer,
although I'm not sure where that should be fixed.  Guile doesn't know
what packages correspond to what modules and it should probably stay
that way.

```
$ guix describe
Generation 162  Oct 01 2022 00:15:38    (current)
  guix 1266b9e
    repository URL: https://git.savannah.gnu.org/git/guix.git
    branch: master
    commit: 1266b9ed111bff7b860cba6921e4540bc1f61c9e
```



reply via email to

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