[RELEASE] Rdio Music Addon

  Thread Rating:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
CaBrA Offline
Member
Posts: 72
Joined: Sep 2011
Reputation: 0
Post: #316
I have a problem with this addon. I managed to install latest release manually. Created user, api, etc. But when I launch RDIO it gives me a "Error: Script failure."

I can´t event use it. I triple checked my user and pass. Also checked that are correct in settings.xml

DEBUG.LOG

Code:
12:18:39 T:1284   DEBUG: CGUIMediaWindow::GetDirectory (plugin://plugin.audio.rdio/)
12:18:39 T:1284   DEBUG:   ParentPath = [addons://sources/audio/]
12:18:39 T:2432   DEBUG: XFILE::CPluginDirectory::StartScript - calling plugin Rdio('plugin://plugin.audio.rdio/','1','')
12:18:39 T:2432   DEBUG: XFILE::CPluginDirectory::WaitOnScriptResult - waiting on the Rdio (id=16) plugin...
12:18:39 T:3192  NOTICE: Thread LanguageInvoker start, auto delete: false
12:18:39 T:3192    INFO: initializing python engine.
12:18:39 T:3192   DEBUG: CPythonInvoker(16, C:\Users\Media Center\AppData\Roaming\XBMC\addons\plugin.audio.rdio\rdioplugin.py): start processing
12:18:39 T:3192  NOTICE: -->Python Interpreter Initialized<--
12:18:39 T:3192   DEBUG: CPythonInvoker(16, C:\Users\Media Center\AppData\Roaming\XBMC\addons\plugin.audio.rdio\rdioplugin.py): the source file to load is "C:\Users\Media Center\AppData\Roaming\XBMC\addons\plugin.audio.rdio\rdioplugin.py"
12:18:39 T:3192   DEBUG: CPythonInvoker(16, C:\Users\Media Center\AppData\Roaming\XBMC\addons\plugin.audio.rdio\rdioplugin.py): setting the Python path to C:\Users\Media Center\AppData\Roaming\XBMC\addons\plugin.audio.rdio;C:\Users\Media Center\AppData\Roaming\XBMC\addons\script.module.t0mm0.common\lib;C:\Users\Media​ Center\AppData\Roaming\XBMC\addons\script.module.simplejson\lib;C:\Users\Media Center\AppData\Roaming\XBMC\addons\script.module.myconnpy\lib;C:\Users\Media Center\AppData\Roaming\XBMC\addons\script.module.addon.common\lib;C:\Users\Media​ Center\AppData\Roaming\XBMC\addons\script.module.beautifulsoup\lib;C:\Program Files (x86)\XBMC\addons\script.module.pil\lib;C:\Users\Media Center\AppData\Roaming\XBMC\addons\script.common.plugin.cache\lib;C:\Users\Media​ Center\AppData\Roaming\XBMC\addons\script.module.unidecode\lib;C:\Users\Media Center\AppData\Roaming\XBMC\addons\script.module.simple.downloader\lib;C:\Users\​Media Center\AppData\Roaming\XBMC\addons\script.module.requests\lib;C:\Users\Media Center\AppData\Roaming\XBMC\addons\script.module.pytz\lib;C:\Users\Media Center\AppData\Roaming\XBMC\addons\script.grab.fanart\default.py;C:\Users\Media Center\AppData\Roaming\XBMC\addons\script.module.decorator\lib;C:\Users\Media Center\AppData\Roaming\XBMC\addons\script.module.urlresolver\lib;C:\Users\Media Center\AppData\Roaming\XBMC\addons\script.module.mechanize\lib;C:\Program Files (x86)\XBMC\addons\xbmc.debug\;C:\Users\Media Center\AppData\Roaming\XBMC\addons\script.module.parsedom\lib;C:\Users\Media Center\AppData\Roaming\XBMC\addons\script.module.xbmcswift2\lib;C:\Users\Media Center\AppData\Roaming\XBMC\addons\script.module.requests2\lib;C:\Users\Media Center\AppData\Roaming\XBMC\addons\script.module.elementtree\lib;C:\Users\Media Center\AppData\Roaming\XBMC\addons\script.module.validictory\lib;C:\Users\Media Center\AppData\Roaming\XBMC\addons\script.module.metahandler\lib;C:\Program Files (x86)\XBMC\system\python\DLLs;C:\Program Files (x86)\XBMC\system\python\Lib;C:\Program Files (x86)\XBMC\python27.zip;C:\Program Files (x86)\XBMC\system\python\lib\plat-win;C:\Program Files (x86)\XBMC\system\python\lib\lib-tk;C:\Program Files (x86)\XBMC;C:\Program Files (x86)\XBMC\system\python;C:\Program Files (x86)\XBMC\system\python\lib\site-packages
12:18:39 T:3192   DEBUG: CPythonInvoker(16, C:\Users\Media Center\AppData\Roaming\XBMC\addons\plugin.audio.rdio\rdioplugin.py): entering source directory C:\Users\Media Center\AppData\Roaming\XBMC\addons\plugin.audio.rdio
12:18:39 T:3192   DEBUG: CPythonInvoker(16, C:\Users\Media Center\AppData\Roaming\XBMC\addons\plugin.audio.rdio\rdioplugin.py): instantiating addon using automatically obtained id of "plugin.audio.rdio" dependent on version 2.1.0 of the xbmc.python api
12:18:39 T:3192  NOTICE: C:\Users\Media Center\AppData\Roaming\XBMC\userdata\addon_data\plugin.audio.rdio\
12:18:39 T:3192   DEBUG: Rdio: C:\Users\Media Center\AppData\Roaming\XBMC\userdata\addon_data\plugin.audio.rdio\rdio-state.json does not exist
12:18:39 T:3192   DEBUG: Rdio: Persistent auth state not loaded - initialising new state
12:18:39 T:3192  NOTICE: Rdio: Executing Rdio 1.11.0 addon operation main with params {'mode': 'main'}
12:18:39 T:3192  NOTICE: Rdio: Authenticating to Rdio
12:18:39 T:1284   DEBUG: ------ Window Init (DialogBusy.xml) ------
12:18:40 T:3192  NOTICE: Rdio: Authorizing OAuth token
12:18:40 T:3192   DEBUG: Rdio: Logging in to Rdio
12:18:42 T:3192   DEBUG: Rdio: Retrieved signin page
12:18:42 T:3192   DEBUG: Rdio: Executing Rdio direct API call 'signIn'
12:18:43 T:3192   DEBUG: Rdio: Rdio API response: {u'status': u'error', u'message': u'Invalid user data', u'code': 396, u'user_error': {u'password': [u'Password is incorrect'], u'__all__': []}}
12:18:43 T:3192   DEBUG: Rdio: Executed Rdio direct API call signIn in 820 ms
12:18:43 T:3192   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <class 'rdioapi.RdioAPIException'>
                                            Error Contents: Invalid user data
                                            Traceback (most recent call last):
                                              File "C:\Users\Media Center\AppData\Roaming\XBMC\addons\plugin.audio.rdio\rdioplugin.py", line 627, in <module>
                                                XbmcRdioOperation(addon).execute()
                                              File "C:\Users\Media Center\AppData\Roaming\XBMC\addons\plugin.audio.rdio\rdioplugin.py", line 621, in execute
                                                handler()
                                              File "C:\Users\Media Center\AppData\Roaming\XBMC\addons\plugin.audio.rdio\rdioplugin.py", line 63, in main
                                                self._rdio_api.authenticate()
                                              File "C:\Users\Media Center\AppData\Roaming\XBMC\addons\plugin.audio.rdio\rdioxbmc.py", line 75, in authenticate
                                                oauth_state = self.call_direct('getOAuth1State', token = oauth_token)
                                              File "C:\Users\Media Center\AppData\Roaming\XBMC\addons\plugin.audio.rdio\rdioxbmc.py", line 208, in call_direct
                                                self._login()
                                              File "C:\Users\Media Center\AppData\Roaming\XBMC\addons\plugin.audio.rdio\rdioxbmc.py", line 239, in _login
                                                response = self.call_direct('signIn', username = username, password = password, remember = '1')
                                              File "C:\Users\Media Center\AppData\Roaming\XBMC\addons\plugin.audio.rdio\rdioxbmc.py", line 227, in call_direct
                                                raise RdioAPIException(response['message'])
                                            RdioAPIException: Invalid user data
                                            -->End of Python script error report<--
(This post was last modified: 2014-10-03 19:48 by CaBrA.)
find quote
ampedandwired Offline
Senior Member
Posts: 137
Joined: May 2012
Reputation: 11
Post: #317
(2014-10-03 17:02)CaBrA Wrote:  I have a problem with this addon. I managed to install latest release manually. Created user, api, etc. But when I launch RDIO it gives me a "Error: Script failure."

I can´t event use it. I triple checked my user and pass. Also checked that are correct in settings.xml

As you can see in the error Rdio claims the password is incorrect, however given that you've checked the settings already I'm at a loss to explain this. Have a look again in settings.xml, just make sure that there's no additional spaces or anything like that at the start/end of the username and password (some users had trouble with this in the past). If not I can help you with getting some more debug output - I'll PM you.
find quote
Post Reply