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

Could not load 'config.yml' #553

Closed
NSMyself opened this issue Aug 28, 2019 · 6 comments · Fixed by #571
Closed

Could not load 'config.yml' #553

NSMyself opened this issue Aug 28, 2019 · 6 comments · Fixed by #571
Labels
🐛 bug "Houston, we've had a problem."

Comments

@NSMyself
Copy link

NSMyself commented Aug 28, 2019

What's broken?

I can't use this; I just tried to install wtfutil using Brew and ran into this:

ERROR Could not load 'config.yml'.

This could mean one of two things:

    1. That file doesn't exist.
    2. That file has a YAML syntax error. Try running it through http://www.yamllint.com to check for errors.

Error: open /Users/username/.config/wtf/config.yml: no such file or directory

I can confirm that this path does not exist (the wtf folder is not there) but brew install ran fine (as did the previous command, brew tap). I'm on macOS Mojave (10.14.6).

@kolten
Copy link

kolten commented Aug 29, 2019

I ran into this issue as well, running touch ~/.config/wtf/config.ymldid the trick. File doesn't exist, but it created the directory in my case.

@Blake-
Copy link

Blake- commented Aug 29, 2019

Ubuntu 18.04.3 LTS same error.

@senorprogrammer senorprogrammer added the 🐛 bug "Houston, we've had a problem." label Aug 29, 2019
@KalobTaulien
Copy link

You need to create a config.yml file in /Users/username/.config/wtf/config.yml

I just ran into this. I put my entire config in there, because why not?
¯_(ツ)_/¯

@senorprogrammer
Copy link
Collaborator

The app should do that for you the first time you run it, with config.yml populated with some example modules. Seems its failing to do that for some people.

@senorprogrammer
Copy link
Collaborator

Confirmed that it's creating the ~/.config/wtf/ directory but not the config file.

@senorprogrammer
Copy link
Collaborator

senorprogrammer commented Aug 30, 2019

This fix will be out in the next release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug "Houston, we've had a problem."
Development

Successfully merging a pull request may close this issue.

5 participants