FS#65954 - [mopidy] missing dependency python-dbus

Attached to Project: Community Packages
Opened by James Hogan (jhogan) - Tuesday, 24 March 2020, 08:22 GMT
Last edited by Morten Linderud (Foxboron) - Sunday, 05 April 2020, 12:33 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Morten Linderud (Foxboron)
Architecture x86_64
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

I installed mopidy-3.0.1-2, and tried starting it:
sudo pacman -S mopidy
sudo systemctl start mopidy

but it failed to start:

Mar 24 07:54:04 saruman mopidy[21728]: Traceback (most recent call last):
Mar 24 07:54:04 saruman mopidy[21728]: File "/usr/bin/mopidy", line 11, in <module>
Mar 24 07:54:04 saruman mopidy[21728]: load_entry_point('Mopidy==3.0.1', 'console_scripts', 'mopidy')()
Mar 24 07:54:04 saruman mopidy[21728]: File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 490, in load_entry_point
Mar 24 07:54:04 saruman mopidy[21728]: return get_distribution(dist).load_entry_point(group, name)
Mar 24 07:54:04 saruman mopidy[21728]: File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2859, in load_entry_point
Mar 24 07:54:04 saruman mopidy[21728]: return ep.load()
Mar 24 07:54:04 saruman mopidy[21728]: File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2450, in load
Mar 24 07:54:04 saruman mopidy[21728]: return self.resolve()
Mar 24 07:54:04 saruman mopidy[21728]: File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 2456, in resolve
Mar 24 07:54:04 saruman mopidy[21728]: module = __import__(self.module_name, fromlist=['__name__'], level=0)
Mar 24 07:54:04 saruman mopidy[21728]: File "/usr/lib/python3.8/site-packages/mopidy/__main__.py", line 7, in <module>
Mar 24 07:54:04 saruman mopidy[21728]: from mopidy import commands
Mar 24 07:54:04 saruman mopidy[21728]: File "/usr/lib/python3.8/site-packages/mopidy/commands.py", line 12, in <module>
Mar 24 07:54:04 saruman mopidy[21728]: from mopidy import config as config_lib
Mar 24 07:54:04 saruman mopidy[21728]: File "/usr/lib/python3.8/site-packages/mopidy/config/__init__.py", line 9, in <module>
Mar 24 07:54:04 saruman mopidy[21728]: from mopidy.config import keyring
Mar 24 07:54:04 saruman mopidy[21728]: File "/usr/lib/python3.8/site-packages/mopidy/config/keyring.py", line 15, in <module>
Mar 24 07:54:04 saruman mopidy[21728]: EMPTY_STRING = dbus.String("", variant_level=1)
Mar 24 07:54:04 saruman mopidy[21728]: AttributeError: module 'dbus' has no attribute 'String'

It appears to be missing the correct dbus python library (though curiously it didn't fail to import "dbus" as far as I can tell).

I found a dbus library documented on freedesktop that has a String function, and assumed that is extra/python-dbus-1.2.16-1. After installing that mopidy starts successfully (though I haven't got as far as checking it works correctly yet).
This task depends upon

Closed by  Morten Linderud (Foxboron)
Sunday, 05 April 2020, 12:33 GMT
Reason for closing:  Fixed
Additional comments about closing:  Fixed with 3.0.2-1

Loading...