Tolriq / repository.yatse.kodi

Yatse repository for Kodi helper Add-ons.
https://yatse.tv/wiki/yatse-kodi-addon
51 stars 16 forks source link

xbmcout instance has no attribute 'isatty' #4

Closed max-te closed 6 years ago

max-te commented 6 years ago

Calling the script with an url I get

11:21:16.310 T:3272024992   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.AttributeError'>
                                            Error Contents: xbmcout instance has no attribute 'isatty'
                                            Traceback (most recent call last):
                                              File "/storage/.kodi/addons/script.yatse.kodi/default.py", line 23, in <module>
                                                commands[argument['action']](argument)
                                              File "/storage/.kodi/addons/script.yatse.kodi/lib/share.py", line 36, in run
                                                YoutubeDL_resolver = YoutubeDL({'format': 'best'})
                                              File "/storage/.kodi/addons/script.module.youtube.dl/lib/youtube_dl/YoutubeDL.py", line 401, in __init__
                                                'Assuming --restrict-filenames since file system encoding '
                                              File "/storage/.kodi/addons/script.module.youtube.dl/lib/youtube_dl/YoutubeDL.py", line 596, in report_warning
                                                if not self.params.get('no_color') and self._err_file.isatty() and compat_os_name != 'nt':
                                            AttributeError: xbmcout instance has no attribute 'isatty'
                                            -->End of Python script error report<--

on LibreELEC. script.module.youtube.dl has https://github.com/ruuk/script.module.youtube.dl/blob/master/lib/YoutubeDLWrapper.py#L19 for this.

Tolriq commented 6 years ago

Yatse does use the youtube-dl provided by Kodi so the error is something else. I guess adding a noColor param would solve that I just need to be sure but I only have windows here and this things does not trigger for Windows :)

Can you provide full logs with debug activated in the addon so I can have the url causing this to see if it works.

max-te commented 6 years ago

Of course this only happens if urlresolver fails. I was trying to call this script via jsonrpc and sent

[{"jsonrpc":"2.0","method":"Addons.ExecuteAddon","params":["script.yatse.kodi",{"action":"share","type":"unresolvedurl","data":"https://www.youtube.com/watch?v=ZchkP43avXg"}],"id":1}]

i.e. with unencoded url, instead of the proper

[{"jsonrpc":"2.0","method":"Addons.ExecuteAddon","params":["script.yatse.kodi",{"action":"share","type":"unresolvedurl","data":"https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DZchkP43avXg"}],"id":1}]

However this issue could occur, whenever an url unsupported by urlresolver is requested.

Here is the surrounding kodi.log:

15:56:53.429 T:3328177056   DEBUG: CWebServer[80]: request received for /jsonrpc?Addons.ExecuteAddon
15:56:53.439 T:2422178720   DEBUG: Thread LanguageInvoker start, auto delete: false
15:56:53.440 T:2422178720    INFO: initializing python engine.
15:56:53.440 T:2422178720   DEBUG: CPythonInvoker(12, /storage/.kodi/addons/script.yatse.kodi/default.py): start processing
15:56:53.505 T:2422178720   DEBUG: -->Python Interpreter Initialized<--
15:56:53.505 T:2422178720   DEBUG: CPythonInvoker(12, /storage/.kodi/addons/script.yatse.kodi/default.py): the source file to load is "/storage/.kodi/addons/script.yatse.kodi/default.py"
15:56:53.507 T:2422178720   DEBUG: CPythonInvoker(12, /storage/.kodi/addons/script.yatse.kodi/default.py): setting the Python path to /storage/.kodi/addons/script.yatse.kodi:/storage/.kodi/addons/script.module.addon.signals/lib:/storage/.kodi/addons/script.module.certifi/lib:/storage/.kodi/addons/script.module.chardet/lib:/storage/.kodi/addons/script.module.idna/lib:/storage/.kodi/addons/script.module.python.twitch/resources/lib:/storage/.kodi/addons/script.module.requests/lib:/storage/.kodi/addons/script.module.six/lib:/storage/.kodi/addons/script.module.urllib3/lib:/storage/.kodi/addons/script.module.urlresolver.yatse/lib:/storage/.kodi/addons/script.module.youtube.dl/lib:/usr/lib/python27.zip:/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/lib/python2.7/site-packages:/usr/lib/python2.7/site-packages/gtk-2.0
15:56:53.507 T:2422178720   DEBUG: CPythonInvoker(12, /storage/.kodi/addons/script.yatse.kodi/default.py): entering source directory /storage/.kodi/addons/script.yatse.kodi
15:56:53.507 T:2422178720   DEBUG: CPythonInvoker(12, /storage/.kodi/addons/script.yatse.kodi/default.py): instantiating addon using automatically obtained id of "script.yatse.kodi" dependent on version 2.1.0 of the xbmc.python api
15:56:53.902 T:2422178720 WARNING: script.module.python.twitch: API version |V5| is deprecated, update to |Helix| by |2/14/18|
15:56:54.232 T:3311399840   DEBUG: CWebServer[80]: request received for /jsonrpc?JSONRPC.Ping
15:56:54.236 T:3311399840   DEBUG: CWebServer[80]: request received for /jsonrpc?Application.GetProperties
15:56:54.239 T:3311399840   DEBUG: CWebServer[80]: request received for /jsonrpc?Player.GetActivePlayers
15:56:54.521 T:2422178720  NOTICE: URLResolver: Initializing URLResolver version: 4.0.18
15:56:54.523 T:2422178720   DEBUG: URLResolver: Relevant Resolvers: [<class 'urlresolver.plugins.__generic_resolver__.GenericResolver'>, <class 'urlresolver.plugins.thevid.TheVidResolver'>, <class 'urlresolver.plugins.fastplay.FastplayResolver'>, <class 'urlresolver.plugins.toltsd_fel.Toltsd_felResolver'>, <class 'urlresolver.plugins.vidzi.VidziResolver'>, <class 'urlresolver.plugins.streamango.StreamangoResolver'>, <class 'urlresolver.plugins.grifthost.GrifthostResolver'>, <class 'urlresolver.plugins.rpnet.RPnetResolver'>, <class 'urlresolver.plugins.tudou.TudouResolver'>, <class 'urlresolver.plugins.streaminto.StreamintoResolver'>, <class 'urlresolver.plugins.vidup_me.VidUpMeResolver'>, <class 'urlresolver.plugins.watchonline.WatchonlineResolver'>, <class 'urlresolver.plugins.uploadx.UploadXResolver'>, <class 'urlresolver.plugins.premiumize_me.PremiumizeMeResolver'>, <class 'urlresolver.plugins.streamable.StreamableResolver'>, <class 'urlresolver.plugins.movdivx.MovDivxResolver'>, <class 'urlresolver.plugins.vidtodo.VidToDoResolver'>, <class 'urlresolver.plugins.vimeo.VimeoResolver'>, <class 'urlresolver.plugins.rapidgator.RapidgatorResolver'>, <class 'urlresolver.plugins.amazon.AmazonCloudResolver'>, <class 'urlresolver.plugins.watchers.WatchersResolver'>, <class 'urlresolver.plugins.zevera.ZeveraResolver'>, <class 'urlresolver.plugins.simplydebrid.SimplyDebridResolver'>, <class 'urlresolver.plugins.debrid_link.DebridLinkResolver'>, <class 'urlresolver.plugins.trt.trtResolver'>, <class 'urlresolver.plugins.openload.OpenLoadResolver'>, <class 'urlresolver.plugins.vidstore.VidstoreResolver'>, <class 'urlresolver.plugins.streammoe.StreamMoeResolver'>, <class 'urlresolver.plugins.ustream.uStreamResolver'>, <class 'urlresolver.plugins.googlevideo.GoogleResolver'>, <class 'urlresolver.plugins.hugefiles.HugefilesResolver'>, <class 'urlresolver.plugins.vivosx.VivosxResolver'>, <class 'urlresolver.plugins.videoget.VideogetResolver'>, <class 'urlresolver.plugins.filepup.FilePupResolver'>, <class 'urlresolver.plugins.uploadz.UploadzResolver'>, <class 'urlresolver.plugins.videozoo.VideoZooResolver'>, <class 'urlresolver.plugins.vshare.VshareEuResolver'>, <class 'urlresolver.plugins.xvidstage.XvidstageResolver'>, <class 'urlresolver.plugins.vk.VKResolver'>, <class 'urlresolver.plugins.adultswim.AdultSwimResolver'>, <class 'urlresolver.plugins.kingfiles.KingFilesResolver'>, <class 'urlresolver.plugins.waaw.WaawResolver'>, <class 'urlresolver.plugins.vidzella.VidZellaResolver'>, <class 'urlresolver.plugins.nosvideo.NosvideoResolver'>, <class 'urlresolver.plugins.sapo.SapoResolver'>, <class 'urlresolver.plugins.daclips.DaclipsResolver'>, <class 'urlresolver.plugins.videoraj.VideoRajResolver'>, <class 'urlresolver.plugins.promptfile.PromptfileResolver'>, <class 'urlresolver.plugins.ocloud.OcloudResolver'>, <class 'urlresolver.plugins.tubitv.TubiTvResolver'>, <class 'urlresolver.plugins.apnasave.ApnaSaveResolver'>, <class 'urlresolver.plugins.realdebrid.RealDebridResolver'>, <class 'urlresolver.plugins.vidmad.VidMadResolver'>, <class 'urlresolver.plugins.lolzor.LolzorResolver'>, <class 'urlresolver.plugins.mp4stream.Mp4streamResolver'>, <class 'urlresolver.plugins.castamp.CastampResolver'>, <class 'urlresolver.plugins.dailymotion.DailymotionResolver'>, <class 'urlresolver.plugins.flashx.FlashxResolver'>, <class 'urlresolver.plugins.smoozed.SmoozedResolver'>, <class 'urlresolver.plugins.vodlock.VodLockResolver'>, <class 'urlresolver.plugins.mehlizmovies.MehlizMoviesResolver'>, <class 'urlresolver.plugins.streamplay.StreamplayResolver'>, <class 'urlresolver.plugins.alldebrid.AllDebridResolver'>, <class 'urlresolver.plugins.kingvid.KingvidResolver'>, <class 'urlresolver.plugins.youtube.YoutubeResolver'>, <class 'urlresolver.plugins.tunepk.TunePkResolver'>, <class 'urlresolver.plugins.movshare.MovshareResolver'>, <class 'urlresolver.plugins.flixtor.FlixtorResolver'>, <class 'urlresolver.plugins.mailru.MailRuResolver'>, <class 'urlresolver.plugins.hdvid.HDvidResolver'>, <class 'urlresolver.plugins.vidlox.VidloxResolver'>, <class 'urlresolver.plugins.teramixer.TeramixerResolver'>, <class 'urlresolver.plugins.uptobox.UpToBoxResolver'>, <class 'urlresolver.plugins.veoh.VeohResolver'>, <class 'urlresolver.plugins.streamcloud.StreamcloudResolver'>, <class 'urlresolver.plugins.gorillavid.GorillavidResolver'>, <class 'urlresolver.plugins.animeportal.AnimePortalResolver'>, <class 'urlresolver.plugins.tvlogy.TVLogyResolver'>, <class 'urlresolver.plugins.ok.OKResolver'>, <class 'urlresolver.plugins.playwire.PlayWireResolver'>, <class 'urlresolver.plugins.watchpass.WatchpassResolver'>, <class 'urlresolver.plugins.anyfiles.AnyFilesResolver'>, <class 'urlresolver.plugins.twitchtv.TwitchResolver'>, <class 'urlresolver.plugins.thevideo.TheVideoResolver'>, <class 'urlresolver.plugins.cloudy.CloudyResolver'>, <class 'urlresolver.plugins.videa.VideaResolver'>, <class 'urlresolver.plugins.videowood.VideowoodResolver'>, <class 'urlresolver.plugins.vidme.VidMeResolver'>, <class 'urlresolver.plugins.novamov.NovamovResolver'>, <class 'urlresolver.plugins.myviru.MyviRuResolver'>, <class 'urlresolver.plugins.oneload.OneloadResolver'>, <class 'urlresolver.plugins.veeHD.VeeHDResolver'>, <class 'urlresolver.plugins.rutube.RuTubeResolver'>, <class 'urlresolver.plugins.powvideo.PowVideoResolver'>, <class 'urlresolver.plugins.mersalaayitten.MersalaResolver'>, <class 'urlresolver.plugins.goflicker.GoFlickerResolver'>, <class 'urlresolver.plugins.entervideo.EnterVideoResolver'>, <class 'urlresolver.plugins.clicknupload.ClickNUploadResolver'>, <class 'urlresolver.plugins.earnvideos.EarnVideosResolver'>, <class 'urlresolver.plugins.movpod.MovpodResolver'>, <class 'urlresolver.plugins.cda.CdaResolver'>, <class 'urlresolver.plugins.purevid.PureVidResolver'>, <class 'urlresolver.plugins.syfy.SyFyResolver'>, <class 'urlresolver.plugins.facebook.FacebookResolver'>, <class 'urlresolver.plugins.videobee.VideoBeeResolver'>, <class 'urlresolver.plugins.indavideo.IndavideoResolver'>, <class 'urlresolver.plugins.ecostream.EcostreamResolver'>, <class 'urlresolver.plugins.yourupload.YourUploadResolver'>, <class 'urlresolver.plugins.gamovideo.GamoVideoResolver'>, <class 'urlresolver.plugins.videoweed.VideoweedResolver'>, <class 'urlresolver.plugins.speedvid.SpeedVidResolver'>, <class 'urlresolver.plugins.megadebrid.MegaDebridResolver'>, <class 'urlresolver.plugins.datemule.DateMuleResolver'>, <class 'urlresolver.plugins.trollvid.TrollVidResolver'>, <class 'urlresolver.plugins.vidics.VidicsResolver'>, <class 'urlresolver.plugins.uploadaf.UploadAfResolver'>, <class 'urlresolver.plugins.videohut.VideoHutResolver'>, <class 'urlresolver.plugins.vshareeu.VshareEuResolver'>, <class 'urlresolver.plugins.fileweed.FileWeedResolver'>, <class 'urlresolver.plugins.videohost2.VideoHost2Resolver'>, <class 'urlresolver.plugins.cloudmailru.MailRuResolver'>, <class 'urlresolver.plugins.zstream.ZstreamResolver'>, <class 'urlresolver.plugins.weshare.WeShareResolver'>, <class 'urlresolver.plugins.anistream.AniStreamResolver'>, <class 'urlresolver.plugins.mystream.MystreamResolver'>, <class 'urlresolver.plugins.myvidstream.myVidStream'>, <class 'urlresolver.plugins.aliez.AliezResolver'>, <class 'urlresolver.plugins.9xplay.NineXplayResolver'>, <class 'urlresolver.plugins.bitvid.BitvidResolver'>, <class 'urlresolver.plugins.getvi.GetviResolver'>, <class 'urlresolver.plugins.rapidvideocom.RapidVideoComResolver'>, <class 'urlresolver.plugins.divxstage.DivxstageResolver'>, <class 'urlresolver.plugins.megamp4.MegaMP4Resolver'>, <class 'urlresolver.plugins.vidto.VidtoResolver'>, <class 'urlresolver.plugins.vidcrazynet.VidCrazyResolver'>, <class 'urlresolver.plugins.speedvideo.SpeedVideoResolver'>, <class 'urlresolver.plugins.estream.EstreamResolver'>, <class 'urlresolver.plugins.tusfiles.TusfilesResolver'>, <class 'urlresolver.plugins.speedplay.SpeedPlayResolver'>, <class 'urlresolver.plugins.vidoza.VidozaResolver'>, <class 'urlresolver.plugins.goodvideohost.GoodVideoHostResolver'>, <class 'urlresolver.plugins.stagevu.StagevuResolver'>, <class 'urlresolver.plugins.vidup_org.VidUpResolver'>, <class 'urlresolver.plugins.thevideos.TheVideosResolver'>, <class 'urlresolver.plugins.dbmovies.dbMoviesResolver'>, <class 'urlresolver.plugins.mp4upload.Mp4uploadResolver'>, <class 'urlresolver.plugins.playedto.PlayedtoResolver'>, <class 'urlresolver.plugins.clipwatching.ClipWatchingResolver'>, <class 'urlresolver.plugins.usersfiles.UsersFilesResolver'>, <class 'urlresolver.plugins.vidstreaming.VidStreamingResolver'>, <class 'urlresolver.plugins.mycloud.MycloudResolver'>, <class 'urlresolver.plugins.blazefile.BlazefileResolver'>, <class 'urlresolver.plugins.putload.PutLoadResolver'>, <class 'urlresolver.plugins.rapidvideo.RapidVideoResolver'>, <class 'urlresolver.plugins.userscloud.UsersCloudResolver'>, <class 'urlresolver.plugins.spruto.SprutoResolver'>, <class 'urlresolver.plugins.vidhos.vidhosResolver'>, <class 'urlresolver.plugins.videocloud.VideocloudResolver'>, <class 'urlresolver.plugins.playhd.PlayHDResolver'>, <class 'urlresolver.plugins.vidfile.VidFileResolver'>, <class 'urlresolver.plugins.vidabc.VidabcResolver'>, <class 'urlresolver.plugins.vidwatch.VidwatchResolver'>, <class 'urlresolver.plugins.nowvideo.NowvideoResolver'>, <class 'urlresolver.plugins.bestream.SpeedVidResolver'>, <class 'urlresolver.plugins.h265.H265Resolver'>, <class 'urlresolver.plugins.jetload.JetloadResolver'>, <class 'urlresolver.plugins.filez.FilezResolver'>, <class 'urlresolver.plugins.watchvideo.WatchVideoResolver'>, <class 'urlresolver.plugins.downace.DownaceResolver'>, <class 'urlresolver.plugins.streamenet.StreameResolver'>, <class 'urlresolver.plugins.vidbom.VidBomResolver'>, <class 'urlresolver.plugins.play44_net.Play44Resolver'>, <class 'urlresolver.plugins.speedwatch.SpeedWatchResolver'>]
15:56:54.539 T:2422178720   DEBUG: URLResolver: No Settings Update Needed
15:56:54.597 T:3311399840   DEBUG: CWebServer[80]: request received for /jsonrpc?JSONRPC.Ping
15:56:54.600 T:3620393888   DEBUG: Previous line repeats 1 times.
15:56:54.601 T:3620393888   DEBUG: CWebServer[80]: request received for /jsonrpc?Application.GetProperties
15:56:54.601 T:3644060576   DEBUG: CWebServer[80]: request received for /jsonrpc?JSONRPC.Ping
15:56:54.602 T:3311399840   DEBUG: CWebServer[80]: request received for /jsonrpc?Application.GetProperties
15:56:54.602 T:3202610080   DEBUG: CWebServer[80]: request received for /jsonrpc?JSONRPC.Ping
15:56:54.603 T:3644060576   DEBUG: CWebServer[80]: request received for /jsonrpc?Player.GetActivePlayers
15:56:54.604 T:3311399840   DEBUG: CWebServer[80]: request received for /jsonrpc?Application.GetProperties
15:56:54.605 T:3644060576   DEBUG: Previous line repeats 1 times.
15:56:54.605 T:3644060576   DEBUG: CWebServer[80]: request received for /jsonrpc?Player.GetActivePlayers
15:56:55.656 T:2422178720   DEBUG: Previous line repeats 2 times.
15:56:55.656 T:2422178720  NOTICE: [script.yatse.kodi] Starting script version: 1.0.8
15:56:55.657 T:2422178720  NOTICE: [script.yatse.kodi] Parameters: {'action': 'share', 'type': 'unresolvedurl', 'data': 'https://www.youtube.com/watch?v'}
15:56:55.657 T:2422178720  NOTICE: [script.yatse.kodi] Trying to resolve with urlresolver: https://www.youtube.com/watch?v
15:56:55.672 T:2422178720   DEBUG: URLResolver: Relevant Resolvers: [<class 'urlresolver.plugins.youtube.YoutubeResolver'>]
15:56:55.672 T:2422178720   DEBUG: URLResolver: adding resolver to cache: <class 'urlresolver.plugins.youtube.YoutubeResolver'>
15:56:55.678 T:2422178720  NOTICE: [script.yatse.kodi] Trying to resolve with YoutubeDL: https://www.youtube.com/watch?v
15:56:55.683 T:2422178720   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.AttributeError'>
                                            Error Contents: xbmcout instance has no attribute 'isatty'
                                            Traceback (most recent call last):
                                              File "/storage/.kodi/addons/script.yatse.kodi/default.py", line 23, in <module>
                                                commands[argument['action']](argument)
                                              File "/storage/.kodi/addons/script.yatse.kodi/lib/share.py", line 36, in run
                                                YoutubeDL_resolver = YoutubeDL({'format': 'best'})
                                              File "/storage/.kodi/addons/script.module.youtube.dl/lib/youtube_dl/YoutubeDL.py", line 401, in __init__
                                                'Assuming --restrict-filenames since file system encoding '
                                              File "/storage/.kodi/addons/script.module.youtube.dl/lib/youtube_dl/YoutubeDL.py", line 596, in report_warning
                                                if not self.params.get('no_color') and self._err_file.isatty() and compat_os_name != 'nt':
                                            AttributeError: xbmcout instance has no attribute 'isatty'
                                            -->End of Python script error report<--
15:56:55.684 T:4097380352   DEBUG: ------ Window Init (DialogNotification.xml) ------
15:56:56.036 T:2422178720    INFO: Python script stopped
15:56:56.036 T:2422178720   DEBUG: Thread LanguageInvoker 2422178720 terminating
15:57:01.450 T:4097380352   DEBUG: ------ Window Deinit (DialogNotification.xml) ------
15:57:01.764 T:3602903968   DEBUG: Thread JobWorker 3602903968 terminating (autodelete)
15:57:01.764 T:3361731488   DEBUG: Thread JobWorker 3361731488 terminating (autodelete)
15:57:01.809 T:3884970912   DEBUG: Thread JobWorker 3884970912 terminating (autodelete)
15:57:04.237 T:3202610080   DEBUG: CWebServer[80]: request received for /jsonrpc?JSONRPC.Ping
15:57:04.241 T:3202610080   DEBUG: CWebServer[80]: request received for /jsonrpc?Application.GetProperties
15:57:04.245 T:3202610080   DEBUG: CWebServer[80]: request received for /jsonrpc?Player.GetActivePlayers
15:57:04.602 T:3202610080   DEBUG: CWebServer[80]: request received for /jsonrpc?JSONRPC.Ping
Tolriq commented 6 years ago

Ok thanks was able to confirm the option naming :)

Please update the plugin and confirm the error is now properly handled and displayed.

max-te commented 6 years ago

Yes, now youtube-dl is called properly.

16:33:59.629 T:3644060576   DEBUG: CWebServer[80]: request received for /jsonrpc?Addons.ExecuteAddon
16:33:59.664 T:3257258912   DEBUG: Thread LanguageInvoker start, auto delete: false
16:33:59.664 T:3257258912    INFO: initializing python engine.
16:33:59.664 T:3257258912   DEBUG: CPythonInvoker(17, /storage/.kodi/addons/script.yatse.kodi/default.py): start processing
16:33:59.733 T:3257258912   DEBUG: -->Python Interpreter Initialized<--
16:33:59.734 T:3257258912   DEBUG: CPythonInvoker(17, /storage/.kodi/addons/script.yatse.kodi/default.py): the source file to load is "/storage/.kodi/addons/script.yatse.kodi/default.py"
16:33:59.738 T:3257258912   DEBUG: CPythonInvoker(17, /storage/.kodi/addons/script.yatse.kodi/default.py): setting the Python path to /storage/.kodi/addons/script.yatse.kodi:/storage/.kodi/addons/script.module.addon.signals/lib:/storage/.kodi/addons/script.module.certifi/lib:/storage/.kodi/addons/script.module.chardet/lib:/storage/.kodi/addons/script.module.idna/lib:/storage/.kodi/addons/script.module.python.twitch/resources/lib:/storage/.kodi/addons/script.module.requests/lib:/storage/.kodi/addons/script.module.six/lib:/storage/.kodi/addons/script.module.urllib3/lib:/storage/.kodi/addons/script.module.urlresolver.yatse/lib:/storage/.kodi/addons/script.module.youtube.dl/lib:/usr/lib/python27.zip:/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/lib/python2.7/site-packages:/usr/lib/python2.7/site-packages/gtk-2.0
16:33:59.738 T:3257258912   DEBUG: CPythonInvoker(17, /storage/.kodi/addons/script.yatse.kodi/default.py): entering source directory /storage/.kodi/addons/script.yatse.kodi
16:33:59.739 T:3257258912   DEBUG: CPythonInvoker(17, /storage/.kodi/addons/script.yatse.kodi/default.py): instantiating addon using automatically obtained id of "script.yatse.kodi" dependent on version 2.1.0 of the xbmc.python api
16:34:00.188 T:3257258912 WARNING: script.module.python.twitch: API version |V5| is deprecated, update to |Helix| by |2/14/18|
16:34:00.787 T:3257258912  NOTICE: URLResolver: Initializing URLResolver version: 4.0.18
16:34:00.790 T:3257258912   DEBUG: URLResolver: Relevant Resolvers: [<class 'urlresolver.plugins.__generic_resolver__.GenericResolver'>, <class 'urlresolver.plugins.thevid.TheVidResolver'>, <class 'urlresolver.plugins.fastplay.FastplayResolver'>, <class 'urlresolver.plugins.toltsd_fel.Toltsd_felResolver'>, <class 'urlresolver.plugins.vidzi.VidziResolver'>, <class 'urlresolver.plugins.streamango.StreamangoResolver'>, <class 'urlresolver.plugins.grifthost.GrifthostResolver'>, <class 'urlresolver.plugins.rpnet.RPnetResolver'>, <class 'urlresolver.plugins.tudou.TudouResolver'>, <class 'urlresolver.plugins.streaminto.StreamintoResolver'>, <class 'urlresolver.plugins.vidup_me.VidUpMeResolver'>, <class 'urlresolver.plugins.watchonline.WatchonlineResolver'>, <class 'urlresolver.plugins.uploadx.UploadXResolver'>, <class 'urlresolver.plugins.premiumize_me.PremiumizeMeResolver'>, <class 'urlresolver.plugins.streamable.StreamableResolver'>, <class 'urlresolver.plugins.movdivx.MovDivxResolver'>, <class 'urlresolver.plugins.vidtodo.VidToDoResolver'>, <class 'urlresolver.plugins.vimeo.VimeoResolver'>, <class 'urlresolver.plugins.rapidgator.RapidgatorResolver'>, <class 'urlresolver.plugins.amazon.AmazonCloudResolver'>, <class 'urlresolver.plugins.watchers.WatchersResolver'>, <class 'urlresolver.plugins.zevera.ZeveraResolver'>, <class 'urlresolver.plugins.simplydebrid.SimplyDebridResolver'>, <class 'urlresolver.plugins.debrid_link.DebridLinkResolver'>, <class 'urlresolver.plugins.trt.trtResolver'>, <class 'urlresolver.plugins.openload.OpenLoadResolver'>, <class 'urlresolver.plugins.vidstore.VidstoreResolver'>, <class 'urlresolver.plugins.streammoe.StreamMoeResolver'>, <class 'urlresolver.plugins.ustream.uStreamResolver'>, <class 'urlresolver.plugins.googlevideo.GoogleResolver'>, <class 'urlresolver.plugins.hugefiles.HugefilesResolver'>, <class 'urlresolver.plugins.vivosx.VivosxResolver'>, <class 'urlresolver.plugins.videoget.VideogetResolver'>, <class 'urlresolver.plugins.filepup.FilePupResolver'>, <class 'urlresolver.plugins.uploadz.UploadzResolver'>, <class 'urlresolver.plugins.videozoo.VideoZooResolver'>, <class 'urlresolver.plugins.vshare.VshareEuResolver'>, <class 'urlresolver.plugins.xvidstage.XvidstageResolver'>, <class 'urlresolver.plugins.vk.VKResolver'>, <class 'urlresolver.plugins.adultswim.AdultSwimResolver'>, <class 'urlresolver.plugins.kingfiles.KingFilesResolver'>, <class 'urlresolver.plugins.waaw.WaawResolver'>, <class 'urlresolver.plugins.vidzella.VidZellaResolver'>, <class 'urlresolver.plugins.nosvideo.NosvideoResolver'>, <class 'urlresolver.plugins.sapo.SapoResolver'>, <class 'urlresolver.plugins.daclips.DaclipsResolver'>, <class 'urlresolver.plugins.videoraj.VideoRajResolver'>, <class 'urlresolver.plugins.promptfile.PromptfileResolver'>, <class 'urlresolver.plugins.ocloud.OcloudResolver'>, <class 'urlresolver.plugins.tubitv.TubiTvResolver'>, <class 'urlresolver.plugins.apnasave.ApnaSaveResolver'>, <class 'urlresolver.plugins.realdebrid.RealDebridResolver'>, <class 'urlresolver.plugins.vidmad.VidMadResolver'>, <class 'urlresolver.plugins.lolzor.LolzorResolver'>, <class 'urlresolver.plugins.mp4stream.Mp4streamResolver'>, <class 'urlresolver.plugins.castamp.CastampResolver'>, <class 'urlresolver.plugins.dailymotion.DailymotionResolver'>, <class 'urlresolver.plugins.flashx.FlashxResolver'>, <class 'urlresolver.plugins.smoozed.SmoozedResolver'>, <class 'urlresolver.plugins.vodlock.VodLockResolver'>, <class 'urlresolver.plugins.mehlizmovies.MehlizMoviesResolver'>, <class 'urlresolver.plugins.streamplay.StreamplayResolver'>, <class 'urlresolver.plugins.alldebrid.AllDebridResolver'>, <class 'urlresolver.plugins.kingvid.KingvidResolver'>, <class 'urlresolver.plugins.youtube.YoutubeResolver'>, <class 'urlresolver.plugins.tunepk.TunePkResolver'>, <class 'urlresolver.plugins.movshare.MovshareResolver'>, <class 'urlresolver.plugins.flixtor.FlixtorResolver'>, <class 'urlresolver.plugins.mailru.MailRuResolver'>, <class 'urlresolver.plugins.hdvid.HDvidResolver'>, <class 'urlresolver.plugins.vidlox.VidloxResolver'>, <class 'urlresolver.plugins.teramixer.TeramixerResolver'>, <class 'urlresolver.plugins.uptobox.UpToBoxResolver'>, <class 'urlresolver.plugins.veoh.VeohResolver'>, <class 'urlresolver.plugins.streamcloud.StreamcloudResolver'>, <class 'urlresolver.plugins.gorillavid.GorillavidResolver'>, <class 'urlresolver.plugins.animeportal.AnimePortalResolver'>, <class 'urlresolver.plugins.tvlogy.TVLogyResolver'>, <class 'urlresolver.plugins.ok.OKResolver'>, <class 'urlresolver.plugins.playwire.PlayWireResolver'>, <class 'urlresolver.plugins.watchpass.WatchpassResolver'>, <class 'urlresolver.plugins.anyfiles.AnyFilesResolver'>, <class 'urlresolver.plugins.twitchtv.TwitchResolver'>, <class 'urlresolver.plugins.thevideo.TheVideoResolver'>, <class 'urlresolver.plugins.cloudy.CloudyResolver'>, <class 'urlresolver.plugins.videa.VideaResolver'>, <class 'urlresolver.plugins.videowood.VideowoodResolver'>, <class 'urlresolver.plugins.vidme.VidMeResolver'>, <class 'urlresolver.plugins.novamov.NovamovResolver'>, <class 'urlresolver.plugins.myviru.MyviRuResolver'>, <class 'urlresolver.plugins.oneload.OneloadResolver'>, <class 'urlresolver.plugins.veeHD.VeeHDResolver'>, <class 'urlresolver.plugins.rutube.RuTubeResolver'>, <class 'urlresolver.plugins.powvideo.PowVideoResolver'>, <class 'urlresolver.plugins.mersalaayitten.MersalaResolver'>, <class 'urlresolver.plugins.goflicker.GoFlickerResolver'>, <class 'urlresolver.plugins.entervideo.EnterVideoResolver'>, <class 'urlresolver.plugins.clicknupload.ClickNUploadResolver'>, <class 'urlresolver.plugins.earnvideos.EarnVideosResolver'>, <class 'urlresolver.plugins.movpod.MovpodResolver'>, <class 'urlresolver.plugins.cda.CdaResolver'>, <class 'urlresolver.plugins.purevid.PureVidResolver'>, <class 'urlresolver.plugins.syfy.SyFyResolver'>, <class 'urlresolver.plugins.facebook.FacebookResolver'>, <class 'urlresolver.plugins.videobee.VideoBeeResolver'>, <class 'urlresolver.plugins.indavideo.IndavideoResolver'>, <class 'urlresolver.plugins.ecostream.EcostreamResolver'>, <class 'urlresolver.plugins.yourupload.YourUploadResolver'>, <class 'urlresolver.plugins.gamovideo.GamoVideoResolver'>, <class 'urlresolver.plugins.videoweed.VideoweedResolver'>, <class 'urlresolver.plugins.speedvid.SpeedVidResolver'>, <class 'urlresolver.plugins.megadebrid.MegaDebridResolver'>, <class 'urlresolver.plugins.datemule.DateMuleResolver'>, <class 'urlresolver.plugins.trollvid.TrollVidResolver'>, <class 'urlresolver.plugins.vidics.VidicsResolver'>, <class 'urlresolver.plugins.uploadaf.UploadAfResolver'>, <class 'urlresolver.plugins.videohut.VideoHutResolver'>, <class 'urlresolver.plugins.vshareeu.VshareEuResolver'>, <class 'urlresolver.plugins.fileweed.FileWeedResolver'>, <class 'urlresolver.plugins.videohost2.VideoHost2Resolver'>, <class 'urlresolver.plugins.cloudmailru.MailRuResolver'>, <class 'urlresolver.plugins.zstream.ZstreamResolver'>, <class 'urlresolver.plugins.weshare.WeShareResolver'>, <class 'urlresolver.plugins.anistream.AniStreamResolver'>, <class 'urlresolver.plugins.mystream.MystreamResolver'>, <class 'urlresolver.plugins.myvidstream.myVidStream'>, <class 'urlresolver.plugins.aliez.AliezResolver'>, <class 'urlresolver.plugins.9xplay.NineXplayResolver'>, <class 'urlresolver.plugins.bitvid.BitvidResolver'>, <class 'urlresolver.plugins.getvi.GetviResolver'>, <class 'urlresolver.plugins.rapidvideocom.RapidVideoComResolver'>, <class 'urlresolver.plugins.divxstage.DivxstageResolver'>, <class 'urlresolver.plugins.megamp4.MegaMP4Resolver'>, <class 'urlresolver.plugins.vidto.VidtoResolver'>, <class 'urlresolver.plugins.vidcrazynet.VidCrazyResolver'>, <class 'urlresolver.plugins.speedvideo.SpeedVideoResolver'>, <class 'urlresolver.plugins.estream.EstreamResolver'>, <class 'urlresolver.plugins.tusfiles.TusfilesResolver'>, <class 'urlresolver.plugins.speedplay.SpeedPlayResolver'>, <class 'urlresolver.plugins.vidoza.VidozaResolver'>, <class 'urlresolver.plugins.goodvideohost.GoodVideoHostResolver'>, <class 'urlresolver.plugins.stagevu.StagevuResolver'>, <class 'urlresolver.plugins.vidup_org.VidUpResolver'>, <class 'urlresolver.plugins.thevideos.TheVideosResolver'>, <class 'urlresolver.plugins.dbmovies.dbMoviesResolver'>, <class 'urlresolver.plugins.mp4upload.Mp4uploadResolver'>, <class 'urlresolver.plugins.playedto.PlayedtoResolver'>, <class 'urlresolver.plugins.clipwatching.ClipWatchingResolver'>, <class 'urlresolver.plugins.usersfiles.UsersFilesResolver'>, <class 'urlresolver.plugins.vidstreaming.VidStreamingResolver'>, <class 'urlresolver.plugins.mycloud.MycloudResolver'>, <class 'urlresolver.plugins.blazefile.BlazefileResolver'>, <class 'urlresolver.plugins.putload.PutLoadResolver'>, <class 'urlresolver.plugins.rapidvideo.RapidVideoResolver'>, <class 'urlresolver.plugins.userscloud.UsersCloudResolver'>, <class 'urlresolver.plugins.spruto.SprutoResolver'>, <class 'urlresolver.plugins.vidhos.vidhosResolver'>, <class 'urlresolver.plugins.videocloud.VideocloudResolver'>, <class 'urlresolver.plugins.playhd.PlayHDResolver'>, <class 'urlresolver.plugins.vidfile.VidFileResolver'>, <class 'urlresolver.plugins.vidabc.VidabcResolver'>, <class 'urlresolver.plugins.vidwatch.VidwatchResolver'>, <class 'urlresolver.plugins.nowvideo.NowvideoResolver'>, <class 'urlresolver.plugins.bestream.SpeedVidResolver'>, <class 'urlresolver.plugins.h265.H265Resolver'>, <class 'urlresolver.plugins.jetload.JetloadResolver'>, <class 'urlresolver.plugins.filez.FilezResolver'>, <class 'urlresolver.plugins.watchvideo.WatchVideoResolver'>, <class 'urlresolver.plugins.downace.DownaceResolver'>, <class 'urlresolver.plugins.streamenet.StreameResolver'>, <class 'urlresolver.plugins.vidbom.VidBomResolver'>, <class 'urlresolver.plugins.play44_net.Play44Resolver'>, <class 'urlresolver.plugins.speedwatch.SpeedWatchResolver'>]
16:34:00.809 T:3257258912   DEBUG: URLResolver: No Settings Update Needed
16:34:01.821 T:3257258912  NOTICE: [script.yatse.kodi] Starting script version: 1.0.9
16:34:01.821 T:3257258912  NOTICE: [script.yatse.kodi] Parameters: {'action': 'share', 'type': 'unresolvedurl', 'data': 'https://www.youtube.com/watch?v'}
16:34:01.822 T:3257258912  NOTICE: [script.yatse.kodi] Trying to resolve with urlresolver: https://www.youtube.com/watch?v
16:34:01.854 T:3257258912   DEBUG: URLResolver: Relevant Resolvers: [<class 'urlresolver.plugins.youtube.YoutubeResolver'>]
16:34:01.854 T:3257258912   DEBUG: URLResolver: adding resolver to cache: <class 'urlresolver.plugins.youtube.YoutubeResolver'>
16:34:01.860 T:3257258912  NOTICE: [script.yatse.kodi] Trying to resolve with YoutubeDL: https://www.youtube.com/watch?v
16:34:01.861 T:3257258912   ERROR: WARNING: Assuming --restrict-filenames since file system encoding cannot encode all characters. Set the LC_ALL environment variable to fix this.
16:34:01.861 T:3257258912   DEBUG: .
16:34:05.341 T:3644060576   DEBUG: CWebServer[80]: request received for /jsonrpc?JSONRPC.Ping
16:34:05.343 T:3644060576   DEBUG: CWebServer[80]: request received for /jsonrpc?Application.GetProperties
16:34:05.346 T:3644060576   DEBUG: CWebServer[80]: request received for /jsonrpc?Player.GetActivePlayers
16:34:05.720 T:3644060576   DEBUG: CWebServer[80]: request received for /jsonrpc?JSONRPC.Ping
16:34:05.723 T:3644060576   DEBUG: CWebServer[80]: request received for /jsonrpc?Application.GetProperties
16:34:05.723 T:3202610080   DEBUG: CWebServer[80]: request received for /jsonrpc?JSONRPC.Ping
16:34:05.727 T:3620393888   DEBUG: Previous line repeats 2 times.
16:34:05.727 T:3620393888   DEBUG: CWebServer[80]: request received for /jsonrpc?Player.GetActivePlayers
16:34:05.727 T:3644060576   DEBUG: CWebServer[80]: request received for /jsonrpc?Application.GetProperties
16:34:05.731 T:3620393888   DEBUG: Previous line repeats 2 times.
16:34:05.732 T:3620393888   DEBUG: CWebServer[80]: request received for /jsonrpc?Player.GetActivePlayers
16:34:08.471 T:3257258912   DEBUG: Previous line repeats 2 times.
16:34:08.471 T:3257258912   DEBUG: [generic] watch?v: Requesting header
16:34:08.471 T:3257258912   DEBUG: .
16:34:09.511 T:3257258912   DEBUG: [redirect] Following redirect to https://www.youtube.com/
16:34:09.511 T:3257258912   DEBUG: .
16:34:09.553 T:3257258912   DEBUG: [generic] www.youtube: Requesting header
16:34:09.553 T:3257258912   DEBUG: .
16:34:10.235 T:3257258912   ERROR: WARNING: Falling back on generic information extractor.
16:34:10.235 T:3257258912   DEBUG: .
16:34:10.237 T:3257258912   DEBUG: [generic] www.youtube: Downloading webpage
16:34:10.237 T:3257258912   DEBUG: .
16:34:11.119 T:3257258912   DEBUG: [generic] www.youtube: Extracting information
16:34:11.119 T:3257258912   DEBUG: .
16:34:15.344 T:3644060576   DEBUG: CWebServer[80]: request received for /jsonrpc?JSONRPC.Ping
16:34:15.347 T:3644060576   DEBUG: CWebServer[80]: request received for /jsonrpc?Application.GetProperties
16:34:15.350 T:3644060576   DEBUG: CWebServer[80]: request received for /jsonrpc?Player.GetActivePlayers
16:34:15.543 T:3257258912   ERROR: ERROR: Unsupported URL: https://www.youtube.com/
16:34:15.543 T:3257258912   DEBUG: .
16:34:15.543 T:3257258912   ERROR: [script.yatse.kodi] Error with YoutubeDL_resolver: ERROR: Unsupported URL: https://www.youtube.com/
16:34:15.544 T:3257258912   ERROR: [script.yatse.kodi] Url not resolved by YoutubeDL: https://www.youtube.com/watch?v
16:34:15.544 T:3257258912  NOTICE: [script.yatse.kodi] Trying to play as basic url: https://www.youtube.com/watch?v
16:34:15.545 T:3257258912  NOTICE: [script.yatse.kodi] Playing resolved url: https://www.youtube.com/watch?v
16:34:15.545 T:3257258912    INFO: CPythonInvoker(17, /storage/.kodi/addons/script.yatse.kodi/default.py): script successfully run
16:34:15.565 T:3361731488   DEBUG: Thread GUIDialogCache start, auto delete: true
16:34:15.565 T:4097380352    INFO: easy_aquire - Created session to https://www.youtube.com