Open dangnhdev opened 4 months ago
Environment: Mac OS X 12.7.5, fselect 0.8.6 installed via MacPorts
I was seeing the same error message.
The fselect config.toml file is found at ~/Library/Application\ Support/jhspetersson.fselect/config.toml.
The last line in that file was
is_fond = [".eot", ".fon", ".otc", ".otf", ".ttc", ".ttf", ".woff", ".woff2"]
with no newline at the end of the file.
I changed "is_fond" to "is_font" and added a newline and the error has gone away.
I don't know where this file comes from. It doesn't appear to be provided by the MacPorts fselect package.
I can confirm that adding the is_font
definition to ~/Library/Application\ Support/jhspetersson.fselect/config.toml
- which was entirely missing in my macOS brew installation - was successful in eliminating the TOML parse error issue for me.
Terminal output:
Tried to find config.toml at ~/.config/fselect as in the doc but the folder doesn't exist. May I ask where is the location of config.toml on Mac (installed via homebrew)? Update: There is argument for setting config file location as well but I can't find any example .toml file in this project to copy from 😔
The fselect command still show result and in the mean time I just cut first 6 lines from its stderr to temporary use it: