Local, m3u extension disabled

When I run mopidy , I got the error messages that the local, m3u extensions have been disabled due to the following ,

WARNING Found local configuration errors, the extension has been automatically disabled:
WARNING local/media_dir ‘ascii’ codec can’t encode characters in position 11-12: ordinal not in range(128)
WARNING Found m3u configuration errors, the extension has been automatically disabled:
WARNING m3u/base_dir ‘ascii’ codec can’t encode characters in position 11-12: ordinal not in range(128)
WARNING Please fix the extension configuration errors or disable the extensions to silence these messages.

It seems some character encoding errors happened , but I didn’t know how to do.

Am I right that you are running Mopidy as your user rather than as a system service?

This is similar to https://github.com/mopidy/mopidy/issues/1502 caused by https://github.com/mopidy/mopidy/commit/97c6b8812dc140e95eac01ba04a5bf6815bac90c.

You can probably work around the issue by setting your local/media_dir and m3u/base_dir settings to the the actual directory paths (rather than using $XDG_MUSIC_DIR and $XDG_MUSIC_DIR which I assume you are currently using. Use mopidy config to show your effective config).

Thank you for your reply. I had my ubuntu mate installed in Chinese version. The directories were named in Chinese. After I renamed the directories in English , the error message has gone.