You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since beets was assuming that the file existed and was readable so that default config values were set, it led to some very obscure error messages about missing config fields.
This would have been a lot easier to debug if confuse threw an exception or something to indicate that the file was missing. Maybe some users of confuse don't need a default config file, but for those that do it seems that they would always expect it to be present.
The text was updated successfully, but these errors were encountered:
I'd like to bump this. Add on to that the fact that the optional parameter that sets this behavior isn't easily changeable by the user. There should be a distinction between default config files that don't exist (ignored) and those that fail to parse (should raise an exception).
In beets we noticed (see beetbox/beets#3264) that when confuse can't read the default config file it silently ignores the problem:
confuse/confuse.py
Lines 935 to 939 in 04fd862
Since beets was assuming that the file existed and was readable so that default config values were set, it led to some very obscure error messages about missing config fields.
This would have been a lot easier to debug if confuse threw an exception or something to indicate that the file was missing. Maybe some users of confuse don't need a default config file, but for those that do it seems that they would always expect it to be present.
The text was updated successfully, but these errors were encountered: