2015-09-16, 05:04
I seem able to reproduce the problem in Trakt on Ubuntu 15.04.
I say "seem" as I'm yet to complete the Account Authorisation dialog due to ongoing service outage. Since this dialog isn't working I cancelled the Authorization dialog (it took ages), restarted Kodi, and now when I go into the add-on settings for Trakt when I click on "How do I authorize the trakt addon to access my trackt.tv account?" I appear to be having the same problem viewing the Authorization dialog as I do with the Ratings dialog (strange it worked once, after installation) - in the following debug snippet, note the Window Deinit for script-trakt-PinAuthDialog.xml:
With your patch, the Authorization dialog appears every time (even though I'm unable to complete it).
I say "seem" as I'm yet to complete the Account Authorisation dialog due to ongoing service outage. Since this dialog isn't working I cancelled the Authorization dialog (it took ages), restarted Kodi, and now when I go into the add-on settings for Trakt when I click on "How do I authorize the trakt addon to access my trackt.tv account?" I appear to be having the same problem viewing the Authorization dialog as I do with the Ratings dialog (strange it worked once, after installation) - in the following debug snippet, note the Window Deinit for script-trakt-PinAuthDialog.xml:
Code:
03:42:36 T:140486489950272 DEBUG: ProcessMouse: trying mouse action leftclick
03:42:36 T:140485726521088 NOTICE: Thread LanguageInvoker start, auto delete: false
03:42:36 T:140485726521088 INFO: initializing python engine.
03:42:36 T:140485726521088 DEBUG: CPythonInvoker(8, /home/neil/.kodi/addons/script.trakt/script.py): start processing
03:42:36 T:140486489950272 DEBUG: ------ Window Deinit (Pointer.xml) ------
03:42:36 T:140485726521088 NOTICE: -->Python Interpreter Initialized<--
03:42:36 T:140485726521088 DEBUG: CPythonInvoker(8, /home/neil/.kodi/addons/script.trakt/script.py): the source file to load is "/home/neil/.kodi/addons/script.trakt/script.py"
03:42:36 T:140485726521088 DEBUG: CPythonInvoker(8, /home/neil/.kodi/addons/script.trakt/script.py): setting the Python path to /home/neil/.kodi/addons/script.trakt:/home/neil/.kodi/addons/script.module.arrow/lib:/home/neil/.kodi/addons/script.module.dateutil/lib:/home/neil/.kodi/addons/script.module.requests/lib:/home/neil/.kodi/addons/script.module.simplejson/lib:/home/neil/.kodi/addons/script.module.six/lib:/home/neil/.kodi/addons/script.module.trakt/lib:/usr/lib/python2.7:/usr/lib/python2.7/plat-x86_64-linux-gnu:/usr/lib/python2.7/lib-tk:/usr/lib/python2.7/lib-old:/usr/lib/python2.7/lib-dynload:/usr/local/lib/python2.7/dist-packages:/usr/lib/python2.7/dist-packages:/usr/lib/python2.7/dist-packages/PILcompat:/usr/lib/python2.7/dist-packages/gtk-2.0:/usr/lib/python2.7/dist-packages/ubuntu-sso-client
03:42:36 T:140485726521088 DEBUG: CPythonInvoker(8, /home/neil/.kodi/addons/script.trakt/script.py): entering source directory /home/neil/.kodi/addons/script.trakt
03:42:36 T:140485726521088 DEBUG: CPythonInvoker(8, /home/neil/.kodi/addons/script.trakt/script.py): instantiating addon using automatically obtained id of "script.trakt" dependent on version 2.14.0 of the xbmc.python api
03:42:36 T:140485726521088 WARNING: CSkinInfo: failed to load skin settings
03:42:36 T:140486489950272 DEBUG: ------ Window Init (/home/neil/.kodi/addons/script.trakt/resources/skins/Default/720p/script-trakt-PinAuthDialog.xml) ------
03:42:36 T:140486489950272 INFO: Loading skin file: /home/neil/.kodi/addons/script.trakt/resources/skins/Default/720p/script-trakt-PinAuthDialog.xml, load type: LOAD_ON_GUI_INIT
03:42:36 T:140486489950272 DEBUG: POParser: loaded 157 strings from file /home/neil/.kodi/addons/script.trakt/resources/language/English/strings.po
03:42:36 T:140486489950272 DEBUG: Previous line repeats 6 times.
03:42:36 T:140486489950272 DEBUG: Load /home/neil/.kodi/addons/script.trakt/resources/skins/Default/720p/script-trakt-PinAuthDialog.xml: 4.30ms
03:42:36 T:140486489950272 DEBUG: SECTION:LoadDLL(special://xbmcbin/system/ImageLib-x86_64-linux.so)
03:42:36 T:140486489950272 DEBUG: Loading: /home/neil/projects/kodi.git/system/ImageLib-x86_64-linux.so
03:42:36 T:140486489950272 DEBUG: Alloc resources: 6.98ms (4.33 ms skin load)
03:42:36 T:140486489950272 DEBUG: CGUIMediaWindow::GetDirectory ()
03:42:36 T:140486489950272 DEBUG: ParentPath = []
03:42:36 T:140486489950272 DEBUG: ------ Window Deinit (DialogAddonSettings.xml) ------
03:42:36 T:140486489950272 DEBUG: ------ Window Deinit (/home/neil/.kodi/addons/script.trakt/resources/skins/Default/720p/script-trakt-PinAuthDialog.xml) ------
03:42:36 T:140486489950272 DEBUG: CGUIMediaWindow::GetDirectory (addons://sources/executable)
03:42:36 T:140486489950272 DEBUG: ParentPath = [addons://sources/executable]
With your patch, the Authorization dialog appears every time (even though I'm unable to complete it).