[RELEASE] NetfliXBMC - Unofficial Netflix Add-on (Win/OSX/Linux) - Thread 2
Hi,

Really nice Work on this addon. However I've been struggling with a problem appearing when I want to list my viewing activity. Each time I try to do this, I get a script error. I've tried to reset the app, and clean cache and cookies, no luck.

After a clean start, the specific behaviour is as follows:
Enter NetfliXBMC, C
hoose movies OK.
Choosing "Viewing Activity"
Window appears informing that NetfilXBMC is loading metadata.
When percentage reach approx 20%, the Scripterror appears and the loading metadata Windows is closed.

System details:
Kodi 14.0 running on Windows 8.1 Pro
Localization: Denmark, Danish

The interesting part of the logfile is below:

11:23:18 T:7204 DEBUG: ------ Window Init (DialogProgress.xml) ------
11:23:18 T:7204 INFO: Loading skin file: DialogProgress.xml, load type: KEEP_IN_MEMORY
11:23:18 T:7204 NOTICE: URL: https://www.netflix.com/WiViewingActivity
11:23:18 T:1776 DEBUG: ------ Window Init (DialogBusy.xml) ------
11:23:18 T:7620 DEBUG: XFILE::CPluginDirectory::WaitOnScriptResult - waiting on the NetfliXBMC (id=7) plugin...
11:23:18 T:7204 ERROR: C:\Users\vv7\AppData\Roaming\Kodi\addons\script.module.requests\lib\requests\packages\urllib3\connectionpool.py:730: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.org/en/latest/security.html (This warning will only appear once by default.)
InsecureRequestWarning)
11:23:19 T:7204 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.UnicodeDecodeError'>
Error Contents: 'ascii' codec can't decode byte 0xc3 in position 12: ordinal not in range(128)
Traceback (most recent call last):
File "C:\Users\vv7\AppData\Roaming\Kodi\addons\plugin.video.netflixbmc\default.py", line 1103, in <module>
listViewingActivity(type)
File "C:\Users\vv7\AppData\Roaming\Kodi\addons\plugin.video.netflixbmc\default.py", line 484, in listViewingActivity
added = listVideo(videoID, title, "", True, False, type)
File "C:\Users\vv7\AppData\Roaming\Kodi\addons\plugin.video.netflixbmc\default.py", line 371, in listVideo
title = htmlParser.unescape(title)
File "C:\Program Files (x86)\Kodi\system\python\Lib\HTMLParser.py", line 475, in unescape
return re.sub(r"&(#?[xX]?(?:[0-9a-fA-F]+|\w{1,8}));", replaceEntities, s)
File "C:\Program Files (x86)\Kodi\system\python\Lib\re.py", line 151, in sub
return _compile(pattern, flags).sub(repl, string, count)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 12: ordinal not in range(128)
-->End of Python script error report<--
11:23:19 T:1776 DEBUG: ------ Window Init (DialogKaiToast.xml) ------
11:23:19 T:7204 INFO: Python script stopped
11:23:19 T:7204 DEBUG: Thread LanguageInvoker 7204 terminating
11:23:19 T:7620 DEBUG: XFILE::CPluginDirectory::WaitOnScriptResult - plugin exited prematurely - terminating
11:23:19 T:1776 ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.video.netflixbmc/?mode=listViewingActivity&thumb&type=movie&url
11:23:19 T:1776 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.netflixbmc/?mode=listViewingActivity&thumb&type=movie&url) failed
11:23:19 T:1776 DEBUG: CGUIMediaWindow::GetDirectory (plugin://plugin.video.netflixbmc/?mode=main&thumb&type=movie&url)

Seems like the first error is previously reported. I am not sure if this is the showstopper however, as the medata loading appears.

Do you have any clues on what might be the problem?

Many thanks and regards,
René
Reply


Messages In This Thread
Who's Watching is empty? - by RiverBend - 2015-01-08, 18:55
RE: [RELEASE] NetfliXBMC - Unofficial Netflix Add-on (Win/OSX/Linux) - Thread 2 - by renebk - 2015-01-31, 12:47
Full-screen mode - by oakertood - 2015-03-29, 01:08
25% - by Mattlock - 2015-07-06, 03:56
Additional/Original Browser Option? - by durv - 2015-09-07, 05:07
[RELEASE] NetfliXBMC - EMPTY LISTS - by Nibar - 2015-12-08, 03:38
Logout Mark Read Team Forum Stats Members Help
[RELEASE] NetfliXBMC - Unofficial Netflix Add-on (Win/OSX/Linux) - Thread 217