2015-06-02, 06:20
Hello,
I have what seems to be a simple yet confounding problem.
In my plugin i have several import calls:
But i get the following error:
But the problem is I can clearly see by browsing to my add ons folder that pyxbmct is installed. Everything else seems to be working just fine. I've tried uninstalling and reinstalling it, deleting the addons.db, but i still can't seem to get the import to work. Is there some way I can check to see if Kodi is adding the path correctly?
Any help is greatly appreciated.
Thanks!
I have what seems to be a simple yet confounding problem.
In my plugin i have several import calls:
Code:
from xbmcswift2 import Plugin
import os, sys, xbmc, xbmcvfs
import pyxbmct.addonwindow as pyxbmct
But i get the following error:
Code:
ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.ImportError'>
Error Contents: No module named pyxbmct.addonwindow
Traceback (most recent call last):
File "XXX/addon.py", line 3, in <module>
import pyxbmct.addonwindow as pyxbmct
ImportError: No module named pyxbmct.addonwindow
But the problem is I can clearly see by browsing to my add ons folder that pyxbmct is installed. Everything else seems to be working just fine. I've tried uninstalling and reinstalling it, deleting the addons.db, but i still can't seem to get the import to work. Is there some way I can check to see if Kodi is adding the path correctly?
Any help is greatly appreciated.
Thanks!