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

Default module loader's error message doesn't include all likely locations looked #1804

Open
endobson opened this issue Sep 16, 2017 · 0 comments

Comments

@endobson
Copy link
Contributor

I have a collection which is split over multiple repositories due to complicated reasons of how the non racket source files are managed. When I try to load up a module from this collection and the system cannot find it, it only gives one path where it looked even though there are multiple ones.

In this repo:
https://github.com/endobson/examples/tree/654183322f3bd24c37d89d15f271c3c1a11e5a9a

endobson@yggdrasil () ~/tmp/example-repo % racket -l racket/base -e '(current-library-collection-links (list #f (build-path (current-directory) "links.rktd")))' -l foo/foo -l foo/bar -l foo/baz
default-load-handler: cannot open module file
  module path: (lib "foo/baz")
  path: /Users/endobson/tmp/example-repo/foo-pkg/baz.rkt
  system error: No such file or directory; errno=2
  context...:
   standard-module-name-resolver
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

1 participant