Jump to content

Mediabrowser addon script failed - python exception


Recommended Posts

Posted

Have been seeing this for a while and just haven't gotten around to reporting it.  This happens generally on each restart of the Kodi app when loading the home screen.  It also happens randomly on browsing back up to the home screen after being in the movie or TV sections.

 

I've captured the error in the kodi.log - full log here:  http://sprunge.us/dGgf  and the exception snippet here:

07:49:16 T:139674819458816  NOTICE: XBMB3C 1 -> == ENTER: processFast ==
07:49:16 T:139674819458816  NOTICE: XBMB3C 1 -> Processing secondary menus
07:49:16 T:139674836244224   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.ValueError'>
                                            Error Contents: invalid literal for int() with base 10: 'None'
                                            Traceback (most recent call last):
                                              File "/storage/.kodi/addons/plugin.video.xbmb3c/default.py", line 39, in <module>
                                                MainModule.MainEntryPoint()
                                              File "/storage/.kodi/addons/plugin.video.xbmb3c/resources/lib/MainModule.py", line 1310, in MainEntryPoint
                                                getContent(param_url, pluginhandle)
                                              File "/storage/.kodi/addons/plugin.video.xbmb3c/resources/lib/MainModule.py", line 744, in getContent
                                                dirItems = List().processDirectory(url, result, progress, pluginhandle)
                                              File "/storage/.kodi/addons/plugin.video.xbmb3c/resources/lib/List.py", line 100, in processDirectory
                                                listItem=self.fastItem(item, pluginhandle)
                                              File "/storage/.kodi/addons/plugin.video.xbmb3c/resources/lib/List.py", line 168, in fastItem
                                                listItemName = listItemName + " (" + str(int(db.get(id + ".RecursiveItemCount")) - int(db.get(id + ".UnplayedItemCount"))) + "/" + str(db.get(id +
 ".RecursiveItemCount")) + ")"
                                            ValueError: invalid literal for int() with base 10: 'None'
                                            -->End of Python script error report<--
07:49:16 T:139674819458816  NOTICE: ===== XBMB3C STOP =====
0

Things continue to work as apparently Kodi just restarts the script immediately so it kinda masks the issue (which has allowed my laziness to avoid reporting it until now).

 

This is using the latest addon from the beta repository which as of this morning is 0.9.798 but it's been going on for several versions now.

 

I'm using Titan beta skin on my clients - mainly Openelec 5.02 though I also see the exception on my OSX laptop.  

 

I've cleared the addon cache a couple times and it does seem to make it go away for a little while.  That may just be coincidence but figure it's worth mentioning.

Posted (edited)

I came here to report this exact issue. I'm on stable release 0.9.770. Also using the Titan skin.

Edited by jluce50
Angelblue05
Posted (edited)

Thanks for reporting this. I've seen it once, but could never reproduce it again. :)

Edited by Angelblue05
jasonmcroy
Posted

Yes, I have had this happen recently on occasion. It doesn't seem to affect anything actually playing or working so I, like the above poster, never reported it. I figured in some update it would just go away at some point. :)

 

-Jason

Posted (edited)

This has been reported a lot - it is an obvious and easy fix.  I just have zero time today.  Tomorrow perhaps.

Edited by xnappo
  • Like 2
Posted

@xnapp0 - thanks, let me know if you need any other logs or want me to try anything.

jasonmcroy
Posted

Thanks @@xnappo. No rush on my end since it doesn't seem to affect anything as far as I can tell.

Posted

0.9.801 is on the way to the beta repo.  Please check if this is resolved.

Posted

I've been messing around with it for a little while now and haven't seen it again.  So far so good.  

Guest
This topic is now closed to further replies.
×
×
  • Create New...