-
-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TypeError: 'ProviderConfiguration' object is not a mapping when adding new music source #320
Comments
In GitLab by @LennyPenny on Sep 19, 2021, 12:43 I can confirm this, getting the same error Fedora 34 |
In GitLab by @user-resu on Sep 20, 2021, 14:11 I can confirm it as well.
|
In GitLab by @user-resu on Sep 23, 2021, 13:10 If it makes any difference - I'm trying to add NextCloud music: https://<nextcloud.server.url>/index.php/apps/music/subsonic |
In GitLab by @dominikh1 on Sep 25, 2021, 03:14 I believe the same issue is cause of this test failure (when trying to build the sublime-music derivation in nixpkgs):
|
In GitLab by @bigjdunham on Oct 7, 2021, 10:58 I'm also getting this error when installing with pip in Ubuntu 20.04. |
In GitLab by @djjudas21 on Oct 8, 2021, 05:06 Also getting this error installing by Pip on Fedora 34
Looks like I'm on Python 3.9
|
In GitLab by @shibacomputer on Oct 12, 2021, 08:34 +1 for this, exact same issue. Fedora 34 with install via Pip! |
In GitLab by @djjudas21 on Oct 12, 2021, 09:47 I'm no Python expert but I believe the error we're seeing here is because we're trying to run it on Python 3.9. Issue #317 tracks the upgrade to Python 3.9 and includes a task "convert everything to use the new type annotations" which might be related to this issue? Not sure. As a workaround, I managed to get Sublime Music running on Fedora 34 by using the Poetry config. You need to check out a Git repo and build with Poetry, with effectively provides a virtualenv with the right version of Python. # Install Poetry and the deps required to build Sublime Music
sudo dnf install poetry cairo-devel cairo-gobject-devel xorg-x11-proto-devel gobject-introspection-devel
export PKG_CONFIG_PATH="/usr/lib64/pkgconfig:/usr/share/pkgconfig"
# Grab the source for Sublime Music
git clone https://gitlab.com/sublime-music/sublime-music.git
cd sublime-music
# Install deps with Poetry
poetry install
# Run Sublime Music
poetry run sublime-music It's a hack... but at least it allowed me to evaluate Sublime Music for my needs - and I like it. Looking forward to a fixed package :slight_smile: |
Should be fixed in !68 |
marked this issue as related to #327 |
In GitLab by @fuomag9 on Sep 15, 2021, 03:57
Adding a new music source fails with the stack trace below. I'm using python3.9 and I installed sublime music via pip
The text was updated successfully, but these errors were encountered: