unable tu run this addon
Closed this issue · 2 comments
jasondaigo commented
I am struggling to run this addon. i used for 1 year before. but then i reinstalled batocera and it stopped working out of the box. On my Desktop Arch Linux i also have no success. Are there any additional packages i have to install prior to this? I am using navidrome
2022-03-13 12:13:27.757 T:2388 DEBUG <general>: ------ Window Deinit (Home.xml) ------
2022-03-13 12:13:27.757 T:2388 DEBUG <general>: FreeVisualisation() done
2022-03-13 12:13:27.757 T:2388 DEBUG <general>: ------ Window Init (MyMusicNav.xml) ------
2022-03-13 12:13:27.759 T:2388 ERROR <general>: Control 55 in window 10502 has been asked to focus, but it can't
2022-03-13 12:13:27.773 T:2388 DEBUG <general>: CGUIMediaWindow::GetDirectory (plugin://plugin.audio.subsonic/)
2022-03-13 12:13:27.773 T:2388 DEBUG <general>: ParentPath = [plugin://plugin.audio.subsonic/]
2022-03-13 12:13:27.774 T:2481 DEBUG <general>: Thread waiting start, auto delete: false
2022-03-13 12:13:27.778 T:2478 DEBUG <general>: CAddonDatabase::SetLastUsed[plugin.audio.subsonic] took 5 ms
2022-03-13 12:13:27.778 T:2481 DEBUG <general>: StartScript - calling plugin Subsonic('plugin://plugin.audio.subsonic/','3','','resume:false')
2022-03-13 12:13:27.779 T:2482 DEBUG <general>: Thread LanguageInvoker start, auto delete: false
2022-03-13 12:13:27.779 T:2482 INFO <general>: initializing python engine.
2022-03-13 12:13:27.779 T:2482 DEBUG <general>: CPythonInvoker(5, /home/jason/.kodi/addons/plugin.audio.subsonic/main.py): start processing
2022-03-13 12:13:27.784 T:2482 DEBUG <general>: -->Python Interpreter Initialized<--
2022-03-13 12:13:27.784 T:2482 DEBUG <general>:
2022-03-13 12:13:27.784 T:2482 DEBUG <general>: CPythonInvoker(5, /home/jason/.kodi/addons/plugin.audio.subsonic/main.py): the source file to load is "/home/jason/.kodi/addons/plugin.audio.subsonic/main.py"
2022-03-13 12:13:27.784 T:2482 DEBUG <general>: CPythonInvoker(5, /home/jason/.kodi/addons/plugin.audio.subsonic/main.py): setting the Python path to /home/jason/.kodi/addons/plugin.audio.subsonic:/usr/lib/python310.zip:/usr/lib/python3.10:/usr/lib/python3.10/lib-dynload:/usr/lib/python3.10/site-packages
2022-03-13 12:13:27.784 T:2482 DEBUG <general>: CPythonInvoker(5, /home/jason/.kodi/addons/plugin.audio.subsonic/main.py): entering source directory /home/jason/.kodi/addons/plugin.audio.subsonic
2022-03-13 12:13:27.784 T:2482 DEBUG <general>: CPythonInvoker(5, /home/jason/.kodi/addons/plugin.audio.subsonic/main.py): instantiating addon using automatically obtained id of "plugin.audio.subsonic" dependent on version 3.0.0 of the xbmc.python api
2022-03-13 12:13:27.825 T:2482 ERROR <general>: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <class 'ImportError'>
Error Contents: cannot import name 'MutableMapping' from 'collections' (/usr/lib/python3.10/collections/__init__.py)
Traceback (most recent call last):
File "/home/jason/.kodi/addons/plugin.audio.subsonic/main.py", line 23, in <module>
from simpleplugin import Plugin
File "/home/jason/.kodi/addons/plugin.audio.subsonic/lib/simpleplugin/__init__.py", line 4, in <module>
from .simpleplugin import *
File "/home/jason/.kodi/addons/plugin.audio.subsonic/lib/simpleplugin/simpleplugin.py", line 22, in <module>
from collections import MutableMapping, namedtuple
ImportError: cannot import name 'MutableMapping' from 'collections' (/usr/lib/python3.10/collections/__init__.py)
-->End of Python script error report<--
2022-03-13 12:13:27.825 T:2482 DEBUG <general>: onExecutionDone(5, /home/jason/.kodi/addons/plugin.audio.subsonic/main.py)
2022-03-13 12:13:27.825 T:2482 DEBUG <general>: .
2022-03-13 12:13:27.833 T:2482 INFO <general>: Python interpreter stopped
2022-03-13 12:13:27.833 T:2482 DEBUG <general>: Thread LanguageInvoker 140134271919680 terminating
2022-03-13 12:13:27.839 T:2481 ERROR <general>: GetDirectory - Error getting plugin://plugin.audio.subsonic/
2022-03-13 12:13:27.839 T:2481 DEBUG <general>: Thread waiting 140132829095488 terminating
2022-03-13 12:13:27.839 T:2388 ERROR <general>: CGUIMediaWindow::GetDirectory(plugin://plugin.audio.subsonic/) failed
2022-03-13 12:13:27.840 T:2388 DEBUG <general>: CGUIMediaWindow::GetDirectory ()
2022-03-13 12:13:27.840 T:2388 DEBUG <general>: ParentPath = [plugin://plugin.audio.subsonic/]
2022-03-13 12:13:27.841 T:2483 DEBUG <general>: Thread waiting start, auto delete: false
2022-03-13 12:13:27.842 T:2483 DEBUG <general>: Thread waiting 140132829095488 terminating
2022-03-13 12:13:27.844 T:2388 DEBUG <general>: RetrieveMusicInfo() took 0 msec
2022-03-13 12:13:27.845 T:2484 DEBUG <general>: Thread BackgroundLoader start, auto delete: false
2022-03-13 12:13:27.846 T:2388 DEBUG <general>: ------ Window Init (DialogNotification.xml) ------
2022-03-13 12:13:27.846 T:2484 DEBUG <general>: Thread BackgroundLoader 140133250524736 terminating
2022-03-13 12:13:33.779 T:2388 DEBUG <general>: ------ Window Deinit (DialogNotification.xml) ------
warwickh commented
Hi,
Yes, there has been a change to one of the dependencies.
This has now been fixed, so if you download the latest version of the plugin (either using git pull or download the zip) it should work.
jasondaigo commented
aye ok, so only repository method doesnt work atm,thanks man, i appreciate it <3