Kodi Community Forum

Full Version: YouTube Plugin Script Fail
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Does anyone have a fix.

Running XMBC 11.0 Eden on
Windows 7 x64

LOG: (Not Sure if this is helpful)
04:11:21 T:6748 DEBUG: CGUIMediaWindow::GetDirectory (plugin://plugin.video.youtube)
04:11:21 T:6748 DEBUG: ParentPath = [addons://sources/video/]
04:11:21 T:6824 DEBUG: XFILE::CPluginDirectory::StartScript - calling plugin YouTube('plugin://plugin.video.youtube/','0','')
04:11:21 T:6824 INFO: initializing python engine.
04:11:21 T:6824 DEBUG: new python thread created. id=4
04:11:21 T:6824 DEBUG: XFILE::CPluginDirectory::WaitOnScriptResult - waiting on the YouTube plugin...
04:11:21 T:5020 DEBUG: Thread XBPyThread start, auto delete: 0
04:11:21 T:5020 DEBUG: Python thread: start processing
04:11:21 T:5020 NOTICE: -->Python Interpreter Initialized<--
04:11:21 T:5020 DEBUG: XBPyThread:Tonguerocess - The source file to load is C:\Users\Damone Pierre\AppData\Roaming\XBMC\addons\plugin.video.youtube\default.py
04:11:21 T:5020 DEBUG: XBPyThread:Tonguerocess - Setting the Python path to C:\Users\Damone Pierre\AppData\Roaming\XBMC\addons\plugin.video.youtube;C:\Program Files (x86)\XBMC\addons\script.module.simplejson\lib;C:\Program Files (x86)\XBMC\addons\script.module.pil\lib;C:\Users\Damone Pierre\AppData\Roaming\XBMC\addons\script.common.plugin.cache\lib;C:\Users\Damone Pierre\AppData\Roaming\XBMC\addons\script.module.simple.downloader\lib;C:\Users\Damone Pierre\AppData\Roaming\XBMC\addons\script.module.parsedom\lib;C:\Program Files (x86)\XBMC\addons\script.module.pysqlite\lib;C:\Program Files (x86)\XBMC\system\python\DLLs;C:\Program Files (x86)\XBMC\system\python\Lib;C:\Program Files (x86)\XBMC\python26.zip;C:\Program Files (x86)\XBMC\system\python\lib\plat-win;C:\Program Files (x86)\XBMC\system\python\lib\lib-tk;C:\Program Files (x86)\XBMC;C:\Program Files (x86)\XBMC\system\python;C:\Program Files (x86)\XBMC\system\python\lib\site-packages;
04:11:21 T:5020 DEBUG: XBPyThread:Tonguerocess - Entering source directory C:\Users\Damone Pierre\AppData\Roaming\XBMC\addons\plugin.video.youtube
04:11:21 T:5020 DEBUG: Instantiating addon using automatically obtained id of "plugin.video.youtube" dependent on version 2.0 of the xbmc.python api
04:11:22 T:5020 NOTICE: YouTube-3.3.0
04:11:22 T:5020 NOTICE: CommonFunctions Beta-1.5.0
04:11:22 T:5020 INFO: Scriptresult: Success
04:11:22 T:6824 DEBUG: XFILE::CPluginDirectory::WaitOnScriptResult- plugin returned successfully
04:11:22 T:5020 INFO: Python script stopped
04:11:22 T:5020 DEBUG: Thread XBPyThread 5020 terminating
04:11:22 T:6036 DEBUG: Thread Background Loader start, auto delete: 0
04:11:22 T:6036 DEBUG: Thread Background Loader 6036 terminating
04:11:22 T:6748 DEBUG: waiting for python thread 4 to stop
04:11:22 T:6748 DEBUG: python thread 4 destructed
04:11:24 T:6748 DEBUG: CApplication:TonguerocessMouse: trying mouse action leftclick
04:11:24 T:6748 DEBUG: CGUIMediaWindow::GetDirectory (plugin://plugin.video.youtube/?path=/root/explore&login=false&)
04:11:24 T:6748 DEBUG: ParentPath = [plugin://plugin.video.youtube]
04:11:24 T:2748 DEBUG: XFILE::CPluginDirectory::StartScript - calling plugin YouTube('plugin://plugin.video.youtube/','0','?path=/root/explore&login=false&')
04:11:24 T:2748 INFO: initializing python engine.
04:11:24 T:2748 DEBUG: new python thread created. id=5
04:11:24 T:2748 DEBUG: XFILE::CPluginDirectory::WaitOnScriptResult - waiting on the YouTube plugin...
04:11:24 T:5488 DEBUG: Thread XBPyThread start, auto delete: 0
04:11:24 T:5488 DEBUG: Python thread: start processing
04:11:24 T:5488 NOTICE: -->Python Interpreter Initialized<--
04:11:24 T:5488 DEBUG: XBPyThread:Tonguerocess - The source file to load is C:\Users\Damone Pierre\AppData\Roaming\XBMC\addons\plugin.video.youtube\default.py
04:11:24 T:5488 DEBUG: XBPyThread:Tonguerocess - Setting the Python path to C:\Users\Damone Pierre\AppData\Roaming\XBMC\addons\plugin.video.youtube;C:\Program Files (x86)\XBMC\addons\script.module.simplejson\lib;C:\Program Files (x86)\XBMC\addons\script.module.pil\lib;C:\Users\Damone Pierre\AppData\Roaming\XBMC\addons\script.common.plugin.cache\lib;C:\Users\Damone Pierre\AppData\Roaming\XBMC\addons\script.module.simple.downloader\lib;C:\Users\Damone Pierre\AppData\Roaming\XBMC\addons\script.module.parsedom\lib;C:\Program Files (x86)\XBMC\addons\script.module.pysqlite\lib;C:\Program Files (x86)\XBMC\system\python\DLLs;C:\Program Files (x86)\XBMC\system\python\Lib;C:\Program Files (x86)\XBMC\python26.zip;C:\Program Files (x86)\XBMC\system\python\lib\plat-win;C:\Program Files (x86)\XBMC\system\python\lib\lib-tk;C:\Program Files (x86)\XBMC;C:\Program Files (x86)\XBMC\system\python;C:\Program Files (x86)\XBMC\system\python\lib\site-packages;
04:11:24 T:5488 DEBUG: XBPyThread:Tonguerocess - Entering source directory C:\Users\Damone Pierre\AppData\Roaming\XBMC\addons\plugin.video.youtube
04:11:24 T:5488 DEBUG: Instantiating addon using automatically obtained id of "plugin.video.youtube" dependent on version 2.0 of the xbmc.python api
04:11:24 T:5488 NOTICE: YouTube-3.3.0
04:11:24 T:5488 NOTICE: CommonFunctions Beta-1.5.0
04:11:24 T:5488 INFO: -->Python script returned the following error<--
04:11:24 T:5488 ERROR: Error Type: <type 'exceptions.ValueError'>
04:11:24 T:5488 ERROR: Error Contents: invalid literal for float(): 11.0 Git:20120321
04:11:24 T:5488 ERROR: Traceback (most recent call last):
File "C:\Users\Damone Pierre\AppData\Roaming\XBMC\addons\plugin.video.youtube\default.py", line 107, in <module>
params = common.getParameters(sys.argv[2])
File "C:\Users\Damone Pierre\AppData\Roaming\XBMC\addons\script.module.parsedom\lib\CommonFunctions.py", line 110, in getParameters
if getXBMCVersion() >= 12.0:
File "C:\Users\Damone Pierre\AppData\Roaming\XBMC\addons\script.module.parsedom\lib\CommonFunctions.py", line 102, in getXBMCVersion
version = float(version)
ValueError: invalid literal for float(): 11.0 Git:20120321
04:11:24 T:5488 INFO: -->End of Python script error report<--
04:11:24 T:5488 INFO: Python script stopped
04:11:24 T:5488 DEBUG: Thread XBPyThread 5488 terminating
04:11:24 T:2748 DEBUG: XFILE::CPluginDirectory::WaitOnScriptResult - plugin exited prematurely - terminating
04:11:24 T:6748 ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.video.youtube/?path=/root/explore&login=false&
04:11:24 T:6748 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.youtube/?path=/root/explore&login=false&) failed
04:11:24 T:6748 DEBUG: CGUIMediaWindow::GetDirectory (plugin://plugin.video.youtube)
04:11:24 T:6748 DEBUG: ParentPath = [addons://sources/video/]
04:11:24 T:2748 DEBUG: XFILE::CPluginDirectory::StartScript - calling plugin YouTube('plugin://plugin.video.youtube/','0','')
04:11:24 T:2748 INFO: initializing python engine.
04:11:24 T:2748 DEBUG: new python thread created. id=6
04:11:24 T:2748 DEBUG: XFILE::CPluginDirectory::WaitOnScriptResult - waiting on the YouTube plugin...
04:11:24 T:6764 DEBUG: Thread XBPyThread start, auto delete: 0
04:11:24 T:6764 DEBUG: Python thread: start processing
04:11:24 T:6764 NOTICE: -->Python Interpreter Initialized<--
04:11:24 T:6764 DEBUG: XBPyThread:Tonguerocess - The source file to load is C:\Users\Damone Pierre\AppData\Roaming\XBMC\addons\plugin.video.youtube\default.py
04:11:24 T:6764 DEBUG: XBPyThread:Tonguerocess - Setting the Python path to C:\Users\Damone Pierre\AppData\Roaming\XBMC\addons\plugin.video.youtube;C:\Program Files (x86)\XBMC\addons\script.module.simplejson\lib;C:\Program Files (x86)\XBMC\addons\script.module.pil\lib;C:\Users\Damone Pierre\AppData\Roaming\XBMC\addons\script.common.plugin.cache\lib;C:\Users\Damone Pierre\AppData\Roaming\XBMC\addons\script.module.simple.downloader\lib;C:\Users\Damone Pierre\AppData\Roaming\XBMC\addons\script.module.parsedom\lib;C:\Program Files (x86)\XBMC\addons\script.module.pysqlite\lib;C:\Program Files (x86)\XBMC\system\python\DLLs;C:\Program Files (x86)\XBMC\system\python\Lib;C:\Program Files (x86)\XBMC\python26.zip;C:\Program Files (x86)\XBMC\system\python\lib\plat-win;C:\Program Files (x86)\XBMC\system\python\lib\lib-tk;C:\Program Files (x86)\XBMC;C:\Program Files (x86)\XBMC\system\python;C:\Program Files (x86)\XBMC\system\python\lib\site-packages;
04:11:24 T:6764 DEBUG: XBPyThread:Tonguerocess - Entering source directory C:\Users\Damone Pierre\AppData\Roaming\XBMC\addons\plugin.video.youtube
04:11:24 T:6764 DEBUG: Instantiating addon using automatically obtained id of "plugin.video.youtube" dependent on version 2.0 of the xbmc.python api
04:11:24 T:6764 NOTICE: YouTube-3.3.0
04:11:24 T:6764 NOTICE: CommonFunctions Beta-1.5.0
04:11:24 T:6764 INFO: Scriptresult: Success
Image
I'm having the same problem with my XBMC and the YouTube pluging v3.3.0

Below is my system information:

OS Name Microsoft® Windows Vista™ Ultimate
Version 6.0.6002 Service Pack 2 Build 6002
Other OS Description Not Available
OS Manufacturer Microsoft Corporation
System Name SONICVISTA-PC
System Manufacturer System manufacturer
System Model System Product Name
System Type X86-based PC
Processor AMD Athlon™ 64 Processor 4000+, 2400 Mhz, 1 Core(s), 1 Logical Processor(s)
BIOS Version/Date Phoenix Technologies, LTD ASUS A8N-E ACPI BIOS Revision 1013, 4/7/2006
SMBIOS Version 2.3
Windows Directory C:\Windows
System Directory C:\Windows\system32
Boot Device \Device\HarddiskVolume2
Locale United States
Hardware Abstraction Layer Version = "6.0.6002.18005"
User Name SonicVista-PC\SonicVista
Time Zone Pacific Standard Time
Installed Physical Memory (RAM) 4.00 GB
Total Physical Memory 3.00 GB
Available Physical Memory 1.79 GB
Total Virtual Memory 6.21 GB
Available Virtual Memory 4.20 GB
Page File Space 3.29 GB
Page File D:\pagefile.sys

Here is the link to my uploaded XBMC.log file:
http://pastebin.ca/2297613

This was working for about a week, I haven't made any changes to my Windows Vista or XBMC. Not sure how to get this fixed.

Thanks!
Hey guys,

I am having this error on my ATV1. My plugin was working this morning and stopped working . I have tried rollback abducted uninstalling with no luck. The plugin fails over and over. FWIW the apple frontrow YouTube plugin can still talk to YouTube and play video just fine
Same problem here, running XMBC 11.0 Eden on OpenELEC 2.0.

Seems to be caused since an update of script.module.parsedom (to version 1.5.0).

This is what I did to solve this problem -for now- (revert to version 1.4.0):

System > Settings > Add-ons > Install from zip file > [XBMC home folder]/addons/packages > script.module.parsedom-1.4.0.zip

(2012-12-29, 15:40)pompelmoesje Wrote: [ -> ]Same problem here, running XMBC 11.0 Eden on OpenELEC 2.0.

Seems to be caused since an update of script.module.parsedom (to version 1.5.0).

This is what I did to solve this problem -for now- (revert to version 1.4.0):

System > Settings > Add-ons > Install from zip file > [XBMC home folder]/addons/packages > script.module.parsedom-1.4.0.zip

thx, that fix works on windows too.
you can get the file here:
http://nervion.us.es/xbmc/addons/eden/sc...m/?order=N

Thanks for the fix!

One question though, Do these addons update themselves automatically?

If so, Is this a good thing? or should it be disabled until the official release of Frodo?

Cheers!
The file on server says its 1.5.0 not 1.4.0
(2012-12-29, 16:09)VelvetKevorkian Wrote: [ -> ]
(2012-12-29, 15:40)pompelmoesje Wrote: [ -> ]Same problem here, running XMBC 11.0 Eden on OpenELEC 2.0.

Seems to be caused since an update of script.module.parsedom (to version 1.5.0).

This is what I did to solve this problem -for now- (revert to version 1.4.0):

System > Settings > Add-ons > Install from zip file > [XBMC home folder]/addons/packages > script.module.parsedom-1.4.0.zip

thx, that fix works on windows too.
you can get the file here:
http://nervion.us.es/xbmc/addons/eden/sc...m/?order=N

Like ykhehra1 says, the file on the server has been updated to 1.5.0.
Does anyone have a link to 1.4.0?

Why do I always seem to regret updating xbmc.
Note to self: If it works, leave it alone!!


(2012-12-30, 00:11)ykhehra1 Wrote: [ -> ]The file on server says its 1.5.0 not 1.4.0
(2012-12-29, 16:09)VelvetKevorkian Wrote: [ -> ]
(2012-12-29, 15:40)pompelmoesje Wrote: [ -> ]Same problem here, running XMBC 11.0 Eden on OpenELEC 2.0.

Seems to be caused since an update of script.module.parsedom (to version 1.5.0).

This is what I did to solve this problem -for now- (revert to version 1.4.0):

System > Settings > Add-ons > Install from zip file > [XBMC home folder]/addons/packages > script.module.parsedom-1.4.0.zip

thx, that fix works on windows too.
you can get the file here:
http://nervion.us.es/xbmc/addons/eden/sc...m/?order=N

Never mind.
I got it working by updating to 1.5.0 and installing the youtube 3.4.0 beta (haven't tested 3.3.0 with 1.5.0).

I'm on a clean 12.0 RC2 install using windows 7.


(2012-12-30, 09:25)Prozpect Wrote: [ -> ]Like ykhehra1 says, the file on the server has been updated to 1.5.0.
Does anyone have a link to 1.4.0?

Why do I always seem to regret updating xbmc.
Note to self: If it works, leave it alone!!


(2012-12-30, 00:11)ykhehra1 Wrote: [ -> ]The file on server says its 1.5.0 not 1.4.0
(2012-12-29, 16:09)VelvetKevorkian Wrote: [ -> ]thx, that fix works on windows too.
you can get the file here:
http://nervion.us.es/xbmc/addons/eden/sc...m/?order=N

Unfortunately I can't find the 3.4.0 version.
So looking at the code it seems that the problem is the string "11.0 Git:20120321".
This string cannot be converted to a float due to the chars "git:20120321" so I hardcoded the value "11.0" in to the variable "version".

Youtube and others XBMC features are working ... but it's not a real fix, just a workaround.
I'm sorry but I don't know XBMC well.


Here the code of CommonFunctions.py:

[...]
#version = float(version) #the old one
version = float(11.0) #the new one
[...]

bye
samanakuma
I attempted to add the update that VelvetKevorkjan suggested but that did not work for me. So I took a risk and went to the XBMC downloads page (http://xbmc.org/download/) and downloaded the "12.0 “Frodo” Release Candidate 2" and my XBMC is now working with the YubTube module. If you haven't tried upgrading the module below and don't mind install "release candidate" software give it a try.

(2012-12-29, 16:09)VelvetKevorkian Wrote: [ -> ]
(2012-12-29, 15:40)pompelmoesje Wrote: [ -> ]Same problem here, running XMBC 11.0 Eden on OpenELEC 2.0.

Seems to be caused since an update of script.module.parsedom (to version 1.5.0).

This is what I did to solve this problem -for now- (revert to version 1.4.0):

System > Settings > Add-ons > Install from zip file > [XBMC home folder]/addons/packages > script.module.parsedom-1.4.0.zip

thx, that fix works on windows too.
you can get the file here:
http://nervion.us.es/xbmc/addons/eden/sc...m/?order=N