what-to-eat
what-to-eat copied to clipboard
[BUG] Directory .what-to-eat is not created when running "configure" on a clean installation
Describe the bug
Very nice little program! But I found a small issue setting it up.
My environment is Ubuntu 22.04.4 and fish 3.7.0.
To Reproduce
This is what I did:
- Install using
pip
pip3 install what-to-eat
- Install completions for fish (this works)
what-to-eat --install-completion
- Trying to create a profile
> what-to-eat configure
[?] What do you want to do?:
> Create new configuration
Add profile
List profiles
Edit profile
Set profile as default
Remove profile
[?] Profile name: Default
[?] Your address: Stockholm
💥 Unexpected error: [Errno 2] No such file or directory:
'/home/bastian/.what-to-eat/.what-to-eat-cache.json'
Expected behavior
The directory $HOME/.what-to-eat
should be created if it does not exist.
Screenshots