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

wkg get -o some_dir/ gives confusing error if some_dir doesn't exist #118

Open
itowlson opened this issue Oct 25, 2024 · 0 comments
Open
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@itowlson
Copy link
Contributor

$ wkg get fermyon:spin@3.0.0 -o WIT-TEST2/ --format wit --registry registrytest-vfztdiyy.fermyon.app
Getting fermyon:spin@3.0.0...
Error: No such file or directory (os error 2) at path "/home/ivan/testing/s3regtest/WIT-TEST2/.wkg-getT7LRZK"

The actual problem is that WIT-TEST2 doesn't exist (and wkg is reluctant to create it), but the temporary file name sends me in the wrong direction. It would be more helpful if wkg either:

  • created the directory; or
  • printed e.g. "directory WIT-TEST2 does not exist"
@thomastaylor312 thomastaylor312 added bug Something isn't working good first issue Good for newcomers labels Oct 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants