# Mopidy with Pummeluff Extension

**URL:** <https://discourse.mopidy.com/t/mopidy-with-pummeluff-extension/5173>\
**Category:** Help and support\
**Created:** [October 15, 2021, 4:00pm UTC](https://discourse.mopidy.com/t/mopidy-with-pummeluff-extension/5173 "2021-10-15T16:00:32Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![bigcowwie](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.mopidy.com/bigcowwie/32/2114_2.png) [@bigcowwie](https://discourse.mopidy.com/u/bigcowwie)\
**Post date:** [October 15, 2021, 4:00pm UTC](https://discourse.mopidy.com/t/mopidy-with-pummeluff-extension/5173/1 "2021-10-15T16:00:32Z")

</div>

Excuse the n00b.

I’ve found my stash of pi b+ 1.2’s and wanted to have a go at making a rfid music player, I came across mopidy-pummeluff and have tried following the instructions on stretch and buster both times failing.

mopidy installs fine on buster from apt, on stretch tells me no Opengpg data found, so can only install using either python3 -m pip install or pip install mopidy,

when I install using either pip I seem unable to to get mopidy running as a service, no mopidy.service found

if I install on buster with apt then install the extensions with pip, it crashes saying something about extension %% no name

as a starting point… has anyone used this extension? which distro did you use, and which way did you install it.

I apologise if it’s me being thick. but willing to try to learn, my knowledge of linux is limited but getting better and better.

---

<div class="post-metadata">

**Author:** ![bigcowwie](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.mopidy.com/bigcowwie/32/2114_2.png) [@bigcowwie](https://discourse.mopidy.com/u/bigcowwie)\
**Post date:** [October 15, 2021, 4:10pm UTC](https://discourse.mopidy.com/t/mopidy-with-pummeluff-extension/5173/2 "2021-10-15T16:10:15Z")

</div>

AttributeError: ‘Extension’ object has no attribute ‘version’

was one error when trying to install via pip.

I’m just refreshing back to a buster lite sd card, will make note of errors more in detail so I can be more specific

---

<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:** [October 15, 2021, 4:22pm UTC](https://discourse.mopidy.com/t/mopidy-with-pummeluff-extension/5173/3 "2021-10-15T16:22:53Z")

</div>

Stretch is too much old, no new project should be using Debian Stretch.

PyPi (pip) provides Python packages only so you won’t find the extra files required for a system service there. Install Mopidy from [apt.mopidy.com](http://apt.mopidy.com) as per our documentation. Install the extension using

```auto
sudo python3 -m pip install mopidy-pummeluff

```

The instructions on the mopidy-pummeluff are not helpful for a Python 3 install (which is the only version Mopidy supports),

---

<div class="post-metadata">

**Author:** ![bigcowwie](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.mopidy.com/bigcowwie/32/2114_2.png) [@bigcowwie](https://discourse.mopidy.com/u/bigcowwie)\
**Post date:** [October 15, 2021, 4:38pm UTC](https://discourse.mopidy.com/t/mopidy-with-pummeluff-extension/5173/4 "2021-10-15T16:38:15Z")

</div>

followed instructions at [mopidy.com](http://mopidy.com)

followed instructions above

result:

Traceback (most recent call last):  
File “/usr/bin/mopidy”, line 11, in   
load\_entry\_point(‘Mopidy==3.2.0’, ‘console\_scripts’, ‘mopidy’)()  
File “/usr/lib/python3/dist-packages/mopidy/ **main**.py”, line 46, in main  
extensions\_data = ext.load\_extensions()  
File “/usr/lib/python3/dist-packages/mopidy/ext.py”, line 259, in load\_extensions  
“Loaded extension: %s %s”, extension.dist\_name, extension.version  
AttributeError: ‘Extension’ object has no attribute ‘version’

---

<div class="post-metadata">

**Author:** ![bigcowwie](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.mopidy.com/bigcowwie/32/2114_2.png) [@bigcowwie](https://discourse.mopidy.com/u/bigcowwie)\
**Post date:** [October 15, 2021, 4:39pm UTC](https://discourse.mopidy.com/t/mopidy-with-pummeluff-extension/5173/5 "2021-10-15T16:39:09Z")

</div>

PRETTY\_NAME=“Raspbian GNU/Linux 10 (buster)”  
NAME=“Raspbian GNU/Linux”  
VERSION\_ID=“10”  
VERSION=“10 (buster)”  
VERSION\_CODENAME=buster  
ID=raspbian  
ID\_LIKE=debian

---

<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:** [October 15, 2021, 5:52pm UTC](https://discourse.mopidy.com/t/mopidy-with-pummeluff-extension/5173/6 "2021-10-15T17:52:23Z")

</div>

You’ve probably got a non-Mopidy 3 extension installed i.e. an extension that only works in old (unsupported) Mopidy 2. We [fixed this back in July](https://github.com/mopidy/mopidy/pull/1990) but there’s no released including it. Either way, real fix is to remove the bad extension.

---

<div class="post-metadata">

**Author:** ![bigcowwie](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.mopidy.com/bigcowwie/32/2114_2.png) [@bigcowwie](https://discourse.mopidy.com/u/bigcowwie)\
**Post date:** [October 17, 2021, 9:14pm UTC](https://discourse.mopidy.com/t/mopidy-with-pummeluff-extension/5173/7 "2021-10-17T21:14:13Z")

</div>

mopidy-pummeluff is the only extension I have installed so far following the instructions in kingosticks/mopidy-pummeluff to build from source.

obvs doing something wrong somewhere. lol

---

<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:** [October 17, 2021, 10:54pm UTC](https://discourse.mopidy.com/t/mopidy-with-pummeluff-extension/5173/8 "2021-10-17T22:54:30Z")

</div>

How are you [running Mopidy](https://docs.mopidy.com/en/latest/running/)? As a service or in your terminal? Provide your full log showing the traceback occurring. Also provide the full output of `deps` for the way you are running Mopidy i.e if [running as a service](https://docs.mopidy.com/en/latest/running/service/) then use `sudo mopidyctl deps`.

---

<div class="post-metadata">

**Author:** ![alepee](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.mopidy.com/alepee/32/2131_2.png) [@alepee](https://discourse.mopidy.com/u/alepee)\
**Post date:** [November 21, 2021, 4:41pm UTC](https://discourse.mopidy.com/t/mopidy-with-pummeluff-extension/5173/9 "2021-11-21T16:41:51Z")

</div>

I ran into the same issue, and submitted a PR to fix it. [fix: Mopidy plugin must expose version number by alepee · Pull Request #26 · confirm/mopidy-pummeluff · GitHub](https://github.com/confirm/mopidy-pummeluff/pull/26/files)

Mopidy-Pummeluff does not expose a version as required by Mopidy.

Since the PR has not been merge yet, you can alter manually the ` __init__.py` file accordingly. It should be located under `/usr/local/lib/python3.9/dist-packages/mopidy_pummeluff/` (make sure the python3.9 is the correct version on your system)

---

<div class="post-metadata">

**Author:** ![system](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.mopidy.com/system/32/1_2.png) [@system](https://discourse.mopidy.com/u/system)\
**Post date:** [May 23, 2022, 4:42am UTC](https://discourse.mopidy.com/t/mopidy-with-pummeluff-extension/5173/10 "2022-05-23T04:42:09Z")

</div>

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.
