Kodi Community Forum
youtube plugin fails, error - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27)
+---- Forum: Video Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=154)
+---- Thread: youtube plugin fails, error (/showthread.php?tid=160467)



youtube plugin fails, error - Passiday - 2013-03-25

The youtube plugin (XBMC on Raspberry Pi), when asked to stream some video, failed with script error. Here's an excerpt from log:

Code:
Error Type: <type 'exceptions.ImportError'>
Error Contents: No module named CommonFunctions
Traceback (most recent call last):
File "/home/pi/.xbmc/addons/plugin.video.youtube/default.py", line 71, in <module>
import CommonFunctions as common
ImportError: No module named CommonFunctions

I solved this problem by copying CommonFunctions.py file from addons/script.module.parsedom/lib to addons/plugin.video.youtube, but perhaps this solution is not the right way how this problem should be handled.

This bug report seems to reflect similar problem: https://code.google.com/p/youtubexbmc/issues/detail?id=78
But I am not sure what they are talking about there - something about Addons15.db file, where the plugin can be reenabled, etc.


RE: youtube plugin fails, error - artrafael - 2013-03-25

Are you using OpenELEC as well?


RE: youtube plugin fails, error - Passiday - 2013-03-25

No, I have installed XBMC after installing Wheezy on my Raspberry Pi. Awkwardly, I don't remember how exactly I did it. My guess is that I downloaded from some GIT source and built locally on the Pi itself.