-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error using a config file for TTS #236
Comments
Can you provide an appropriately redacted config file that triggers this and confirm you have made the |
Sure, config looks like below. Let me stress it works if I'm not using the config file.
|
I think there is an invisible character after the first
Could you delete everything after the |
That is not the issue, there's no extra character in my local file. Error is the same. |
Hint: I have the latest release pack. Franky has 0.7.0 and it reads the config no issues. Also, the lua files in the release pack do not match the dev tree |
Proper error gets swallowed due to #179. Can you check your |
It doesn’t bc it’s not compiled with debug on and this happens before anything starts showing up in the logs. Let me see if I can compile a version with debug on and then on what it says. |
That wasn't helpful. Finding in between: I assume that the RPC cannot write to the tts structure you create in the mission environment, or it is not there, really. If you create the tts table from the mission before starting the config file is read and no error is thrown:
however, if you comment out the GRPC.tts = tts in the above example it is thrown. i.e. the load command in your lua files calling GRPC cannot write to the tts structure, hence the error
possible the (basically empty) tts table is removed by the optimizer before you can even write to it. |
I think I found the culprit. The following change fixes your config: - tts.defaultProvider = "gcloud"
+ tts.defaultProvider = "gCloud" That is not intended, fixed in #243 to be the expected lowercase value. |
Confirmed working with the change |
If you create a config file, it gets loaded but the lua environment in DCS will throw this error
which refers back to
-> in the grpc.start() function your are trying to concat a nil value, probably one of the pathes.
The text was updated successfully, but these errors were encountered: