I'm having problems with this plugin (1.2.6) on XP. Using multi-profile netflix account, the profile selection dialog is empty. Closing it and selecting anything will result in an error. Debugging shows that it's not logged in at the response in the chooseProfile method, despite successfully logging in in the login method. Manually creating a profile file doesn't resolve the issue - netflix responds with 401's due to not being authenticated. Relevant log entries:
00:36:26 T:1484 DEBUG: CApplication::OnKey: return (f00d) pressed, action is Select
00:36:26 T:1484 DEBUG: Clearing cached fileitems [plugin://plugin.video.netflixbmc/]
00:36:26 T:1484 DEBUG: CGUIMediaWindow::GetDirectory (plugin://plugin.video.netflixbmc/)
00:36:26 T:1484 DEBUG: ParentPath = [addons://sources/video/]
00:36:26 T:2924 DEBUG: XFILE::CPluginDirectory::StartScript - calling plugin NetfliXBMC('plugin://plugin.video.netflixbmc/','4','')
00:36:26 T:2924 INFO: initializing python engine.
00:36:26 T:2924 DEBUG: new python thread created. id=11
00:36:26 T:2924 DEBUG: XFILE::CPluginDirectory::WaitOnScriptResult - waiting on the NetfliXBMC (id=11) plugin...
00:36:26 T:2580 NOTICE: Thread XBPyThread start, auto delete: false
00:36:26 T:2580 DEBUG: Python thread: start processing
00:36:26 T:2580 NOTICE: -->Python Interpreter Initialized<--
00:36:26 T:2580 DEBUG: XBPyThread::Process - The source file to load is C:\Documents and Settings\stress\Application Data\XBMC\addons\plugin.video.netflixbmc\default.py
00:36:26 T:2580 DEBUG: XBPyThread::Process - Setting the Python path to C:\Documents and Settings\stress\Application Data\XBMC\addons\plugin.video.netflixbmc;C:\Documents and Settings\stress\Application Data\XBMC\addons\script.module.socksipy\lib;C:\Documents and Settings\stress\Application Data\XBMC\addons\script.module.simplejson\lib;C:\Documents and Settings\stress\Application Data\XBMC\addons\script.module.myconnpy\lib;C:\Documents and Settings\stress\Application Data\XBMC\addons\script.module.beautifulsoup\lib;C:\Program Files\XBMC\addons\script.module.pil\lib;C:\Documents and Settings\stress\Application Data\XBMC\addons\script.common.plugin.cache\lib;C:\Documents and Settings\stress\Application Data\XBMC\addons\script.module.simple.downloader\lib;C:\Documents and Settings\stress\Application Data\XBMC\addons\script.module.buggalo\lib;C:\Program Files\XBMC\addons\xbmc.debug\;C:\Documents and Settings\stress\Application Data\XBMC\addons\script.module.parsedom\lib;C:\Documents and Settings\stress\Application Data\XBMC\addons\script.module.xbmcswift2\lib;C:\Documents and Settings\stress\Application Data\XBMC\addons\script.module.requests2\lib;C:\Documents and Settings\stress\Application Data\XBMC\addons\script.module.elementtree\lib;C:\Program Files\XBMC\addons\script.module.pysqlite\lib;C:\Program Files\XBMC\system\python\DLLs;C:\Program Files\XBMC\system\python\Lib;C:\Program Files\XBMC\python26.zip;C:\Program Files\XBMC\system\python\lib\plat-win;C:\Program Files\XBMC\system\python\lib\lib-tk;C:\Program Files\XBMC;C:\Program Files\XBMC\system\python;C:\Program Files\XBMC\system\python\lib\site-packages;
00:36:26 T:2580 DEBUG: XBPyThread::Process - Entering source directory C:\Documents and Settings\stress\Application Data\XBMC\addons\plugin.video.netflixbmc
00:36:26 T:2580 DEBUG: Instantiating addon using automatically obtained id of "plugin.video.netflixbmc" dependent on version 2.1.0 of the xbmc.python api
00:36:26 T:1484 DEBUG: ------ Window Init (DialogBusy.xml) ------
00:36:29 T:2580 DEBUG: LocalizeStrings: no strings.po file exist at C:\Documents and Settings\stress\Application Data\XBMC\addons\plugin.video.netflixbmc\resources\language\english, fallback to strings.xml
00:36:29 T:1484 DEBUG: ------ Window Init (DialogSelect.xml) ------
00:36:29 T:1484 ERROR: Control 3 in window 12000 has been asked to focus, but it can't
00:36:31 T:1484 DEBUG: Keyboard: scancode: 01, sym: 001b, unicode: 001b, modifier: 0
00:36:31 T:1484 DEBUG: CApplication::OnKey: escape (f01b) pressed, action is PreviousMenu
00:36:31 T:1484 ERROR: Control 3 in window 12000 has been asked to focus, but it can't
00:36:31 T:1484 DEBUG: ------ Window Deinit (DialogSelect.xml) ------
00:36:31 T:2580 INFO: Scriptresult: Success
00:36:31 T:2924 DEBUG: XFILE::CPluginDirectory::WaitOnScriptResult- plugin returned successfully
00:36:31 T:1484 DEBUG: Saving fileitems [plugin://plugin.video.netflixbmc/]
00:36:31 T:1484 DEBUG: -- items: 9, sort method: 0, ascending: false
00:36:31 T:2580 INFO: Python script stopped
00:36:31 T:2580 DEBUG: Thread XBPyThread 2580 terminating
00:36:31 T:2700 NOTICE: Thread Background Loader start, auto delete: false
00:36:31 T:1484 DEBUG: waiting for python thread 11 (C:\Documents and Settings\stress\Application Data\XBMC\addons\plugin.video.netflixbmc\default.py) to stop
00:36:31 T:1484 DEBUG: python thread 11 (C:\Documents and Settings\stress\Application Data\XBMC\addons\plugin.video.netflixbmc\default.py) destructed
00:36:31 T:2700 DEBUG: Thread Background Loader 2700 terminating
00:36:31 T:1484 DEBUG: ------ Window Deinit (DialogBusy.xml) ------
00:36:32 T:1484 DEBUG: Keyboard: scancode: 50, sym: 0112, unicode: 0000, modifier: 0
00:36:32 T:1484 DEBUG: CApplication::OnKey: down (f081) pressed, action is Down
00:36:32 T:1484 DEBUG: Keyboard: scancode: 1c, sym: 000d, unicode: 000d, modifier: 0
00:36:32 T:1484 DEBUG: CApplication::OnKey: return (f00d) pressed, action is Select
00:36:32 T:1484 DEBUG: CGUIMediaWindow::GetDirectory (plugin://plugin.video.netflixbmc/?mode=listVideos&thumb&url=http%3a%2f%2fmovies.netflix.com%2fMyList%3fleid%3d595%26link%3dseeall)
00:36:32 T:1484 DEBUG: ParentPath = [plugin://plugin.video.netflixbmc/]
00:36:32 T:2924 DEBUG: XFILE::CPluginDirectory::StartScript - calling plugin NetfliXBMC('plugin://plugin.video.netflixbmc/','5','?mode=listVideos&thumb&url=http%3a%2f%2fmovies.netflix.com%2fMyList%3fleid%3d595%26link%3dseeall')
00:36:32 T:2924 INFO: initializing python engine.
00:36:32 T:2924 DEBUG: new python thread created. id=12
00:36:32 T:2924 DEBUG: XFILE::CPluginDirectory::WaitOnScriptResult - waiting on the NetfliXBMC (id=12) plugin...
00:36:32 T:2684 NOTICE: Thread XBPyThread start, auto delete: false
00:36:32 T:2684 DEBUG: Python thread: start processing
00:36:32 T:2684 NOTICE: -->Python Interpreter Initialized<--
00:36:32 T:2684 DEBUG: XBPyThread::Process - The source file to load is C:\Documents and Settings\stress\Application Data\XBMC\addons\plugin.video.netflixbmc\default.py
00:36:32 T:2684 DEBUG: XBPyThread::Process - Setting the Python path to C:\Documents and Settings\stress\Application Data\XBMC\addons\plugin.video.netflixbmc;C:\Documents and Settings\stress\Application Data\XBMC\addons\script.module.socksipy\lib;C:\Documents and Settings\stress\Application Data\XBMC\addons\script.module.simplejson\lib;C:\Documents and Settings\stress\Application Data\XBMC\addons\script.module.myconnpy\lib;C:\Documents and Settings\stress\Application Data\XBMC\addons\script.module.beautifulsoup\lib;C:\Program Files\XBMC\addons\script.module.pil\lib;C:\Documents and Settings\stress\Application Data\XBMC\addons\script.common.plugin.cache\lib;C:\Documents and Settings\stress\Application Data\XBMC\addons\script.module.simple.downloader\lib;C:\Documents and Settings\stress\Application Data\XBMC\addons\script.module.buggalo\lib;C:\Program Files\XBMC\addons\xbmc.debug\;C:\Documents and Settings\stress\Application Data\XBMC\addons\script.module.parsedom\lib;C:\Documents and Settings\stress\Application Data\XBMC\addons\script.module.xbmcswift2\lib;C:\Documents and Settings\stress\Application Data\XBMC\addons\script.module.requests2\lib;C:\Documents and Settings\stress\Application Data\XBMC\addons\script.module.elementtree\lib;C:\Program Files\XBMC\addons\script.module.pysqlite\lib;C:\Program Files\XBMC\system\python\DLLs;C:\Program Files\XBMC\system\python\Lib;C:\Program Files\XBMC\python26.zip;C:\Program Files\XBMC\system\python\lib\plat-win;C:\Program Files\XBMC\system\python\lib\lib-tk;C:\Program Files\XBMC;C:\Program Files\XBMC\system\python;C:\Program Files\XBMC\system\python\lib\site-packages;
00:36:32 T:2684 DEBUG: XBPyThread::Process - Entering source directory C:\Documents and Settings\stress\Application Data\XBMC\addons\plugin.video.netflixbmc
00:36:32 T:2684 DEBUG: Instantiating addon using automatically obtained id of "plugin.video.netflixbmc" dependent on version 2.1.0 of the xbmc.python api
00:36:33 T:1484 DEBUG: ------ Window Init (DialogBusy.xml) ------
00:36:33 T:2684 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.IOError'>
Error Contents: (2, 'No such file or directory', 'C:\\Documents and Settings\\stress\\Application Data\\XBMC\\userdata\\addon_data\\plugin.video.netflixbmc\\profile')
Traceback (most recent call last):
File "C:\Documents and Settings\stress\Application Data\XBMC\addons\plugin.video.netflixbmc\default.py", line 832, in <module>
listVideos(url)
File "C:\Documents and Settings\stress\Application Data\XBMC\addons\plugin.video.netflixbmc\default.py", line 119, in listVideos
setProfile()
File "C:\Documents and Settings\stress\Application Data\XBMC\addons\plugin.video.netflixbmc\default.py", line 519, in setProfile
fh = open(profileFile, 'r')
IOError: (2, 'No such file or directory', 'C:\\Documents and Settings\\stress\\Application Data\\XBMC\\userdata\\addon_data\\plugin.video.netflixbmc\\profile')
-->End of Python script error report<--
00:36:33 T:1484 DEBUG: ------ Window Init (DialogKaiToast.xml) ------
00:36:33 T:2684 INFO: Python script stopped
00:36:33 T:2684 DEBUG: Thread XBPyThread 2684 terminating
00:36:33 T:2924 DEBUG: XFILE::CPluginDirectory::WaitOnScriptResult - plugin exited prematurely - terminating
00:36:33 T:1484 ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.video.netflixbmc/?mode=listVideos&thumb&url=http%3a%2f%2fmovies.netflix.com%2fMyList%3fleid%3d595%26link%3dseeall
00:36:33 T:1484 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.netflixbmc/?mode=listVideos&thumb&url=http%3a%2f%2fmovies.netflix.com%2fMyList%3fleid%3d595%26link%3dseeall) failed
00:36:33 T:1484 DEBUG: CGUIMediaWindow::GetDirectory (plugin://plugin.video.netflixbmc/)
00:36:33 T:1484 DEBUG: ParentPath = [addons://sources/video/]
00:36:33 T:1484 DEBUG: Loading fileitems [plugin://plugin.video.netflixbmc/]
00:36:33 T:1484 DEBUG: -- items: 9, directory: plugin://plugin.video.netflixbmc/ sort method: 0, ascending: false
00:36:33 T:2704 NOTICE: Thread Background Loader start, auto delete: false
00:36:33 T:1484 DEBUG: waiting for python thread 12 (C:\Documents and Settings\stress\Application Data\XBMC\addons\plugin.video.netflixbmc\default.py) to stop
00:36:33 T:1484 DEBUG: python thread 12 (C:\Documents and Settings\stress\Application Data\XBMC\addons\plugin.video.netflixbmc\default.py) destructed
00:36:33 T:2704 DEBUG: Thread Background Loader 2704 terminating
Running on the same version of Frodo on Win 7 results in no problems - works first time.
I'm having problems with this plugin (1.2.6) on XP. Using multi-profile netflix account, the profile selection dialog is empty. Closing it and selecting anything will result in an error. Debugging shows that it's not logged in at the response in the chooseProfile method, despite successfully logging in in the login method. Manually creating a profile file doesn't resolve the issue - netflix responds with 401's due to not being authenticated. Relevant log entries:
Running on the same version of Frodo on Win 7 results in no problems - works first time.