Skip to content

.say() method not processing more than 1 call #440

@charmingracoonn

Description

@charmingracoonn

Once the .say() method is called more than once it only finishes the first call then ignores the rest of the calls
How To Reproduce:

import pyttsx3
engine = pyttsx3.init()
engine.say("gig")
engine.runAndWait()
engine.say("gig")

Expected Output:
One reading of the word "gig"
Then runs the .runAndWait() method
And another reading of the word "gig"
Actual Output:
One reading of the word "gig"
Then runs the .runAndWait() method
And then ends the program

And the following code also has this bug:

import pyttsx3
engine = pyttsx3.init()
engine.say("gig")
engine.say("gig")
engine.runAndWait()

Expected Output:
Two readings of the word "gig"
Actual Output:
One reading of the word "gig"
Then runs the .runAndWait() method
And ends

System conditions:
python 3.13.9
pyttsx3:Version: 2.99
Microsoft Windows [Version 10.0.19045.6691]
Vs code version 1.107
Git bash as the terminal in vs code

Metadata

Metadata

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions