Posts: 173
Joined: Dec 2017
Reputation:
13
C.O.D.
Senior Member
Posts: 173
2022-02-27, 11:15
(This post was last modified: 2022-02-27, 11:16 by C.O.D..)
It's working again for me without doing anything...
Manjaro Linux @ minisforum UM690S / KODI 'Nexus'
Posts: 32
Joined: Nov 2009
Reputation:
1
This app creator is the greatest! The no subscription issue has been fixed! Thank you!
Posts: 2
Joined: Mar 2022
Reputation:
0
I have the following issue while trying to connect to the youtube addon (from log file 'kodi.log'):
ERROR <general>: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <class 'ValueError'>
Error Contents: source code string cannot contain null bytes
Traceback (most recent call last):
File "/home/osmc/.kodi/addons/plugin.video.youtube/resources/lib/default.py", line 11, in <module>
from youtube_plugin.kodion import runner
File "/home/osmc/.kodi/addons/plugin.video.youtube/resources/lib/youtube_plugin/kodion/__init__.py", line 18, in <module>
from .abstract_provider import AbstractProvider
File "/home/osmc/.kodi/addons/plugin.video.youtube/resources/lib/youtube_plugin/kodion/abstract_provider.py", line 18, in <module>
from . import items
File "/home/osmc/.kodi/addons/plugin.video.youtube/resources/lib/youtube_plugin/kodion/items/__init__.py", line 22, in <module>
from .next_page_item import NextPageItem
ValueError: source code string cannot contain null bytes
-->End of Python script error report<--
Any idea ?
Posts: 2
Joined: Mar 2022
Reputation:
0
After enable debugging log:
2022-03-07 22:02:09.010 T:3438 DEBUG <CWebserver[80]>: request received for /jsonrpc?Application.GetProperties
2022-03-07 22:02:09.023 T:3311 DEBUG <CWebserver[80]>: Skipped 1 duplicate messages..
2022-03-07 22:02:09.023 T:3311 DEBUG <CWebserver[80]>: request received for /jsonrpc?Player.GetActivePlayers
2022-03-07 22:02:09.699 T:3743 DEBUG <CWebserver[80]>: Skipped 1 duplicate messages..
2022-03-07 22:02:09.699 T:3743 DEBUG <CWebserver[80]>: request received for /jsonrpc
2022-03-07 22:02:09.743 T:431 DEBUG <general>: Skipped 1 duplicate messages..
2022-03-07 22:02:09.743 T:431 DEBUG <general>: Activating window ID: 10025
2022-03-07 22:02:09.984 T:431 DEBUG <general>: ------ Window Deinit (MyVideoNav.xml) ------
2022-03-07 22:02:09.985 T:431 DEBUG <general>: FreeVisualisation() done
2022-03-07 22:02:09.999 T:3309 DEBUG <CWebserver[80]>: Skipped 3 duplicate messages..
2022-03-07 22:02:09.999 T:3309 DEBUG <CWebserver[80]>: request received for /jsonrpc?JSONRPC.Ping
2022-03-07 22:02:10.010 T:431 DEBUG <general>: Skipped 1 duplicate messages..
2022-03-07 22:02:10.010 T:431 DEBUG <general>: ------ Window Init (MyVideoNav.xml) ------
2022-03-07 22:02:10.012 T:431 DEBUG <general>: [Warning] CGUITextureManager::GetTexturePath: could not find texture 'noop'
2022-03-07 22:02:10.015 T:3322 DEBUG <CWebserver[80]>: request received for /jsonrpc?Application.GetProperties
2022-03-07 22:02:10.028 T:3308 DEBUG <CWebserver[80]>: Skipped 1 duplicate messages..
2022-03-07 22:02:10.028 T:3308 DEBUG <CWebserver[80]>: request received for /jsonrpc?Player.GetActivePlayers
2022-03-07 22:02:10.037 T:431 ERROR <general>: Skipped 1 duplicate messages..
2022-03-07 22:02:10.037 T:431 ERROR <general>: Control 50 in window 10025 has been asked to focus, but it can't
2022-03-07 22:02:10.042 T:431 DEBUG <general>: started alarm with name: windowdialogfocus
2022-03-07 22:02:10.077 T:431 DEBUG <general>: CGUIMediaWindow::GetDirectory (plugin://plugin.video.youtube/)
2022-03-07 22:02:10.077 T:431 DEBUG <general>: ParentPath = [plugin://plugin.video.youtube/]
2022-03-07 22:02:10.077 T:3745 DEBUG <general>: Thread JobWorker start, auto delete: true
2022-03-07 22:02:10.078 T:3746 DEBUG <general>: Thread waiting start, auto delete: false
2022-03-07 22:02:10.140 T:3745 DEBUG <general>: CAddonDatabase::SetLastUsed[plugin.video.youtube] took 63 ms
2022-03-07 22:02:10.140 T:3746 DEBUG <general>: StartScript - calling plugin YouTube('plugin://plugin.video.youtube/','16','','resume:false')
2022-03-07 22:02:10.140 T:3747 DEBUG <general>: Thread JobWorker start, auto delete: true
2022-03-07 22:02:10.141 T:3748 DEBUG <general>: Thread LanguageInvoker start, auto delete: false
2022-03-07 22:02:10.141 T:3748 INFO <general>: initializing python engine.
2022-03-07 22:02:10.141 T:3748 DEBUG <general>: CPythonInvoker(22, /home/osmc/.kodi/addons/plugin.video.youtube/resources/lib/default.py): start processing
2022-03-07 22:02:10.178 T:431 DEBUG <general>: ------ Window Init (DialogBusy.xml) ------
2022-03-07 22:02:10.393 T:3748 DEBUG <general>: -->Python Interpreter Initialized<--
2022-03-07 22:02:10.393 T:3748 DEBUG <general>:
2022-03-07 22:02:10.393 T:3748 DEBUG <general>: CPythonInvoker(22, /home/osmc/.kodi/addons/plugin.video.youtube/resources/lib/default.py): the source file to load is "/home/osmc/.kodi/addons/plugin.video.you
tube/resources/lib/default.py"
2022-03-07 22:02:10.393 T:3748 DEBUG <general>: CPythonInvoker(22, /home/osmc/.kodi/addons/plugin.video.youtube/resources/lib/default.py): setting the Python path to /home/osmc/.kodi/addons/plugin.video.yout
ube/resources/lib:/home/osmc/.kodi/addons/script.module.certifi/lib:/home/osmc/.kodi/addons/script.module.chardet/lib:/home/osmc/.kodi/addons/script.module.idna/lib:/home/osmc/.kodi/addons/script.module.request
s/lib:/home/osmc/.kodi/addons/script.module.six/lib:/home/osmc/.kodi/addons/script.module.urllib3/lib:/:/usr/lib/python37.zip:/usr/lib/python3.7:/usr/lib/python3.7/lib-dynload:/usr/local/lib/python3.7/dist-pack
ages:/usr/lib/python3/dist-packages
2022-03-07 22:02:10.394 T:3748 DEBUG <general>: CPythonInvoker(22, /home/osmc/.kodi/addons/plugin.video.youtube/resources/lib/default.py): entering source directory /home/osmc/.kodi/addons/plugin.video.youtu
be/resources/lib
2022-03-07 22:02:10.394 T:3748 DEBUG <general>: CPythonInvoker(22, /home/osmc/.kodi/addons/plugin.video.youtube/resources/lib/default.py): instantiating addon using automatically obtained id of "plugin.video
.youtube" dependent on version 3.0.0 of the xbmc.python api
2022-03-07 22:02:10.587 T:3749 DEBUG <CWebserver[80]>: request received for /jsonrpc
2022-03-07 22:02:11.005 T:3438 DEBUG <CWebserver[80]>: Skipped 3 duplicate messages..
2022-03-07 22:02:11.005 T:3438 DEBUG <CWebserver[80]>: request received for /jsonrpc?JSONRPC.Ping
2022-03-07 22:02:11.030 T:3308 DEBUG <CWebserver[80]>: Skipped 2 duplicate messages..
2022-03-07 22:02:11.030 T:3308 DEBUG <CWebserver[80]>: request received for /jsonrpc?Application.GetProperties
2022-03-07 22:02:11.051 T:3322 DEBUG <CWebserver[80]>: Skipped 2 duplicate messages..
2022-03-07 22:02:11.051 T:3322 DEBUG <CWebserver[80]>: request received for /jsonrpc?Player.GetActivePlayers
2022-03-07 22:02:11.221 T:3748 ERROR <general>: Skipped 2 duplicate messages..
2022-03-07 22:02:11.221 T:3748 ERROR <general>: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <class 'ValueError'>
Error Contents: source code string cannot contain null bytes
Traceback (most recent call last):
File "/home/osmc/.kodi/addons/plugin.video.youtube/resources/lib/default.py", line 11, in <module>
from youtube_plugin.kodion import runner
File "/home/osmc/.kodi/addons/plugin.video.youtube/resources/lib/youtube_plugin/kodion/__init__.py", line 18, in <module>
from .abstract_provider import AbstractProvider
File "/home/osmc/.kodi/addons/plugin.video.youtube/resources/lib/youtube_plugin/kodion/abstract_provider.py", line 18, in <module>
from . import items
File "/home/osmc/.kodi/addons/plugin.video.youtube/resources/lib/youtube_plugin/kodion/items/__init__.py", line 22, in <module>
from .next_page_item import NextPageItem
ValueError: source code string cannot contain null bytes
-->End of Python script error report<--
2022-03-07 22:02:11.221 T:3748 DEBUG <general>: onExecutionDone(22, /home/osmc/.kodi/addons/plugin.video.youtube/resources/lib/default.py)
2022-03-07 22:02:11.228 T:431 DEBUG <general>: ------ Window Init (DialogNotification.xml) ------
2022-03-07 22:02:11.352 T:3748 INFO <general>: Python interpreter stopped
2022-03-07 22:02:11.352 T:3748 DEBUG <general>: Thread LanguageInvoker 1508618432 terminating
2022-03-07 22:02:11.368 T:3746 ERROR <general>: GetDirectory - Error getting plugin://plugin.video.youtube/
2022-03-07 22:02:11.368 T:3746 DEBUG <general>: Thread waiting 1369411776 terminating
2022-03-07 22:02:11.376 T:431 DEBUG <general>: ------ Window Deinit (DialogBusy.xml) ------
2022-03-07 22:02:11.377 T:431 ERROR <general>: CGUIMediaWindow::GetDirectory(plugin://plugin.video.youtube/) failed
2022-03-07 22:02:11.377 T:431 DEBUG <general>: CGUIMediaWindow::GetDirectory ()
2022-03-07 22:02:11.377 T:431 DEBUG <general>: ParentPath = [plugin://plugin.video.youtube/]
2022-03-07 22:02:11.389 T:3751 DEBUG <general>: Thread waiting start, auto delete: false
2022-03-07 22:02:11.391 T:3751 DEBUG <general>: Thread waiting 1369411776 terminating
2022-03-07 22:02:11.393 T:3752 DEBUG <general>: Thread BackgroundLoader start, auto delete: false
2022-03-07 22:02:11.404 T:3752 DEBUG <general>: Thread BackgroundLoader 1517011136 terminating
2022-03-07 22:02:12.008 T:3438 DEBUG <CWebserver[80]>: request received for /jsonrpc?JSONRPC.Ping
2022-03-07 22:02:12.030 T:3311 DEBUG <CWebserver[80]>: Skipped 2 duplicate messages..
2022-03-07 22:02:12.030 T:3311 DEBUG <CWebserver[80]>: request received for /jsonrpc?Application.GetProperties
2022-03-07 22:02:12.047 T:3309 DEBUG <CWebserver[80]>: Skipped 2 duplicate messages..
2022-03-07 22:02:12.047 T:3309 DEBUG <CWebserver[80]>: request received for /jsonrpc?Player.GetActivePlayers
2022-03-07 22:02:12.833 T:3750 DEBUG <CWebserver[80]>: Skipped 2 duplicate messages..
2022-03-07 22:02:12.833 T:3750 DEBUG <CWebserver[80]>: request received for /jsonrpc
2022-03-07 22:02:13.016 T:3308 DEBUG <CWebserver[80]>: Skipped 3 duplicate messages..