Skip to content

Beta to master#17355

Merged
seanbudd merged 4 commits intomasterfrom
beta2Master
Nov 4, 2024
Merged

Beta to master#17355
seanbudd merged 4 commits intomasterfrom
beta2Master

Conversation

@seanbudd
Copy link
Member

@seanbudd seanbudd commented Nov 4, 2024

No description provided.

seanbudd and others added 4 commits November 4, 2024 11:32
Fixes #17344

Summary of the issue:
The SpeechSymbols only sets the filename to write to when the dictionary is loaded.
Before 826ef91, dictionary files were always loaded before they were saved.
Afterwards, dictionaries are saved without being loaded.
When trying to save dictionary files the following error occurs, due to no file name being set

Speaking [LangChangeCommand ('en_US'), 'pressed']
ERROR - unhandled exception (17:00:20.842) - MainThread (9964):
Traceback (most recent call last):
  File "gui\settingsDialogs.pyc", line 5350, in onOk
  File "characterProcessing.pyc", line 364, in save
ValueError: No file name
Description of user facing changes
Users can now save the speech dictionary dialog.
Add-ons which use custom speech dictionaries are also saved correctly now.

Description of development approach
Create optional parameter to set filename path for speech dictionaries.
Provide speech symbols file name path on creation (#17346)
@seanbudd seanbudd requested a review from a team as a code owner November 4, 2024 00:53
@seanbudd seanbudd requested a review from SaschaCowley November 4, 2024 00:53
@seanbudd seanbudd merged commit 24be37e into master Nov 4, 2024
@seanbudd seanbudd deleted the beta2Master branch November 4, 2024 00:53
@github-actions github-actions bot added this to the 2025.1 milestone Nov 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants