Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error on starting: Quota limit exceeded, please wait and retry #13

Closed
sdaubert opened this issue May 9, 2021 · 16 comments
Closed

Error on starting: Quota limit exceeded, please wait and retry #13

sdaubert opened this issue May 9, 2021 · 16 comments
Assignees
Labels
Reproduce Needs to be reproduced

Comments

@sdaubert
Copy link

sdaubert commented May 9, 2021

Describe the bug

I have just installed DeezerKodi 0.2.1, entered my creds (checked twice) and got this error: Quota limit exceeded, please wait and retry

Environment (optional if log file provided) :

  • OS: OSMC
  • Kodi version: 18.9

Files

Here an extract from my log file:

2021-05-09 16:08:46.603 T:1565520096 WARNING: DeezerKodi: Failed to get token from file, trying API request instead
2021-05-09 16:09:53.138 T:1565520096   ERROR: DeezerKodi: Cannot get token from API
2021-05-09 16:09:58.406 T:1442832608   ERROR: GetDirectory - Error getting plugin://plugin.audio.deezer/
2021-05-09 16:09:58.406 T:1916621744   ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.audio.deezer/) failed
2021-05-09 16:10:01.733 T:1281327328 WARNING: DeezerKodi: Failed to get token from file, trying API request instead
2021-05-09 16:10:01.936 T:1281327328   ERROR: DeezerKodi: Cannot get token from API
2021-05-09 16:10:10.211 T:1565520096   ERROR: GetDirectory - Error getting plugin://plugin.audio.deezer/
2021-05-09 16:10:10.211 T:1916621744   ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.audio.deezer/) failed
2021-05-09 16:10:15.800 T:1281327328 WARNING: DeezerKodi: Failed to get token from file, trying API request instead
2021-05-09 16:10:16.198 T:1281327328   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.KeyError'>
                                            Error Contents: 'code'
                                            Traceback (most recent call last):
                                              File "/home/osmc/.kodi/addons/plugin.audio.deezer/addon.py", line 54, in <module>
                                                CONNECTION = Connection(ADDON.getSetting('username'), ADDON.getSetting('password'))
                                              File "/home/osmc/.kodi/addons/plugin.audio.deezer/resources/lib/DeezerApi/__init__.py", line 69, in __init__
                                                self._obtain_access_token()
                                              File "/home/osmc/.kodi/addons/plugin.audio.deezer/resources/lib/DeezerApi/__init__.py", line 131, in _obtain_access_token
                                                if 'error' in json_response and json_response['error']['code'] == QuotaException.CODE:
                                            KeyError: 'code'
                                            -->End of Python script error report<--
@uchi-mata
Copy link

Experiencing the same issue on Kodi 17.1.

@aminecmi
Copy link

aminecmi commented May 16, 2021

Same here on Kodi matrix.

@lhcamilo
Copy link

Same on kodi 19.0 on ubuntu 21.04

@markiceman
Copy link

The same problem. Kodi 18.9., Android 7.1

@Valentin271
Copy link
Owner

Hello,

Do you have a premium account and is it a family or personal account ?
This happens sometimes, did anyone tried again later ?

I will try to reproduce that and make it more robust.

@Valentin271 Valentin271 self-assigned this May 21, 2021
@Valentin271 Valentin271 added the Reproduce Needs to be reproduced label May 21, 2021
@aminecmi
Copy link

@Valentin271 I have a Hi/Fi account.

This happens every single time for me.

@sdaubert
Copy link
Author

@Valentin271 I have a family account. This issue always happens.

@Valentin271
Copy link
Owner

@aminecmi HiFi account doesn't seems to be limited in the API.

I will try to edit a special debug version to get more informations as soon as possible.

@markiceman
Copy link

I have familly hifi account.

@lhcamilo
Copy link

lhcamilo commented May 22, 2021 via email

@uchi-mata
Copy link

Deezer Premium here.

@scriptbee
Copy link

same error. deezer premium.

@airvb
Copy link

airvb commented Jun 23, 2021

same same here libreelec last version family account

@teutat3s
Copy link

I'm seeing the same here, Deezer student account on Libreelec latest version 10.0.1. Can we somehow help to debug this further?

@OraDotNetDev
Copy link

OraDotNetDev commented Jan 30, 2022

Removing advancedsettings.xml from ~/.kodi/userdata resolved this issue for me.

Initially tried adding <cache><buffermode>0</buffermode>... to advancedsettings.xml, which didn't work for me, but YMMV. It was a suggested fix, from this post for resolving a similar 'invalid credentials error' for the Spotify addon.

  • OS: OSMC
  • Kodi: v 19.3
<!-- contents of advancedsettings.xml -->
<advancedsettings>
  <cache>
   <memorysize>1073741824</memorysize>
   <readfactor>20</readfactor>
  </cache>
<!-- added disablehttp2 to try and resolve issue-->
  <network>
   <disablehttp2>true</disablehttp2><!--stutter problems on livestreams-->
  </network>
</advancedsettings>

@Valentin271
Copy link
Owner

Hello,

I've just released version 1.0.0 (after an incomfortably long amout of time I'll admit).
This bug should be resolved now.

If you still encounter this problem, please create another issue with fresh information.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Reproduce Needs to be reproduced
Projects
None yet
Development

No branches or pull requests

10 participants