Wintermute0110/plugin.program.AEL.dev

string index out of range: launching application (other)

Closed this issue · 0 comments

branch: release-0.10.x-python3 (cloned June 3rd 2021: as of 173cbff)

description: I'm trying to launch plex media server from AEL 0.10.x-python3 (the current stable release v0.9.9 throws an exception installing with my python ver) and I get an index out of range.

logs:

2021-06-03 18:04:23.913 T:32244 INFO : initializing python engine.
2021-06-03 18:04:24.241 T:32244 INFO : AEL INFO : _run_standalone_launcher() categoryID a85c9b4cb79cd099b762ef66fc7bbb50
2021-06-03 18:04:24.241 T:32244 INFO : AEL INFO : _run_standalone_launcher() launcherID 0742a2ddc6ba6fa0bf2827987ef66cde
2021-06-03 18:04:24.241 T:32244 INFO : AEL INFO : _run_standalone_launcher() application "C:\Program Files\Plex\Plex Media Player\PlexMediaPlayer.exe"
2021-06-03 18:04:24.241 T:32244 INFO : AEL INFO : _run_standalone_launcher() apppath "C:\Program Files\Plex\Plex Media Player"
2021-06-03 18:04:24.241 T:32244 INFO : AEL INFO : _run_standalone_launcher() app_basename "PlexMediaPlayer.exe"
2021-06-03 18:04:24.241 T:32244 INFO : AEL INFO : _run_standalone_launcher() app_ext ".exe"
2021-06-03 18:04:24.241 T:32244 INFO : AEL INFO : _run_standalone_launcher() launcher name "Plex Media Player"
2021-06-03 18:04:24.241 T:32244 INFO : AEL INFO : _run_standalone_launcher() raw arguments ""
2021-06-03 18:04:24.241 T:32244 INFO : AEL INFO : _run_standalone_launcher() final arguments ""
2021-06-03 18:04:24.743 T:32244 ERROR : AEL ERROR: SingleInstance::exit() Unhandled excepcion in protected code
2021-06-03 18:04:24.748 T:32244 ERROR : EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <class 'IndexError'>
Error Contents: string index out of range
Traceback (most recent call last):
File "C:\Users\Harbinger\AppData\Roaming\Kodi\addons\plugin.program.advanced.emulator.launcher\addon.py", line 37, in
main.Main().run_plugin(sys.argv)
File "C:\Users\Harbinger\AppData\Roaming\Kodi\addons\plugin.program.advanced.emulator.launcher\resources\main.py", line 411, in run_plugin
self.run_protected(command, args)
File "C:\Users\Harbinger\AppData\Roaming\Kodi\addons\plugin.program.advanced.emulator.launcher\resources\main.py", line 513, in run_protected
self._command_run_standalone_launcher(args['catID'][0], args['launID'][0])
File "C:\Users\Harbinger\AppData\Roaming\Kodi\addons\plugin.program.advanced.emulator.launcher\resources\main.py", line 7915, in _command_run_standalone_launcher
self._run_process(application.getPath(), arguments, application.getDir(), app_ext, non_blocking_flag)
File "C:\Users\Harbinger\AppData\Roaming\Kodi\addons\plugin.program.advanced.emulator.launcher\resources\main.py", line 8216, in _run_process
arguments = misc_strip_quotes(arguments)
File "C:\Users\Harbinger\AppData\Roaming\Kodi\addons\plugin.program.advanced.emulator.launcher\resources\misc.py", line 742, in misc_strip_quotes
my_str = my_str[1:] if my_str[0] == '"' or my_str[0] == "'" else my_str
IndexError: string index out of range
-->End of Python script error report<--

2021-06-03 18:04:24.760 T:32244 INFO : Python interpreter stopped