ZeroK-RTS / Zero-K-Infrastructure

Website, lobby launcher and server, steam deployment, .NET based tools and other vital parts of Zero-K infrastructure
GNU General Public License v3.0
53 stars 52 forks source link

XDG-open crash while calling into TTS implementation? #2973

Open alexpyattaev opened 8 months ago

alexpyattaev commented 8 months ago

Got a crash while trying to call xdg-open for TTS? Not sure what it was trying to achieve, xdg-open does not have -i option.

Zero-K.exe Information: 0 : Chobbyla << TtsSay {"Name":"Xeroaot ","Text":"1 more top"} xdg-open: unexpected option '-i' Try 'xdg-open --help' for more information. Zero-K.exe Error: 0 : Error speaking TTS Xeroaot , 1 more top: System.ComponentModel.Win32Exception (0x80004005): Cannot find the specified file at System.Diagnostics.Process.StartWithShellExecuteEx (System.Diagnostics.ProcessStartInfo startInfo) [0x00102] in <8ac7fa3d638e4d5aacdfc3fa658308cf>:0 at System.Diagnostics.Process.Start () [0x00032] in <8ac7fa3d638e4d5aacdfc3fa658308cf>:0 at (wrapper remoting-invoke-with-check) System.Diagnostics.Process.Start() at System.Diagnostics.Process.Start (System.Diagnostics.ProcessStartInfo startInfo) [0x0001b] in <8ac7fa3d638e4d5aacdfc3fa658308cf>:0 at System.Diagnostics.Process.Start (System.String fileName, System.String arguments) [0x00007] in <8ac7fa3d638e4d5aacdfc3fa658308cf>:0 at ChobbyLauncher.TextToSpeechLinux.Say (System.String name, System.String text) [0x0005e] in :0 at ChobbyLauncher.ChobbylaLocalListener.Process (ChobbyLauncher.TtsSay args) [0x00032] in :0