12:28:26 T:2892102512 NOTICE: -->Python Interpreter Initialized<--
12:28:26 T:2892102512 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 CommonFunctions
Traceback (most recent call last):
File "/home/jens/.xbmc/addons/plugin.video.svtplay/default.py", line 12, in <module>
import CommonFunctions
ImportError: No module named CommonFunctions
-->End of Python script error report<--
12:28:26 T:2858531696 ERROR: GetDirectory - Error getting plugin://plugin.video.svtplay
I found issue 32, and tried youtube, which gave the same type of error.
CommonFunctions.py is located in addons/script.module.parsedom/lib/ and when I removed addons/script.module.parsedom/ and reinstalled youtube and svtplay it got recreated.
to the svtplay plugin which told me that the path was as follows (slightly reformatted):
['/home/jens/.xbmc/addons/plugin.video.svtplay',
'/home/jens/.xbmc/addons/script.module.xbmcswift/lib',
'/usr/share/xbmc/addons/script.module.simplejson/lib',
'/home/jens/.xbmc/addons/weather.wunderground/resources/lib/wunderground',
'/home/jens/.xbmc/addons/script.module.beautifulsoup/lib',
'/usr/share/xbmc/addons/script.module.pil/lib',
'/home/jens/.xbmc/addons/script.common.plugin.cache/lib',
'/home/jens/.xbmc/addons/script.module.simple.downloader/lib',
'/home/jens/.xbmc/addons/script.module.buggalo/lib',
'/home/jens/.xbmc/addons/script.module.xbmcswift2/lib',
'/home/jens/.xbmc/addons/script.module.elementtree/lib',
'/home/jens/.xbmc/addons/script.web.viewer/lib',
'/usr/share/xbmc/addons/script.module.pysqlite/lib',
'/usr/lib/python2.7',
'/usr/lib/python2.7/plat-linux2',
'/usr/lib/python2.7/lib-tk',
'/usr/lib/python2.7/lib-old',
'/usr/lib/python2.7/lib-dynload',
'/usr/local/lib/python2.7/dist-packages',
'/usr/lib/python2.7/dist-packages',
'/usr/lib/python2.7/dist-packages/PIL',
'/usr/lib/python2.7/dist-packages/gst-0.10',
'/usr/lib/python2.7/dist-packages/gtk-2.0',
'/usr/lib/pymodules/python2.7',
'/usr/lib/python2.7/dist-packages/ubuntu-sso-client',
'/usr/lib/python2.7/dist-packages/ubuntuone-client',
'/usr/lib/python2.7/dist-packages/ubuntuone-control-panel',
'/usr/lib/python2.7/dist-packages/ubuntuone-couch',
'/usr/lib/python2.7/dist-packages/ubuntuone-installer',
'/usr/lib/python2.7/dist-packages/ubuntuone-storage-protocol',
'']
i.e the parsedom path is not included. I then copied CommonFunctions to the
addons/plugin.video.svtplay which made it work. Not fully sure why this happens but it started happening while using frodo rc1 and persisted into the released frodo, both versions from team-xbmc ppa on launchpad.