2015-01-13, 02:42
(2015-01-13, 00:16)pkiff Wrote:(2015-01-12, 22:44)corona Wrote: Sorry I haven't been on here for a bit, had a busy holiday season and then lost a drive in my server.Sorry to hear about the lost drive. Hope you had a good holiday. Thanks for all your continued work on this add-on.
(2015-01-12, 22:44)corona Wrote: But in more relevant news I finally got my updates tested enough to push to the repo, so it should be offering 1.3.9 now!Mmmm..I had this working on Gotham (XBMC 13.2) under Windows 7 x64 running 1.3.8 accessing Netflix Canada, but since the update to 1.3.9, I've been getting "script" errors. There was no option to roll back to the previous version. I tried fiddling with a couple things including completely reinstalling NetfliXBMC, but am still getting the error.
To be clear, then, I'm able to open up the NetfliXBMC add-on and I can even browse lists, and movies and seasons of tv shows, but the script error comes when I try to play something. I can also edit the add-on settings fine without creating a script error.
I'm trying to read the log file to see what is going on, but am not very familiar with XBMC or Add-ons, or Chrome Launcher, or anything else yet. I seem to be having a zip file problem? Or an invoking File from Netflix problem. I was thinking of manually reverting to 1.3.8 to see if that fixes the problem, and I will try that later tonight.
Here is a snippet of one sample log with debug enabled:
Code:10:17:24 T:704 DEBUG: CApplication::ProcessMouse: trying mouse action leftclick
10:17:24 T:704 DEBUG: CGUIMediaWindow::GetDirectory (plugin://plugin.video.netflixbmc/?mode=playVideoMain&name=Moon&thumb=C%3a%5cXBMC%5cportable_data%5cuserdata%5caddon_data%5cplugin.video.netflixbmc%5ccache%5ccovers%5c70112500.jpg&url=70112500)
10:17:24 T:704 DEBUG: ParentPath = [plugin://plugin.video.netflixbmc/?mode=listVideos&thumb&type=movie&url=https%3a%2f%2fwww.netflix.com%2fMyList%3fleid%3d595%26link%3dseeall]
10:17:24 T:2212 DEBUG: XFILE::CPluginDirectory::StartScript - calling plugin NetfliXBMC('plugin://plugin.video.netflixbmc/','12','?mode=playVideoMain&name=Moon&thumb=C%3a%5cXBMC%5cportable_data%5cuserdata%5caddon_data%5cplugin.video.netflixbmc%5ccache%5ccovers%5c70112500.jpg&url=70112500')
10:17:24 T:2212 DEBUG: XFILE::CPluginDirectory::WaitOnScriptResult - waiting on the NetfliXBMC (id=21) plugin...
10:17:24 T:2988 NOTICE: Thread LanguageInvoker start, auto delete: false
10:17:24 T:2988 INFO: initializing python engine.
10:17:24 T:2988 DEBUG: CPythonInvoker(21, C:\XBMC\portable_data\addons\plugin.video.netflixbmc\default.py): start processing
10:17:24 T:2988 NOTICE: -->Python Interpreter Initialized<--
10:17:24 T:2988 DEBUG: CPythonInvoker(21, C:\XBMC\portable_data\addons\plugin.video.netflixbmc\default.py): the source file to load is "C:\XBMC\portable_data\addons\plugin.video.netflixbmc\default.py"
10:17:24 T:2988 DEBUG: CPythonInvoker(21, C:\XBMC\portable_data\addons\plugin.video.netflixbmc\default.py): setting the Python path to C:\XBMC\portable_data\addons\plugin.video.netflixbmc;C:\XBMC\portable_data\addons\script.module.pyamf\lib;C:\XBMC\portable_data\addons\script.module.t0mm0.common\lib;C:\XBMC\portable_data\addons\script.module.simplejson\lib;C:\XBMC\portable_data\addons\script.module.httplib2\lib;C:\XBMC\addons\script.module.pil\lib;C:\XBMC\portable_data\addons\script.common.plugin.cache\lib;C:\XBMC\portable_data\addons\script.module.simple.downloader\lib;C:\XBMC\portable_data\addons\script.module.requests\lib;C:\XBMC\portable_data\addons\script.grab.fanart\default.py;C:\XBMC\addons\xbmc.debug\;C:\XBMC\portable_data\addons\script.module.parsedom\lib;C:\XBMC\portable_data\addons\script.module.oauth2\lib;C:\XBMC\system\python\DLLs;C:\XBMC\system\python\Lib;C:\XBMC\python27.zip;C:\XBMC\system\python\lib\plat-win;C:\XBMC\system\python\lib\lib-tk;C:\XBMC;C:\XBMC\system\python;C:\XBMC\system\python\lib\site-packages
10:17:24 T:2988 DEBUG: CPythonInvoker(21, C:\XBMC\portable_data\addons\plugin.video.netflixbmc\default.py): entering source directory C:\XBMC\portable_data\addons\plugin.video.netflixbmc
10:17:24 T:2988 DEBUG: CPythonInvoker(21, C:\XBMC\portable_data\addons\plugin.video.netflixbmc\default.py): instantiating addon using automatically obtained id of "plugin.video.netflixbmc" dependent on version 2.1.0 of the xbmc.python api
10:17:24 T:704 DEBUG: ------ Window Init (DialogBusy.xml) ------
10:17:24 T:2988 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <class 'zipfile.BadZipfile'>
Error Contents: Truncated central directory
Traceback (most recent call last):
File "C:\XBMC\portable_data\addons\plugin.video.netflixbmc\default.py", line 1089, in <module>
playVideoMain(url)
File "C:\XBMC\portable_data\addons\plugin.video.netflixbmc\default.py", line 638, in playVideoMain
launchChrome(url)
File "C:\XBMC\portable_data\addons\plugin.video.netflixbmc\default.py", line 657, in launchChrome
z = zipfile.ZipFile(zf)
File "C:\XBMC\system\python\Lib\zipfile.py", line 766, in __init__
self._RealGetContents()
File "C:\XBMC\system\python\Lib\zipfile.py", line 832, in _RealGetContents
raise BadZipfile("Truncated central directory")
BadZipfile: Truncated central directory
-->End of Python script error report<--
10:17:24 T:704 DEBUG: ------ Window Init (DialogKaiToast.xml) ------
10:17:24 T:2988 INFO: Python script stopped
10:17:24 T:2988 DEBUG: Thread LanguageInvoker 2988 terminating
10:17:24 T:2212 DEBUG: XFILE::CPluginDirectory::WaitOnScriptResult - plugin exited prematurely - terminating
10:17:24 T:704 ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.video.netflixbmc/?mode=playVideoMain&name=Moon&thumb=C%3a%5cXBMC%5cportable_data%5cuserdata%5caddon_data%5cplugin.video.netflixbmc%5ccache%5ccovers%5c70112500.jpg&url=70112500
10:17:24 T:704 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.netflixbmc/?mode=playVideoMain&name=Moon&thumb=C%3a%5cXBMC%5cportable_data%5cuserdata%5caddon_data%5cplugin.video.netflixbmc%5ccache%5ccovers%5c70112500.jpg&url=70112500) failed
10:17:24 T:704 DEBUG: CGUIMediaWindow::GetDirectory (plugin://plugin.video.netflixbmc/?mode=listVideos&thumb&type=movie&url=https%3a%2f%2fwww.netflix.com%2fMyList%3fleid%3d595%26link%3dseeall)
10:17:24 T:704 DEBUG: ParentPath = [plugin://plugin.video.netflixbmc/]
10:17:24 T:704 DEBUG: Loading items: 14, directory: plugin://plugin.video.netflixbmc/?mode=listVideos&thumb&type=movie&url=https%3a%2f%2fwww.netflix.com%2fMyList%3fleid%3d595%26link%3dseeall sort method: 0, ascending: false
Any suggestions?
Sorry I broke it on you!
It appears something went bad in the download of the chrome user-data-dir zipfile, and it's happened to others as well. Until I figure out how to fix it automatically, you can replace the zipfile yourself:
find your kodi userdata dir
<userdata>/addons/plugin.video.netflixbmc/resources there should be a chrome-user-data.zip about 2.7MB with an md5 of e9496b19d32e8e35d259cf405dda268b
try replacing it with a fresh copy from http://www.alelec.net/kodi/repo/plugin.v...r-data.zip
(2015-01-13, 01:51)ronsonol8 Wrote: Hi thanks for this great plugin. Three issues. In both 13.2 and 14.0.Could you tell me exactly what you've been changing manually? I'm not certain what you mean.
1. Need language option in settings...otherwise not working when using an unblock proxy. I need to change from en-CA to en-US, which I have had to manually do in settings file of the user addon folder.
(2015-01-13, 01:51)ronsonol8 Wrote: 2. Since 1.3.9 cannot use chrome. IE Works. Error log below. Clean install, and clearing settings does not help.This appears the same issue as the previous post, a bad download on the zipfile. Please try replacing the file as I listed in my last reply,
(2015-01-13, 01:51)ronsonol8 Wrote: 3. I realize this is not simply a plugin issue but I think my unblock proxy disables sslv3 use, since the poodle vuln. Session management seems not to support tls as an option. I have tried using the web browsers to access over https and it works fine. Chrome and IE both support tls.
In addition, I have tried another unblock proxy that i used a week trial account and it works without issue in your plugin - i suspect down to the fact they still support sslv3.
Thanks for investigating this, a few others have run into this ssl issue.
I'll look into disabling sslv3 in requests, we're not the first to want to do it: http://bugs.python.org/issue22638