Help - YouTube crashes when Search is selected
#1
Hi,

My youtube add-on now crashes instantly I select 'New Search.'

I have successfully implemented the changes posted by jdf76 on the keys for the Google project. I am running YouTube video plugin 5.1.20.6.

These chages to YouTube went without error. It hen decided to install the forum browser. During this installation it asked to install a extended kyboard and I said yes to this.

After this installation the youTube add on now crashes instantly the 'New Search ' is clicked.

I have uninstalled the forum browser and the YouTube add on still crashes.

It looks like it is crashing when accessing the keyboard template.

====================================================================================

The build info is :-
18:40:40 67615.812500 T:1957118896 NOTICE: Starting Kodi (16.1-RC3). Platform: Linux ARM (Thumb) 32-bit
18:40:40 67615.812500 T:1957118896 NOTICE: Using Release Kodi x32 build (version for Raspberry Pi)
18:40:40 67615.812500 T:1957118896 NOTICE: Kodi compiled Apr 3 2016 by GCC 4.9.2 for Linux ARM (Thumb) 32-bit version 3.16.7 (200711)
18:40:40 67615.812500 T:1957118896 NOTICE: Running on Open Source Media Center 2016.04-2, kernel: Linux ARM 32-bit version 4.4.6-3-osmc
18:40:40 67615.812500 T:1957118896 NOTICE: FFmpeg statically linked, version: 2.8.6-kodi-2.8.6-Jarvis-16.0
18:40:40 67615.812500 T:1957118896 NOTICE: Host CPU: ARMv7 Processor rev 5 (v7l), 4 cores available
18:40:40 67615.812500 T:1957118896 NOTICE: ARM Features: Neon disabled
18:40:40 67615.812500 T:1957118896 NOTICE: special://xbmc/ is mapped to: /usr/share/kodi
18:40:40 67615.812500 T:1957118896 NOTICE: special://xbmcbin/ is mapped to: /usr/lib/kodi
18:40:40 67615.812500 T:1957118896 NOTICE: special://masterprofile/ is mapped to: /home/osmc/.kodi/userdata
18:40:40 67615.812500 T:1957118896 NOTICE: special://home/ is mapped to: /home/osmc/.kodi
18:40:40 67615.812500 T:1957118896 NOTICE: special://temp/ is mapped to: /home/osmc/.kodi/temp
18:40:40 67615.812500 T:1957118896 NOTICE: The executable running is: /usr/lib/kodi/kodi.bin
18:40:40 67615.812500 T:1957118896 NOTICE: Local hostname: osmc
18:40:40 67615.812500 T:1957118896 NOTICE: Log File is located: /home/osmc/.kodi/temp/kodi.log

====================================================================================

I have turned on de-bugging and this is the final lines in the log before reboot.


====================================================================================

8:40:12 67587.742188 T:1730999280 DEBUG: [plugin.video.youtube] Path: "/kodion/search/list/
18:40:12 67587.742188 T:1730999280 DEBUG: [plugin.video.youtube] Params: "{}"
18:40:12 67587.773438 T:1730999280 DEBUG: POParser: loaded 100 strings from file /home/osmc/.kodi/addons/plugin.video.youtube-master/resources/language/English/strings.po
18:40:12 67587.796875 T:1701901296 DEBUG: WaitOnScriptResult- plugin returned successfully
18:40:12 67587.796875 T:1730999280 DEBUG: [plugin.video.youtube] Override view mode to "50"
18:40:12 67587.796875 T:1730999280 DEBUG: [plugin.video.youtube] Shutdown of Kodion
18:40:12 67587.796875 T:1730999280 INFO: CPythonInvoker(10, /home/osmc/.kodi/addons/plugin.video.youtube-master/default.py): script successfully run
18:40:12 67587.812500 T:1730999280 INFO: Python script stopped
18:40:12 67587.812500 T:1730999280 DEBUG: Thread LanguageInvoker 1730999280 terminating
18:40:12 67587.812500 T:1684009968 DEBUG: Thread BackgroundLoader start, auto delete: false
18:40:12 67587.843750 T:1684009968 DEBUG: Thread BackgroundLoader 1684009968 terminating
18:40:12 67587.960938 T:1956623280 DEBUG: ------ Window Deinit (DialogBusy.xml) ------
18:40:15 67590.929688 T:1956623280 DEBUG: Keyboard: scancode: 0x6c, sym: 0x0112, unicode: 0x0000, modifier: 0x0
18:40:15 67590.929688 T:1956623280 DEBUG: OnKey: down (0xf081) pressed, action is Down
18:40:15 67590.937500 T:1623192560 DEBUG: COMXCoreComponent::Initialize OMX.broadcom.image_decode input port 320 output port 321 m_handle 0x74058b00
18:40:15 67590.945312 T:1623192560 DEBUG: COMXCoreComponent::AllocInputBuffers component(OMX.broadcom.image_decode) - port(320), nBufferCountMin(2), nBufferCountActual(2), nBufferSize(81920), nBufferAlignmen(16)
18:40:15 67590.953125 T:1623192560 DEBUG: COMXCoreComponent::Initialize OMX.broadcom.egl_render input port 220 output port 221 m_handle 0x7404c658
18:40:15 67590.953125 T:1623192560 DEBUG: COMXCoreComponent::UseEGLImage component(OMX.broadcom.egl_render) - port(221), nBufferCountMin(1), nBufferCountActual(1), nBufferSize(15360) nBufferAlignmen(16)
18:40:15 67590.968750 T:1623192560 DEBUG: COMXCoreComponent:Big Grineinitialize : OMX.broadcom.image_decode handle 0x74058b00
18:40:15 67590.968750 T:1623192560 DEBUG: COMXCoreComponent:Big Grineinitialize : OMX.broadcom.egl_render handle 0x7404c658
18:40:15 67590.968750 T:1623192560 DEBUG: DecodeJpegToTexture: decoded special://masterprofile/Thumbnails/f/f1837e1e.jpg 256x256
18:40:26 67602.070312 T:1956623280 DEBUG: Keyboard: scancode: 0x1c, sym: 0x000d, unicode: 0x0000, modifier: 0x0
18:40:26 67602.335938 T:1956623280 DEBUG: OnKey: return (0xf00d) pressed, action is Select
18:40:26 67602.335938 T:1956623280 DEBUG: CGUIMediaWindow::GetDirectory (plugin://plugin.video.youtube/kodion/search/input/)
18:40:26 67602.335938 T:1956623280 DEBUG: ParentPath = [plugin://plugin.video.youtube/kodion/search/list/]
18:40:26 67602.335938 T:1701901296 DEBUG: StartScript - calling plugin YouTube('plugin://plugin.video.youtube/kodion/search/input/','3','')
18:40:26 67602.335938 T:1684009968 DEBUG: Thread LanguageInvoker start, auto delete: false
18:40:26 67602.335938 T:1701901296 DEBUG: WaitOnScriptResult - waiting on the YouTube (id=11) plugin...
18:40:26 67602.335938 T:1684009968 INFO: initializing python engine.
18:40:26 67602.335938 T:1684009968 DEBUG: CPythonInvoker(11, /home/osmc/.kodi/addons/plugin.video.youtube-master/default.py): start processing
18:40:26 67602.406250 T:1684009968 DEBUG: -->Python Interpreter Initialized<--
18:40:26 67602.406250 T:1684009968 DEBUG: CPythonInvoker(11, /home/osmc/.kodi/addons/plugin.video.youtube-master/default.py): the source file to load is "/home/osmc/.kodi/addons/plugin.video.youtube-master/default.py"
18:40:26 67602.406250 T:1684009968 DEBUG: CPythonInvoker(11, /home/osmc/.kodi/addons/plugin.video.youtube-master/default.py): setting the Python path to /home/osmc/.kodi/addons/plugin.video.youtube-master:/usr/lib/python2.7:/usr/lib/python2.7/plat-arm-linux-gnueabihf:/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/PILcompat:/usr/lib/python2.7/dist-packages/gtk-2.0
18:40:26 67602.406250 T:1684009968 DEBUG: CPythonInvoker(11, /home/osmc/.kodi/addons/plugin.video.youtube-master/default.py): entering source directory /home/osmc/.kodi/addons/plugin.video.youtube-master
18:40:26 67602.406250 T:1684009968 DEBUG: CPythonInvoker(11, /home/osmc/.kodi/addons/plugin.video.youtube-master/default.py): instantiating addon using automatically obtained id of "plugin.video.youtube" dependent on version 2.1.0 of the xbmc.python api
18:40:27 67602.835938 T:1956623280 DEBUG: ------ Window Init (DialogBusy.xml) ------
18:40:27 67603.390625 T:1684009968 DEBUG: [plugin.video.youtube] Starting Kodion framework by bromix...
18:40:27 67603.507812 T:1684009968 NOTICE: [plugin.video.youtube] Running: YouTube (5.1.18e) on Jarvis (16.1) with Python 2.7.9
18:40:27 67603.507812 T:1684009968 DEBUG: [plugin.video.youtube] Path: "/kodion/search/input/
18:40:27 67603.507812 T:1684009968 DEBUG: [plugin.video.youtube] Params: "{}"
18:40:27 67603.539062 T:1684009968 DEBUG: POParser: loaded 100 strings from file /home/osmc/.kodi/addons/plugin.video.youtube-master/resources/language/English/strings.po
18:40:28 67603.570312 T:1956623280 INFO: Loading skin file: DialogKeyboard.xml, load type: KEEP_IN_MEMORY
18:40:28 67603.671875 T:1956623280 DEBUG: ------ Window Init (DialogKeyboard.xml) ------


====================================================================================

Can anyone help me solve this problem ?

Very best regards

In hope......

Graxam.
Reply
#2
(2016-04-18, 00:22)graxam Wrote: Hi,

My youtube add-on now crashes instantly I select 'New Search.'

I have successfully implemented the changes posted by jdf76 on the keys for the Google project. I am running YouTube video plugin 5.1.20.6.

These chages to YouTube went without error. It hen decided to install the forum browser. During this installation it asked to install a extended kyboard and I said yes to this.

After this installation the youTube add on now crashes instantly the 'New Search ' is clicked.

I have uninstalled the forum browser and the YouTube add on still crashes.

It looks like it is crashing when accessing the keyboard template.

====================================================================================

The build info is :-
18:40:40 67615.812500 T:1957118896 NOTICE: Starting Kodi (16.1-RC3). Platform: Linux ARM (Thumb) 32-bit
18:40:40 67615.812500 T:1957118896 NOTICE: Using Release Kodi x32 build (version for Raspberry Pi)
18:40:40 67615.812500 T:1957118896 NOTICE: Kodi compiled Apr 3 2016 by GCC 4.9.2 for Linux ARM (Thumb) 32-bit version 3.16.7 (200711)
18:40:40 67615.812500 T:1957118896 NOTICE: Running on Open Source Media Center 2016.04-2, kernel: Linux ARM 32-bit version 4.4.6-3-osmc
18:40:40 67615.812500 T:1957118896 NOTICE: FFmpeg statically linked, version: 2.8.6-kodi-2.8.6-Jarvis-16.0
18:40:40 67615.812500 T:1957118896 NOTICE: Host CPU: ARMv7 Processor rev 5 (v7l), 4 cores available
18:40:40 67615.812500 T:1957118896 NOTICE: ARM Features: Neon disabled
18:40:40 67615.812500 T:1957118896 NOTICE: special://xbmc/ is mapped to: /usr/share/kodi
18:40:40 67615.812500 T:1957118896 NOTICE: special://xbmcbin/ is mapped to: /usr/lib/kodi
18:40:40 67615.812500 T:1957118896 NOTICE: special://masterprofile/ is mapped to: /home/osmc/.kodi/userdata
18:40:40 67615.812500 T:1957118896 NOTICE: special://home/ is mapped to: /home/osmc/.kodi
18:40:40 67615.812500 T:1957118896 NOTICE: special://temp/ is mapped to: /home/osmc/.kodi/temp
18:40:40 67615.812500 T:1957118896 NOTICE: The executable running is: /usr/lib/kodi/kodi.bin
18:40:40 67615.812500 T:1957118896 NOTICE: Local hostname: osmc
18:40:40 67615.812500 T:1957118896 NOTICE: Log File is located: /home/osmc/.kodi/temp/kodi.log

====================================================================================

I have turned on de-bugging and this is the final lines in the log before reboot.


====================================================================================

8:40:12 67587.742188 T:1730999280 DEBUG: [plugin.video.youtube] Path: "/kodion/search/list/
18:40:12 67587.742188 T:1730999280 DEBUG: [plugin.video.youtube] Params: "{}"
18:40:12 67587.773438 T:1730999280 DEBUG: POParser: loaded 100 strings from file /home/osmc/.kodi/addons/plugin.video.youtube-master/resources/language/English/strings.po
18:40:12 67587.796875 T:1701901296 DEBUG: WaitOnScriptResult- plugin returned successfully
18:40:12 67587.796875 T:1730999280 DEBUG: [plugin.video.youtube] Override view mode to "50"
18:40:12 67587.796875 T:1730999280 DEBUG: [plugin.video.youtube] Shutdown of Kodion
18:40:12 67587.796875 T:1730999280 INFO: CPythonInvoker(10, /home/osmc/.kodi/addons/plugin.video.youtube-master/default.py): script successfully run
18:40:12 67587.812500 T:1730999280 INFO: Python script stopped

<SNIPPED>

18:40:27 67603.390625 T:1684009968 DEBUG: [plugin.video.youtube] Starting Kodion framework by bromix...
18:40:27 67603.507812 T:1684009968 NOTICE: [plugin.video.youtube] Running: YouTube (5.1.18e) on Jarvis (16.1) with Python 2.7.9
18:40:27 67603.507812 T:1684009968 DEBUG: [plugin.video.youtube] Path: "/kodion/search/input/
18:40:27 67603.507812 T:1684009968 DEBUG: [plugin.video.youtube] Params: "{}"
18:40:27 67603.539062 T:1684009968 DEBUG: POParser: loaded 100 strings from file /home/osmc/.kodi/addons/plugin.video.youtube-master/resources/language/English/strings.po
18:40:28 67603.570312 T:1956623280 INFO: Loading skin file: DialogKeyboard.xml, load type: KEEP_IN_MEMORY
18:40:28 67603.671875 T:1956623280 DEBUG: ------ Window Init (DialogKeyboard.xml) ------


====================================================================================

Can anyone help me solve this problem ?

Very best regards

In hope......

Graxam.

You must have 2 versions of youtube addon installed. You say you are running ver. 5.1.20.6, but you are really running ver. 5.1.18e.
Not sure where you got ver. 5.1.18e from, that version number was never released by anyone who was involved with fixing the addon.
The youtube folder should be named plugin.video.youtube, not plugin.video.youtube-master.

Your partial log is showing:

8:40:12 67587.742188 T:1730999280 DEBUG: [plugin.video.youtube] Path: "/kodion/search/list/
18:40:12 67587.742188 T:1730999280 DEBUG: [plugin.video.youtube] Params: "{}"
18:40:12 67587.773438 T:1730999280 DEBUG: POParser: loaded 100 strings from file /home/osmc/.kodi/addons/plugin.video.youtube-master/resources/language/English/strings.po
18:40:12 67587.796875 T:1701901296 DEBUG: WaitOnScriptResult- plugin returned successfully
18:40:12 67587.796875 T:1730999280 DEBUG: [plugin.video.youtube] Override view mode to "50"
18:40:12 67587.796875 T:1730999280 DEBUG: [plugin.video.youtube] Shutdown of Kodion
18:40:12 67587.796875 T:1730999280 INFO: CPythonInvoker(10, /home/osmc/.kodi/addons/plugin.video.youtube-master/default.py): script successfully run
.
.
.
18:40:27 67603.507812 T:1684009968 NOTICE: [plugin.video.youtube] Running: YouTube (5.1.18e) on Jarvis (16.1) with Python 2.7.9

Remove all folders plugin.video.youtube-master and plugin.video.youtube from /home/osmc/.kodi/addons/ and /home/osmc/.kodi/userdata/addon_data/

Once you remove / delete those folders, install youtube 5.1.20.6 again, you should have only the correct one installed then.
Get the Best of NHK video add-on for Kodi 19 thru 21. Install via my k19-addons repository.
Reply
#3
Hi Misty01,

Thanks for the great reply. I have done as you advised and deleted the install folders. The YouTube plugin crashes in the same way I am afraid.

I am sure that it is to do with the keyboard install that I did with the forum browser. I uninstalled the forum browser when I encountered this problem but the keyboard code could remain ?

I would be very grateful for your further help on this.

btw I was directed to the 5.1.18e by a google search and it was from the github repository of raspberryrabbit.

Best regards

Graxam
Reply
#4
Forum browser addon is maintained by Team Kodi member ruuk. Here's the github page.

You can try (Kodi 15.x and above) System > Settings > Add-ons > System > then look at the dependencies and see if you find anything with keyboard and uninstall it.

If you don't see anything, hopefully ruuk can tell you how to remove it. Short of that the only thing I can think of is wipe everything and do a fresh install of Kodi.

Good luck.
Get the Best of NHK video add-on for Kodi 19 thru 21. Install via my k19-addons repository.
Reply
#5
Problem Solved - Thanks to misty01 and ruuk. The Keyboard mod creates a backup of the keyboard interaction file. Rename this file which is caled DialogKeyboard.xml.FBbackup to the live version DialogKeyboard.xml and the problem is solved.

Best regards

and Thanks everyone

graxam
Reply

Logout Mark Read Team Forum Stats Members Help
Help - YouTube crashes when Search is selected0