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

Constant error with themoviedb.helper #376

Closed
ZedeN1 opened this issue Nov 21, 2020 · 4 comments
Closed

Constant error with themoviedb.helper #376

ZedeN1 opened this issue Nov 21, 2020 · 4 comments

Comments

@ZedeN1
Copy link

ZedeN1 commented Nov 21, 2020

Keep getting this error constantly, basically on every single change in view (going from movies to shows, from shows to video addons etc).

Full log on pastebin.

Running on Kodi version 18.7 on Raspberry Pi 4B.
Using latest Arctic Horizon 0.5.52
Using plugin.video.themoviedbhelper 4.0.10

2020-11-22 00:18:18.858 T:2303570128   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.RuntimeError'>
                                            Error Contents: implement_array_function method already has a docstring
                                            Traceback (most recent call last):
                                              File "/home/pi/.kodi/addons/plugin.video.themoviedb.helper/script.py", line 5, in <module>
                                                from resources.lib.script.router import Script
                                              File "/home/pi/.kodi/addons/plugin.video.themoviedb.helper/resources/lib/script/router.py", line 26, in <module>
                                                from resources.lib.monitor.images import ImageFunctions
                                              File "/home/pi/.kodi/addons/plugin.video.themoviedb.helper/resources/lib/monitor/images.py", line 10, in <module>
                                                from PIL import ImageFilter, Image  # TODO: Try Import in-case no PIL and don't use funcs
                                              File "/usr/lib/python2.7/dist-packages/PIL/ImageFilter.py", line 23, in <module>
                                                import numpy
                                              File "/usr/lib/python2.7/dist-packages/numpy/__init__.py", line 142, in <module>
                                                from . import core
                                              File "/usr/lib/python2.7/dist-packages/numpy/core/__init__.py", line 40, in <module>
                                                from . import multiarray
                                              File "/usr/lib/python2.7/dist-packages/numpy/core/multiarray.py", line 12, in <module>
                                                from . import overrides
                                              File "/usr/lib/python2.7/dist-packages/numpy/core/overrides.py", line 46, in <module>
                                                """)
                                            RuntimeError: implement_array_function method already has a docstring
                                            -->End of Python script error report<--
@drinfernoo
Copy link
Contributor

You need to update TMDbHelper. You're on a very old version.

@ZedeN1
Copy link
Author

ZedeN1 commented Nov 21, 2020

Exact same issue on 4.0.51 with slightly different error:

2020-11-22 00:49:44.345 T:1769992400   ERROR: Previous line repeats 1 times.
2020-11-22 00:49:44.345 T:1769992400   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.RuntimeError'>
                                            Error Contents: implement_array_function method already has a docstring
                                            Traceback (most recent call last):
                                              File "/home/pi/.kodi/addons/plugin.video.themoviedb.helper/script.py", line 5, in <module>
                                                from resources.lib.script.router import Script
                                              File "/home/pi/.kodi/addons/plugin.video.themoviedb.helper/resources/lib/script/router.py", line 26, in <module>
                                                from resources.lib.monitor.images import ImageFunctions
                                              File "/home/pi/.kodi/addons/plugin.video.themoviedb.helper/resources/lib/monitor/images.py", line 10, in <module>
                                                from PIL import ImageFilter, Image  # TODO: Try Import in-case no PIL and don't use funcs
                                              File "/usr/lib/python2.7/dist-packages/PIL/ImageFilter.py", line 23, in <module>
                                                import numpy
                                              File "/usr/lib/python2.7/dist-packages/numpy/__init__.py", line 142, in <module>
                                                from . import core
                                              File "/usr/lib/python2.7/dist-packages/numpy/core/__init__.py", line 40, in <module>
                                                from . import multiarray
                                              File "/usr/lib/python2.7/dist-packages/numpy/core/multiarray.py", line 12, in <module>
                                                from . import overrides
                                              File "/usr/lib/python2.7/dist-packages/numpy/core/overrides.py", line 46, in <module>
                                                """)
                                            RuntimeError: implement_array_function method already has a docstring
                                            -->End of Python script error report<--
2020-11-22 00:49:55.521 T:2471424208   ERROR: Previous line repeats 4 times.

@jurialmunkey
Copy link
Owner

jurialmunkey commented Nov 21, 2020

Duplicate of these issues: #301 #288 #244

It is due to your Linux distribution overriding numpy module with its own version.

Solution is here: #244 (comment)

@ZedeN1
Copy link
Author

ZedeN1 commented Nov 21, 2020

Thanks that fixed it!

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

3 participants