Quantcast
Channel: Kodi Community Forum - All Forums
Viewing all articles
Browse latest Browse all 84004

xbmcaddon.Addon() access_voilation

$
0
0
Hey all, got an error when I'm trying to get the addonid, I always used to do this in my default.py file:

Code:
import xbmcaddon
__addon__ = xbmcaddon.Addon()
__addon_id__  = __addon__.getAddonInfo('id')

But now it gives me:
Error Type: <type 'exceptions.RuntimeError'>
Error Contents: access_voilation

I deleted everything except those two lines:
Code:
import xbmcaddon
__addon__ = xbmcaddon.Addon()

and I still get the error message. I've been stuck on this for 5 hours and I can't find the solution or find any help from google.

Viewing all articles
Browse latest Browse all 84004

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>