# Please help. No matter what I do i cannot get mopidy to see an extension :(

**URL:** <https://discourse.mopidy.com/t/please-help-no-matter-what-i-do-i-cannot-get-mopidy-to-see-an-extension/3702>\
**Category:** Misc\
**Created:** [January 12, 2020, 10:14pm UTC](https://discourse.mopidy.com/t/please-help-no-matter-what-i-do-i-cannot-get-mopidy-to-see-an-extension/3702 "2020-01-12T22:14:26Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![pallebone](https://avatars.discourse-cdn.com/v4/letter/p/a88e57/32.png) [@pallebone](https://discourse.mopidy.com/u/pallebone)\
**Post date:** [January 12, 2020, 10:14pm UTC](https://discourse.mopidy.com/t/please-help-no-matter-what-i-do-i-cannot-get-mopidy-to-see-an-extension/3702/1 "2020-01-12T22:14:27Z")

</div>

I have installed the extension using “sudo pip install Mopidy-Iris” 100% so its not only installed for my user acocunt, but when mopidy is run as a service, it does not find the extension. I have removed, reinstalled, retried everything i can think and followed multiple guided on this. I am so sad I cant seem to work out what has gone wrong no matter what I check.

Here is my system:  
Ubuntu 20.04  
Current Method of install on this attempt: Added apt source sudo wget -q -O /etc/apt/sources.list.d/mopidy.list [https://apt.mopidy.com/buster.list](https://apt.mopidy.com/buster.list)  
Then installed Mopidy via apt-get  
Then sudo pip install Mopidy-Iris

This is the config file found in sudo nano /etc/mopidy/mopidy.conf  
[http]  
enabled = true  
hostname = 192.168.3.21  
port = 6680  
zeroconf = Mopidy HTTP server on $hostname  
allowed\_origins =  
csrf\_protection = true  
default\_app = mopidy

[iris]  
enabled = true

[spotify]  
enabled = true  
username = CORRECT USERNAME  
password = CORRECT PASS  
client\_id = CORRECT ID  
client\_secret = CORRECT SECRET

[local]  
data\_dir = /var/lib/mopidy/local  
media\_dir = /var/lib/mopidy/media

[logging]  
config\_file = /etc/mopidy/logging.conf  
debug\_file = /var/log/mopidy/mopidy-debug.log

here is the output of  
journalctl -u mopidy (name of server is Shinobi)

Jan 12 17:03:07 Shinobi mopidy[228852]: INFO [MainThread] mopidy.commands GLib mainloop got SIGTERM. Exiting…  
Jan 12 17:03:07 Shinobi mopidy[228852]: INFO [MainThread] mopidy.commands Stopping Mopidy frontends  
Jan 12 17:03:07 Shinobi systemd[1]: Stopping Mopidy music server…  
Jan 12 17:03:07 Shinobi mopidy[228852]: INFO [MainThread] mopidy.commands Stopping Mopidy core  
Jan 12 17:03:07 Shinobi mopidy[228852]: INFO [MainThread] mopidy.commands Stopping Mopidy backends  
Jan 12 17:03:07 Shinobi mopidy[228852]: INFO [MainThread] mopidy.commands Stopping Mopidy audio  
Jan 12 17:03:07 Shinobi mopidy[228852]: INFO [MainThread] mopidy.commands Stopping Mopidy mixer  
Jan 12 17:03:08 Shinobi systemd[1]: mopidy.service: Succeeded.  
Jan 12 17:03:08 Shinobi systemd[1]: Stopped Mopidy music server.  
Jan 12 17:03:08 Shinobi systemd[1]: Starting Mopidy music server…  
Jan 12 17:03:08 Shinobi systemd[1]: Started Mopidy music server.  
Jan 12 17:03:09 Shinobi mopidy[229482]: INFO [MainThread] mopidy. **main** Starting Mopidy 3.0.1  
Jan 12 17:03:09 Shinobi mopidy[229482]: INFO [MainThread] mopidy.config Loading config from builtin defaults  
Jan 12 17:03:09 Shinobi mopidy[229482]: INFO [MainThread] mopidy.config Loading config from file:///usr/share/mopidy/conf.d/mopidy.conf  
Jan 12 17:03:09 Shinobi mopidy[229482]: INFO [MainThread] mopidy.config Loading config from file:///etc/mopidy/mopidy.conf  
Jan 12 17:03:09 Shinobi mopidy[229482]: INFO [MainThread] mopidy.config Loading config from command line options  
Jan 12 17:03:09 Shinobi mopidy[229482]: ERROR [MainThread] mopidy.internal.log Loading logging config ‘/etc/mopidy/logging.conf’ failed. ‘formatters’  
Jan 12 17:03:09 Shinobi mopidy[229482]: INFO [MainThread] mopidy. **main** Enabled extensions: softwaremixer, stream, http, m3u, file, mpd, spotify  
Jan 12 17:03:09 Shinobi mopidy[229482]: INFO [MainThread] mopidy. **main** Disabled extensions: none  
Jan 12 17:03:10 Shinobi mopidy[229482]: ERROR [MainThread] mopidy. **main** Extension spotify failed during setup. This might have left the registry in a bad state.  
Jan 12 17:03:10 Shinobi mopidy[229482]: Traceback (most recent call last):  
Jan 12 17:03:10 Shinobi mopidy[229482]: File “/usr/lib/python3/dist-packages/mopidy/ **main**.py”, line 129, in main  
Jan 12 17:03:10 Shinobi mopidy[229482]: extension.setup(registry)  
Jan 12 17:03:10 Shinobi mopidy[229482]: File “/usr/lib/python3/dist-packages/mopidy\_spotify/ **init**.py”, line 49, in setup  
Jan 12 17:03:10 Shinobi mopidy[229482]: from mopidy\_spotify.backend import SpotifyBackend  
Jan 12 17:03:10 Shinobi mopidy[229482]: File “/usr/lib/python3/dist-packages/mopidy\_spotify/backend.py”, line 9, in   
Jan 12 17:03:10 Shinobi mopidy[229482]: from mopidy\_spotify import Extension, library, playback, playlists, web  
Jan 12 17:03:10 Shinobi mopidy[229482]: File “/usr/lib/python3/dist-packages/mopidy\_spotify/library.py”, line 5, in   
Jan 12 17:03:10 Shinobi mopidy[229482]: from mopidy\_spotify import browse, distinct, images, lookup, search  
Jan 12 17:03:10 Shinobi mopidy[229482]: File “/usr/lib/python3/dist-packages/mopidy\_spotify/browse.py”, line 38, in   
Jan 12 17:03:10 Shinobi mopidy[229482]: “albums”: spotify.ToplistType.ALBUMS,  
Jan 12 17:03:10 Shinobi mopidy[229482]: AttributeError: module ‘spotify’ has no attribute ‘ToplistType’  
Jan 12 17:03:10 Shinobi mopidy[229482]: INFO [MainThread] mopidy.commands Starting Mopidy mixer: SoftwareMixer  
Jan 12 17:03:10 Shinobi mopidy[229482]: INFO [MainThread] mopidy.commands Starting Mopidy audio  
Jan 12 17:03:10 Shinobi mopidy[229482]: INFO [MainThread] mopidy.commands Starting Mopidy backends: FileBackend, M3UBackend, StreamBackend  
Jan 12 17:03:10 Shinobi mopidy[229482]: INFO [MainThread] mopidy.commands Starting Mopidy core  
Jan 12 17:03:10 Shinobi mopidy[229482]: INFO [MainThread] mopidy.commands Starting Mopidy frontends: HttpFrontend, MpdFrontend  
Jan 12 17:03:10 Shinobi mopidy[229482]: INFO [HttpFrontend-8] mopidy.http.actor HTTP server running at [::ffff:192.168.3.21]:6680  
Jan 12 17:03:10 Shinobi mopidy[229482]: INFO [MainThread] mopidy\_mpd.actor MPD server running at [::ffff:127.0.0.1]:6600  
Jan 12 17:03:10 Shinobi mopidy[229482]: INFO [MainThread] mopidy.commands Starting GLib mainloop  
Jan 12 17:03:11 Shinobi mopidy[229482]: INFO [Audio-2] mopidy.audio.actor Audio output set to “autoaudiosink”

Here is the service status:  
sudo systemctl status mopidy  
● mopidy.service - Mopidy music server  
Loaded: loaded (/lib/systemd/system/mopidy.service; enabled; vendor preset: enabled)  
Active: active (running) since Sun 2020-01-12 17:03:08 EST; 12min ago  
Process: 229469 ExecStartPre=/bin/mkdir -p /var/cache/mopidy (code=exited, status=0/SUCCESS)  
Process: 229471 ExecStartPre=/bin/chown mopidy:audio /var/cache/mopidy (code=exited, status=0/SUCCESS)  
Main PID: 229482 (mopidy)  
Tasks: 11 (limit: 6900)  
Memory: 47.0M  
CGroup: /system.slice/mopidy.service  
└─229482 /usr/bin/python3 /usr/bin/mopidy --config /usr/share/mopidy/conf.d:/etc/mopidy/mopidy.conf

Jan 12 17:03:10 Shinobi mopidy[229482]: AttributeError: module ‘spotify’ has no attribute ‘ToplistType’  
Jan 12 17:03:10 Shinobi mopidy[229482]: INFO [MainThread] mopidy.commands Starting Mopidy mixer: SoftwareMixer  
Jan 12 17:03:10 Shinobi mopidy[229482]: INFO [MainThread] mopidy.commands Starting Mopidy audio  
Jan 12 17:03:10 Shinobi mopidy[229482]: INFO [MainThread] mopidy.commands Starting Mopidy backends: FileBackend, M3UBackend, StreamBackend  
Jan 12 17:03:10 Shinobi mopidy[229482]: INFO [MainThread] mopidy.commands Starting Mopidy core  
Jan 12 17:03:10 Shinobi mopidy[229482]: INFO [MainThread] mopidy.commands Starting Mopidy frontends: HttpFrontend, MpdFrontend  
Jan 12 17:03:10 Shinobi mopidy[229482]: INFO [HttpFrontend-8] mopidy.http.actor HTTP server running at [::ffff:192.168.3.21]:6680  
Jan 12 17:03:10 Shinobi mopidy[229482]: INFO [MainThread] mopidy\_mpd.actor MPD server running at [::ffff:127.0.0.1]:6600  
Jan 12 17:03:10 Shinobi mopidy[229482]: INFO [MainThread] mopidy.commands Starting GLib mainloop  
Jan 12 17:03:11 Shinobi mopidy[229482]: INFO [Audio-2] mopidy.audio.actor Audio output set to “autoaudiosink”

What did I do wrong??? I am at such a loss ☹ Sorry and thanks in advance for any assistance at all.

Pete

(relevant section if you missed it):  
Jan 12 17:03:09 Shinobi mopidy[229482]: INFO [MainThread] mopidy. **main** Enabled extensions: softwaremixer, stream, http, m3u, file, mpd, spotify

Note: Iris is missing.

---

_[View the full topic](https://discourse.mopidy.com/t/please-help-no-matter-what-i-do-i-cannot-get-mopidy-to-see-an-extension/3702)._
