2017-03-02, 22:15
I have a problem with this addon (v1.0.1) not transferring the selected suggested text to the input field. I am running Kodi Krypton. The problem occurs with multiple skins including Estuary however it is only happening on Android not Windows. If I repeatedly press the Select key on Android it will sometimes transfer the selected text to the keyboard (maybe after 20 attempts). Below is what I see in the log on Android when it fails. Is the problem something to do with the extremely long path on Android?
Code:
12:21:01.290 T:18446744072360848272 DEBUG: OnKey: return (0xf00d) pressed, trying keyboard action 7
12:21:01.309 T:18446744072360848272 DEBUG: StartScript - calling plugin AutoCompletion for virtual keyboard('plugin://plugin.program.autocompletion/','226','?info=selectautocomplete&&id=the fast and the furious')
12:21:01.309 T:18446744071917353872 DEBUG: Thread LanguageInvoker start, auto delete: false
12:21:01.309 T:18446744071917353872 INFO: initializing python engine.
12:21:01.310 T:18446744071917353872 DEBUG: CPythonInvoker(354, /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.program.autocompletion/plugin.py): start processing
12:21:01.330 T:18446744071916313488 DEBUG: Thread scriptobs start, auto delete: false
12:21:01.351 T:18446744071917353872 DEBUG: -->Python Interpreter Initialized<--
12:21:01.351 T:18446744071917353872 DEBUG: CPythonInvoker(354, /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.program.autocompletion/plugin.py): the source file to load is "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.program.autocompletion/plugin.py"
12:21:01.354 T:18446744071917353872 DEBUG: CPythonInvoker(354, /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.program.autocompletion/plugin.py): setting the Python path to /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.program.autocompletion:/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.module.autocompletion/lib:/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.module.simplejson/lib:/:/data/app/org.xbmc.kodi-1/base.apk/assets/python2.7/lib/python27.zip:/data/app/org.xbmc.kodi-1/base.apk/assets/python2.7/lib/python2.7:/data/app/org.xbmc.kodi-1/base.apk/assets/python2.7/lib/python2.7/plat-linux2:/data/app/org.xbmc.kodi-1/base.apk/assets/python2.7/lib/python2.7/lib-tk:/data/app/org.xbmc.kodi-1/base.apk/assets/python2.7/lib/python2.7/lib-old:/data/app/org.xbmc.kodi-1/base.apk/assets/python2.7/lib/python2.7/lib-dynload
12:21:01.354 T:18446744071917353872 DEBUG: CPythonInvoker(354, /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.program.autocompletion/plugin.py): entering source directory /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.program.autocompletion
12:21:01.354 T:18446744071917353872 DEBUG: CPythonInvoker(354, /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.program.autocompletion/plugin.py): instantiating addon using automatically obtained id of "plugin.program.autocompletion" dependent on version 2.24.0 of the xbmc.python api
12:21:01.531 T:18446744072360848272 DEBUG: ------ Window Init (DialogBusy.xml) ------
12:21:01.598 T:18446744071917353872 DEBUG: version 1.0.1 started
12:21:01.599 T:18446744071917353872 DEBUG: finished
12:21:01.600 T:18446744071917353872 INFO: CPythonInvoker(354, /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.program.autocompletion/plugin.py): script successfully run
12:21:01.602 T:18446744072360848272 DEBUG: ------ Window Deinit (DialogBusy.xml) ------
12:21:01.603 T:18446744071916313488 DEBUG: Thread scriptobs 18446744071916313488 terminating
12:21:01.604 T:18446744072360848272 ERROR: PlayMedia could not play media: plugin://plugin.program.autocompletion/?info=selectautocomplete&&id=the fast and the furious
12:21:01.605 T:18446744072360848272 DEBUG: Keyboard: scancode: 0x17, sym: 0x000d, unicode: 0x0000, modifier: 0x0 12:21:01.865 T:18446744071917353872 INFO: Python script stopped
12:21:01.865 T:18446744071917353872 DEBUG: Thread LanguageInvoker 18446744071917353872 terminating
12:21:03.232 T:18446744072360848272 DEBUG: Keyboard: scancode: 0x17, sym: 0x000d, unicode: 0x0000, modifier: 0x0