# Local, m3u extension disabled

**URL:** <https://discourse.mopidy.com/t/local-m3u-extension-disabled/1623>\
**Category:** Misc\
**Created:** [May 16, 2017, 4:32am UTC](https://discourse.mopidy.com/t/local-m3u-extension-disabled/1623 "2017-05-16T04:32:25Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ken\_Ip](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.mopidy.com/ken_ip/32/591_2.png) [@Ken\_Ip](https://discourse.mopidy.com/u/Ken_Ip)\
**Post date:** [May 16, 2017, 4:32am UTC](https://discourse.mopidy.com/t/local-m3u-extension-disabled/1623/1 "2017-05-16T04:32:25Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![kingosticks](https://avatars.discourse-cdn.com/v4/letter/k/858c86/32.png) [@kingosticks](https://discourse.mopidy.com/u/kingosticks)\
**Post date:** [May 16, 2017, 12:50pm UTC](https://discourse.mopidy.com/t/local-m3u-extension-disabled/1623/2 "2017-05-16T12:50:27Z")

</div>

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](https://github.com/mopidy/mopidy/issues/1502) caused by [https://github.com/mopidy/mopidy/commit/97c6b8812dc140e95eac01ba04a5bf6815bac90c](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).

---

<div class="post-metadata">

**Author:** ![Ken\_Ip](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.mopidy.com/ken_ip/32/591_2.png) [@Ken\_Ip](https://discourse.mopidy.com/u/Ken_Ip)\
**Post date:** [May 17, 2017, 3:16am UTC](https://discourse.mopidy.com/t/local-m3u-extension-disabled/1623/3 "2017-05-17T03:16:48Z")

</div>

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.
