2016-08-14, 14:14
All,
-khan academy pluggin version 2.5.0 is not working on Kodi 16
-I see configuration button is not active in Add-on information.
-When trying to open, I get message - check log for error.
-I have already removed and re-installed it.
-I can download http://www.khanacademy.org/api/v1/topictree using curl. it is 55M file. May it be cause of MemoryError issue ?
>>> I am getting following error in /home/osmc/.kodi/temp/kodi.log.
19:55:06 5238.114746 T:3024384560 ERROR: GetDirectory - Error getting plugin://plugin.video.khanacademy/
19:55:06 5238.119629 T:3024384560 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.khanacademy/) failed
19:56:25 5316.996582 T:2706109424 NOTICE: ES: Client from 192.168.0.103 timed out
>> Enabled debug at -Sun Aug 14 21:08:33 SGT 2016
>> Started Khan Academy and got below error
21:10:32 446.752319 T:3024159664 ERROR: GetDirectory - Error getting plugin://plugin.video.khanacademy/
>> After this error, disabled debug logging.
*** full kodi.log is at ***
http://paste.debian.net/789354/
>> Manual run fails:
$ python
>>> import khan.py
>>> khan.load_topic_tree()
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "khan.py", line 86, in load_topic_tree
_json = requests.get(API_URL).json()
File "/usr/lib/python2.7/dist-packages/requests/models.py", line 786, in json
return json.loads(self.content.decode(encoding), **kwargs)
File "/usr/lib/python2.7/encodings/utf_8.py", line 16, in decode
return codecs.utf_8_decode(input, errors, True)
MemoryError
I have created 256M swap on file on my Raspberry Pi and run it again. This time it was killed !
>>> khan.load_topic_tree()
Killed
$
During this time, swzp was used heavily.
root@osmc:/# vmstat 1
procs -----------memory---------- ---swap-- -----io---- -system-- ------cpu-----
r b swpd free buff cache si so bi bo in cs us sy id wa st
4 0 12 20064 1012 155100 0 0 67 136 821 1108 19 5 67 8 0
3 0 12 23032 1004 146552 0 0 596 0 4905 696 37 62 1 0 0
3 0 20 21860 1004 142240 0 8 0 8 4992 715 39 61 0 0 0
3 0 20 20004 1004 137976 0 0 0 0 5184 731 46 54 0 0 0
2 0 20 22488 992 129776 0 0 0 0 5034 714 39 61 0 0 0
2 0 20 20520 992 125896 0 0 0 0 5047 688 46 54 0 0 0
4 0 20 22440 984 118176 0 0 0 0 5049 690 42 58 0 0 0
1 0 20 23000 972 69700 0 0 0 0 3369 678 48 52 0 0 0
3 0 20 19292 940 31412 0 0 24 0 629 619 64 35 0 1 0
14 14 21188 12248 76 5220 0 21116 3060 21124 1830 2253 12 15 0 73 0
2 16 34208 12244 76 5956 0 13012 736 13012 596 1049 5 13 0 82 0
1 17 40720 12280 76 6472 0 6508 1024 6508 535 734 2 8 0 90 0
0 16 44292 12232 76 6252 0 3572 0 3572 535 695 3 3 0 93 0
18 14 47320 12468 76 6252 0 3032 0 3032 518 557 0 5 0 95 0
0 16 51892 12236 76 6492 0 4568 944 4568 536 794 4 5 0 90 0
0 16 54108 12280 76 6244 0 2216 0 2216 515 587 3 4 0 92 0
0 16 57332 12280 76 6244 0 3224 0 3224 523 536 17 4 0 80 0
0 17 72336 13388 76 6276 0 15068 32 15068 583 765 7 13 0 80 0
0 16 72336 12848 76 7072 0 0 796 0 593 767 0 1 0 99 0
0 16 72336 12848 76 7072 0 0 0 0 584 729 13 1 0 87 0
0 16 72336 12848 76 7072 0 0 0 0 595 749 0 2 0 98 0
0 15 84544 12240 76 8124 32 12208 4552 12208 598 818 15 17 0 68 0
0 15 87656 14160 76 8124 0 3112 0 3112 588 687 17 3 0 80 0
1 15 88956 15480 76 8124 0 1300 0 1300 576 671 22 2 0 77 0
1 15 93776 17940 76 8124 0 4820 0 4820 596 735 2 9 0 89 0
0 15 94292 20040 76 8124 0 516 0 516 576 708 2 2 0 96 0
0 16 97372 21808 76 8252 0 3080 128 3080 581 720 0 7 0 93 0
0 15 97408 21208 76 9632 32 36 1412 36 596 799 0 2 0 98 0
1 14 99732 23728 76 9632 0 2320 0 2320 587 732 5 4 0 90 0
0 15 101612 25648 76 9632 0 1884 0 1884 585 728 19 3 0 78 0
1 16 101612 25648 76 9672 0 0 40 0 578 728 21 2 0 77 0
-khan academy pluggin version 2.5.0 is not working on Kodi 16
-I see configuration button is not active in Add-on information.
-When trying to open, I get message - check log for error.
-I have already removed and re-installed it.
-I can download http://www.khanacademy.org/api/v1/topictree using curl. it is 55M file. May it be cause of MemoryError issue ?
>>> I am getting following error in /home/osmc/.kodi/temp/kodi.log.
19:55:06 5238.114746 T:3024384560 ERROR: GetDirectory - Error getting plugin://plugin.video.khanacademy/
19:55:06 5238.119629 T:3024384560 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.khanacademy/) failed
19:56:25 5316.996582 T:2706109424 NOTICE: ES: Client from 192.168.0.103 timed out
>> Enabled debug at -Sun Aug 14 21:08:33 SGT 2016
>> Started Khan Academy and got below error
21:10:32 446.752319 T:3024159664 ERROR: GetDirectory - Error getting plugin://plugin.video.khanacademy/
>> After this error, disabled debug logging.
*** full kodi.log is at ***
http://paste.debian.net/789354/
>> Manual run fails:
$ python
>>> import khan.py
>>> khan.load_topic_tree()
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "khan.py", line 86, in load_topic_tree
_json = requests.get(API_URL).json()
File "/usr/lib/python2.7/dist-packages/requests/models.py", line 786, in json
return json.loads(self.content.decode(encoding), **kwargs)
File "/usr/lib/python2.7/encodings/utf_8.py", line 16, in decode
return codecs.utf_8_decode(input, errors, True)
MemoryError
I have created 256M swap on file on my Raspberry Pi and run it again. This time it was killed !
>>> khan.load_topic_tree()
Killed
$
During this time, swzp was used heavily.
root@osmc:/# vmstat 1
procs -----------memory---------- ---swap-- -----io---- -system-- ------cpu-----
r b swpd free buff cache si so bi bo in cs us sy id wa st
4 0 12 20064 1012 155100 0 0 67 136 821 1108 19 5 67 8 0
3 0 12 23032 1004 146552 0 0 596 0 4905 696 37 62 1 0 0
3 0 20 21860 1004 142240 0 8 0 8 4992 715 39 61 0 0 0
3 0 20 20004 1004 137976 0 0 0 0 5184 731 46 54 0 0 0
2 0 20 22488 992 129776 0 0 0 0 5034 714 39 61 0 0 0
2 0 20 20520 992 125896 0 0 0 0 5047 688 46 54 0 0 0
4 0 20 22440 984 118176 0 0 0 0 5049 690 42 58 0 0 0
1 0 20 23000 972 69700 0 0 0 0 3369 678 48 52 0 0 0
3 0 20 19292 940 31412 0 0 24 0 629 619 64 35 0 1 0
14 14 21188 12248 76 5220 0 21116 3060 21124 1830 2253 12 15 0 73 0
2 16 34208 12244 76 5956 0 13012 736 13012 596 1049 5 13 0 82 0
1 17 40720 12280 76 6472 0 6508 1024 6508 535 734 2 8 0 90 0
0 16 44292 12232 76 6252 0 3572 0 3572 535 695 3 3 0 93 0
18 14 47320 12468 76 6252 0 3032 0 3032 518 557 0 5 0 95 0
0 16 51892 12236 76 6492 0 4568 944 4568 536 794 4 5 0 90 0
0 16 54108 12280 76 6244 0 2216 0 2216 515 587 3 4 0 92 0
0 16 57332 12280 76 6244 0 3224 0 3224 523 536 17 4 0 80 0
0 17 72336 13388 76 6276 0 15068 32 15068 583 765 7 13 0 80 0
0 16 72336 12848 76 7072 0 0 796 0 593 767 0 1 0 99 0
0 16 72336 12848 76 7072 0 0 0 0 584 729 13 1 0 87 0
0 16 72336 12848 76 7072 0 0 0 0 595 749 0 2 0 98 0
0 15 84544 12240 76 8124 32 12208 4552 12208 598 818 15 17 0 68 0
0 15 87656 14160 76 8124 0 3112 0 3112 588 687 17 3 0 80 0
1 15 88956 15480 76 8124 0 1300 0 1300 576 671 22 2 0 77 0
1 15 93776 17940 76 8124 0 4820 0 4820 596 735 2 9 0 89 0
0 15 94292 20040 76 8124 0 516 0 516 576 708 2 2 0 96 0
0 16 97372 21808 76 8252 0 3080 128 3080 581 720 0 7 0 93 0
0 15 97408 21208 76 9632 32 36 1412 36 596 799 0 2 0 98 0
1 14 99732 23728 76 9632 0 2320 0 2320 587 732 5 4 0 90 0
0 15 101612 25648 76 9632 0 1884 0 1884 585 728 19 3 0 78 0
1 16 101612 25648 76 9672 0 0 40 0 578 728 21 2 0 77 0