Skip to content
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

Kodi 19.0 Matrix | Not working due to Python version #7

Open
vexersa opened this issue Apr 20, 2021 · 2 comments
Open

Kodi 19.0 Matrix | Not working due to Python version #7

vexersa opened this issue Apr 20, 2021 · 2 comments

Comments

@vexersa
Copy link

vexersa commented Apr 20, 2021

Thanks for the awesome plugin. I enjoy using it daily, however now that I've updated my Kodi to Kodi 19, the plugin no longer works.

This looks to be to do with Kodi 19 only using Python 3.

Is there any way you can update the plugin? I'd be happy to help bug fix if possible!

I've attempted to use a Python 2 to Python 3 translator and updated references in the addon.xml to python 3, but no dice.

Errors I receive are type errors it looks like, see below!

ERROR <general>: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                                   - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                                  Error Type: <class 'TypeError'>
                                                  Error Contents: 'iconImage' is an invalid keyword argument for this function
                                                  Traceback (most recent call last):
                                                    File "/home/andrew/.kodi/addons/plugin.video.bestofyoutube_com/default.py", line 166, in <module>
                                                      index()
                                                    File "/home/andrew/.kodi/addons/plugin.video.bestofyoutube_com/default.py", line 28, in index
                                                      addDir(translation(30001), urlMain, "listVideos", icon)
                                                    File "/home/andrew/.kodi/addons/plugin.video.bestofyoutube_com/default.py", line 136, in addDir
                                                      liz = xbmcgui.ListItem(name, iconImage="DefaultFolder.png", thumbnailImage=iconimage)
                                                  TypeError: 'iconImage' is an invalid keyword argument for this function
                                                  -->End of Python script error report<--

@Shtucer
Copy link

Shtucer commented Jul 15, 2021

@vexersa If you still interested on update, check out my fork.

@vexersa
Copy link
Author

vexersa commented Jul 16, 2021

@Shtucer

Thank you very much! I was actually in the process of refactoring the code myself so your fork came at a great time 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants