Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when importing in guile: (import (dsv)) → Wrong type to apply: #<directory (dsv fsm context) 7040cb5d2c80> #11

Open
ArneBab opened this issue Sep 18, 2024 · 1 comment
Assignees

Comments

@ArneBab
Copy link

ArneBab commented Sep 18, 2024

Hi,

when I try to import dsv, I get an error message:

$ guile -c '(import (dsv))'
Backtrace:
In ice-9/threads.scm:
    399:8 19 (_ _)
In ice-9/boot-9.scm:
  3564:20 18 (_)
   2858:4 17 (save-module-excursion #<procedure 7040cb5b63c0 at ice-…>)
  3584:26 16 (_)
In unknown file:
          15 (primitive-load-path "dsv/common" #<procedure 7040cb5cb…>)
In ice-9/boot-9.scm:
  3923:23 14 (_)
   3431:4 13 (define-module* _ #:filename _ #:pure _ #:version _ # _ …)
  3444:24 12 (_)
   222:29 11 (map1 (((srfi srfi-1) #:select (fold)) ((ice-9 #) # …) …))
   222:29 10 (map1 (((ice-9 regex) #:select (#)) ((scheme #)) ((…))))
   222:29  9 (map1 (((scheme documentation)) ((dsv fsm context))))
   222:17  8 (map1 (((dsv fsm context))))
  3349:17  7 (resolve-interface (dsv fsm context) #:select _ #:hide _ …)
In ice-9/threads.scm:
    399:8  6 (_ _)
In ice-9/boot-9.scm:
  3275:13  5 (_)
In ice-9/threads.scm:
    399:8  4 (_ _)
In ice-9/boot-9.scm:
  3564:20  3 (_)
   2858:4  2 (save-module-excursion #<procedure 7040cb5b6300 at ice-…>)
  3584:26  1 (_)
In unknown file:
           0 (primitive-load-path "dsv/fsm/context" #<procedure 7040…>)

ERROR: In procedure primitive-load-path:
Wrong type to apply: #<directory (dsv fsm context) 7040cb5d2c80>

This is with version

$ guix search guile-dsv
name: guile-dsv
version: 0.7.2
@artyom-poptsov artyom-poptsov self-assigned this Sep 18, 2024
@artyom-poptsov
Copy link
Owner

Hello!

I just checked it on my machine and wasn't able reproduce the error:

$ guix install guile-dsv
$ guile -c "(import (dsv)) (scm->dsv '((\"hello\" \"world\")))"
hello:world
$ guix show guile-dsv | head -2
name: guile-dsv
version: 0.7.2
$ guile --version
guile (GNU Guile) 3.0.9
Copyright (C) 2023 Free Software Foundation, Inc.

License LGPLv3+: GNU LGPL 3 or later <http://gnu.org/licenses/lgpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Maybe I'm missing something?

-avp

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants