Kolifanes / plugin.video.youtube

YouTube for Kodi with API fixed
GNU General Public License v2.0
119 stars 44 forks source link

Unknown kind '' error #44

Closed EifX closed 8 years ago

EifX commented 8 years ago

Hi,

I have a problem with your plugin on my Raspberry Pi 2 with OpenElec 6.0.3. It's a very mysterious error and I hope I describe it well.

The plugin was installed cleanly (no folder 'plugin.video.youtube' in addon_data). I log me in with the youtube.com/activate-thing. The plugin works very well. Someday (I cannot reproduce when), I get an error-message, when I want to watch my subscriptions:

Exception in ContentProvider: Unknown kind ''

Here the log-entry:

08:07:14 31.521519 T:1574437952 NOTICE: -->Python Interpreter Initialized<-- 08:07:15 32.042309 T:1574437952 NOTICE: [plugin.video.youtube] Running: YouTube (5.2.1) on Isengard (15.2) with Python 2.7.3 08:07:15 32.189186 T:1574437952 ERROR: [plugin.video.youtube] Unknown kind '' 08:07:28 44.929531 T:1967505408 ERROR: GetDirectory - Error getting plugin://plugin.video.youtube/subscriptions/list/ 08:07:28 44.931992 T:1967505408 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.youtube/subscriptions/list/) failed 08:07:28 44.947025 T:1574437952 NOTICE: Thread BackgroundLoader start, auto delete: false 08:07:29 45.714966 T:1574437952 NOTICE: Thread LanguageInvoker start, auto delete: false

If this error-message appear, I try it a few times again and suddenly it works... After this message, this exception doesn't appear again.

If I close the plugin and want to use it again, the same message appears again. Now, I have to try it a few times more (more then the first time) and it suddenly works...

If I retry this scenario again, it's now unpossible to skip this error message by try it again and again. If I restart the Rasperry Pi, I have the problem, which I described in Issue #42

After I deleted the addon_data-files, I can use the plugin again.

jdf76 commented 8 years ago

Hello.

The "Exception in ContentProvider: Unknown kind ‘’” and the “Quota exceeded” issue is a well known and documented API usage issue with Youtube itself. Please visit http://forum.kodi.tv/showthread.php?tid=267160 to get some help with that.

Thanks Jeff

On Jun 20, 2016, at 9:46 AM, Alexander Eifler notifications@github.com wrote:

Hi,

I have a problem with your plugin on my Raspberry Pi 2 with OpenElec 6.0.3. It's a very mysterious error and I hope I describe it well.

The plugin was installed cleanly (no folder 'plugin.video.youtube' in addon_data). I log me in with the youtube.com/activate-thing. The plugin works very well. Someday (I cannot reproduce when), I get an error-message, when I want to watch my subscriptions:

Exception in ContentProvider: Unknown kind ''

Here the log-entry:

08:07:14 31.521519 T:1574437952 NOTICE: -->Python Interpreter Initialized<-- 08:07:15 32.042309 T:1574437952 NOTICE: [plugin.video.youtube] Running: YouTube (5.2.1) on Isengard (15.2) with Python 2.7.3 08:07:15 32.189186 T:1574437952 ERROR: [plugin.video.youtube] Unknown kind '' 08:07:28 44.929531 T:1967505408 ERROR: GetDirectory - Error getting plugin://plugin.video.youtube/subscriptions/list/ 08:07:28 44.931992 T:1967505408 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.youtube/subscriptions/list/) failed 08:07:28 44.947025 T:1574437952 NOTICE: Thread BackgroundLoader start, auto delete: false 08:07:29 45.714966 T:1574437952 NOTICE: Thread LanguageInvoker start, auto delete: false

If this error-message appear, I try it a few times again and suddenly it works... After this message, this exception doesn't appear again.

If I close the plugin and want to use it again, the same message appears again. Now, I have to try it a few times more (more then the first time) and it suddenly works...

If I retry this scenario again, it's now unpossible to skip this error message by try it again and again. If I restart the Rasperry Pi, I have the problem, which I described in Issue #42 https://github.com/Kolifanes/plugin.video.youtube/issues/42 After I deleted the addon_data-files, I can use the plugin again.

Here another log: I have tried 3 times to see my subscriptions. The fourth try worked...

08:07:09 25.836578 T:1574437952 NOTICE: -->Python Interpreter Initialized<-- 08:07:09 26.508667 T:1574437952 NOTICE: [plugin.video.youtube] Running: YouTube (5.2.1) on Isengard (15.2) with Python 2.7.3 08:07:10 26.803078 T:1561326656 NOTICE: Thread BackgroundLoader start, auto delete: false 08:07:14 31.391760 T:1574437952 NOTICE: Thread LanguageInvoker start, auto delete: false 08:07:14 31.521519 T:1574437952 NOTICE: -->Python Interpreter Initialized<-- 08:07:15 32.042309 T:1574437952 NOTICE: [plugin.video.youtube] Running: YouTube (5.2.1) on Isengard (15.2) with Python 2.7.3 08:07:15 32.189186 T:1574437952 ERROR: [plugin.video.youtube] Unknown kind '' 08:07:28 44.929531 T:1967505408 ERROR: GetDirectory - Error getting plugin://plugin.video.youtube/subscriptions/list/ 08:07:28 44.931992 T:1967505408 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.youtube/subscriptions/list/) failed 08:07:28 44.947025 T:1574437952 NOTICE: Thread BackgroundLoader start, auto delete: false 08:07:29 45.714966 T:1574437952 NOTICE: Thread LanguageInvoker start, auto delete: false 08:07:29 45.848537 T:1574437952 NOTICE: -->Python Interpreter Initialized<-- 08:07:29 46.384354 T:1574437952 NOTICE: [plugin.video.youtube] Running: YouTube (5.2.1) on Isengard (15.2) with Python 2.7.3 08:07:29 46.536137 T:1574437952 ERROR: [plugin.video.youtube] Unknown kind '' 08:07:31 47.786839 T:1967505408 ERROR: GetDirectory - Error getting plugin://plugin.video.youtube/subscriptions/list/ 08:07:31 47.789349 T:1967505408 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.youtube/subscriptions/list/) failed 08:07:31 47.804153 T:1574437952 NOTICE: Thread BackgroundLoader start, auto delete: false 08:07:32 48.988510 T:1574437952 NOTICE: Thread LanguageInvoker start, auto delete: false 08:07:32 49.122089 T:1574437952 NOTICE: -->Python Interpreter Initialized<-- 08:07:32 49.646175 T:1574437952 NOTICE: [plugin.video.youtube] Running: YouTube (5.2.1) on Isengard (15.2) with Python 2.7.3 08:07:33 49.800831 T:1574437952 ERROR: [plugin.video.youtube] Unknown kind '' 08:07:34 51.420921 T:1967505408 ERROR: GetDirectory - Error getting plugin://plugin.video.youtube/subscriptions/list/ 08:07:34 51.423519 T:1967505408 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.youtube/subscriptions/list/) failed 08:07:34 51.437222 T:1574437952 NOTICE: Thread BackgroundLoader start, auto delete: false 08:07:35 52.019619 T:1574437952 NOTICE: Thread LanguageInvoker start, auto delete: false 08:07:35 52.150227 T:1574437952 NOTICE: -->Python Interpreter Initialized<-- 08:07:35 52.690777 T:1574437952 NOTICE: [plugin.video.youtube] Running: YouTube (5.2.1) on Isengard (15.2) with Python 2.7.3 08:07:36 53.153004 T:1561326656 NOTICE: Thread BackgroundLoader start, auto delete: false 08:07:44 61.388229 T:1574437952 NOTICE: Thread LanguageInvoker start, auto delete: false 08:07:44 61.518272 T:1574437952 NOTICE: -->Python Interpreter Initialized<-- 08:07:45 62.035053 T:1574437952 NOTICE: [plugin.video.youtube] Running: YouTube (5.2.1) on Isengard (15.2) with Python 2.7.3 08:07:45 62.216499 T:1561326656 NOTICE: Thread BackgroundLoader start, auto delete: false 08:07:47 64.237190 T:1574437952 NOTICE: Thread LanguageInvoker start, auto delete: false 08:07:47 64.404205 T:1574437952 NOTICE: -->Python Interpreter Initialized<-- 08:07:48 64.919907 T:1574437952 NOTICE: [plugin.video.youtube] Running: YouTube (5.2.1) on Isengard (15.2) with Python 2.7.3 08:07:48 65.101234 T:1967505408 ERROR: GetDirectory - Error getting plugin://plugin.video.youtube/channel/UCliUkiN1dnL-xuhAEhqAGfg/playlists/ 08:07:48 65.104660 T:1967505408 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.youtube/channel/UCliUkiN1dnL-xuhAEhqAGfg/playlists/) failed 08:07:48 65.107910 T:1561326656 NOTICE: Thread LanguageInvoker start, auto delete: false 08:07:48 65.330681 T:1561326656 NOTICE: -->Python Interpreter Initialized<-- 08:07:48 65.620529 T:1574437952 NOTICE: Thread LanguageInvoker start, auto delete: false 08:07:49 66.113129 T:1574437952 NOTICE: -->Python Interpreter Initialized<-- 08:07:49 66.683029 T:1561326656 NOTICE: [plugin.video.youtube] Running: YouTube (5.2.1) on Isengard (15.2) with Python 2.7.3 08:07:50 66.986183 T:1561326656 NOTICE: Previous line repeats 1 times. 08:07:50 66.986443 T:1561326656 NOTICE: Thread BackgroundLoader start, auto delete: false 08:08:02 79.048409 T:1574437952 NOTICE: Previous line repeats 3 times. 08:08:02 79.048630 T:1574437952 NOTICE: Thread LanguageInvoker start, auto delete: false 08:08:02 79.106750 T:1967505408 ERROR: Control 50 in window 10025 has been asked to focus, but it can't

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Kolifanes/plugin.video.youtube/issues/44, or mute the thread https://github.com/notifications/unsubscribe/ALozLZ1wrQ_z8cODmrG_Unu32fV0-mEIks5qNpmcgaJpZM4I5tqX.

EifX commented 8 years ago

Hi,

thanks for this answer. Hmm, that's really a problem with the quota-thingy.

This error-message appears only on my raspberry pi, but not on my laptop (Kodi 15.2 / Ubuntu 16.04). Can you explain me the difference?

It's ok for me, if youtube don't work for a day or so. It's irritating for me, that my login-credentials will be missed after this problem appears. I have to reset the whole installation. Can you improve this?

jdf76 commented 8 years ago

Raspberry Pi uses OpenElec or some variant. Their version is probably different reported to youtube plugin. The API codes are different per each version of kodi.

Honestly if you want to control your own Youtube API calls, set up that API key

Here is the link to get the instructions.

http://forum.kodi.tv/showthread.php?tid=267160&pid=2299963#pid2299963

Jeff

On Jun 20, 2016, at 10:58 AM, Alexander Eifler notifications@github.com wrote:

Hi,

thanks for this answer. Hmm, that's really a problem with the quota-thingy.

This error-message appears only on my raspberry pi, but not on my laptop (Kodi 15.2 / Ubuntu 16.04). Can you explain me the difference?

It's ok for me, if youtube don't work for a day or so. It's irritating for me, that my login-credentials will be missed after this problem appears. I have to reset the whole installation. Can you improve this?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Kolifanes/plugin.video.youtube/issues/44#issuecomment-227167679, or mute the thread https://github.com/notifications/unsubscribe/ALozLYv3SuAoJsaOYyMPfhnkBi1XVyMIks5qNqqLgaJpZM4I5tqX.

EifX commented 8 years ago

Ok, thanks! Maybe a notice or something in the Readme.md helps to point on this solution. :wink: