This repository was archived by the owner on Dec 24, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 7
This repository was archived by the owner on Dec 24, 2024. It is now read-only.
TypeError: 'ProviderConfiguration' object is not a mapping when adding new music source #320
Copy link
Copy link
Closed
Labels
bugSomething isn't workingSomething isn't workinggl-importThis issue was imported from GitLabThis issue was imported from GitLab
Description
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
(sublime-music:48152): Gtk-CRITICAL **: 11:54:04.837: gtk_widget_set_size_request: assertion 'width >= -1' failed
(sublime-music:48152): Gtk-CRITICAL **: 11:54:06.074: gtk_entry_set_text: assertion 'text != NULL' failed
(sublime-music:48152): Gtk-CRITICAL **: 11:54:06.075: gtk_entry_set_text: assertion 'text != NULL' failed
(sublime-music:48152): Gtk-CRITICAL **: 11:54:06.075: gtk_entry_set_text: assertion 'text != NULL' failed
(sublime-music:48152): Gtk-CRITICAL **: 11:54:06.075: gtk_entry_set_text: assertion 'text != NULL' failed
(sublime-music:48152): Gtk-CRITICAL **: 11:54:06.075: gtk_entry_set_text: assertion 'text != NULL' failed
Traceback (most recent call last):
File "/home/fuomag9/.local/lib/python3.9/site-packages/sublime_music/app.py", line 167, in do_activate
self.show_configure_servers_dialog()
File "/home/fuomag9/.local/lib/python3.9/site-packages/sublime_music/app.py", line 1019, in show_configure_servers_dialog
self.app_config.save()
File "/home/fuomag9/.local/lib/python3.9/site-packages/sublime_music/config.py", line 234, in save
json = self.to_json(indent=2, sort_keys=True)
File "/home/fuomag9/.local/lib/python3.9/site-packages/dataclasses_json/api.py", line 49, in to_json
return json.dumps(self.to_dict(encode_json=False),
File "/home/fuomag9/.local/lib/python3.9/site-packages/dataclasses_json/api.py", line 85, in to_dict
return _asdict(self, encode_json=encode_json)
File "/home/fuomag9/.local/lib/python3.9/site-packages/dataclasses_json/core.py", line 346, in _asdict
return _encode_overrides(dict(result), _user_overrides_or_exts(obj),
File "/home/fuomag9/.local/lib/python3.9/site-packages/dataclasses_json/core.py", line 110, in _encode_overrides
v = encoder(v) if encoder is not None else v
File "/home/fuomag9/.local/lib/python3.9/site-packages/sublime_music/config.py", line 71, in encode_providers
return {
File "/home/fuomag9/.local/lib/python3.9/site-packages/sublime_music/config.py", line 72, in <dictcomp>
id_: {
TypeError: 'ProviderConfiguration' object is not a mapping
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinggl-importThis issue was imported from GitLabThis issue was imported from GitLab