Skip to content

Addon throws excepting #2

@DaVukovic

Description

@DaVukovic

Hi.

I'm a TeamKodi member and obviously your Add-on (which is in our repo since Kodi Jarvis) throws an error:

2021-11-06 06:34:56.805 T:1488    ERROR <general>: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                                    - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                                   Error Type: <class 'AttributeError'>
                                                   Error Contents: module 'xbmc' has no attribute 'abortRequested'
                                                   Traceback (most recent call last):
                                                     File "/storage/.kodi/addons/script.user.rating/service.py", line 44, in <module>
                                                       while(not xbmc.abortRequested):
                                                   AttributeError: module 'xbmc' has no attribute 'abortRequested'
                                                   -->End of Python script error report<--
                                                   
2021-11-06 06:34:57.005 T:1488     INFO <general>: Python interpreter stopped

I'm not a python dev myself, but monitor went into core and therefor it has to be used like

xbmc.Monitor().abortRequestet

or maybe even better:

mon = xbmc.Monitor()
while not mon.abortRequestet

Please let me know if you plan to update the addon. If not, would it be ok for you if someone forks your work and pushes an update to the Kodi repo?

Cheers and nice weekend.
DaVu

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions