Skip to content

pyttsx3 not working..welppppppppppppppppppp!!!!!!!!!!!! #4628

@Arkoparno

Description

@Arkoparno

PS E:\python fuckalls>
Oops, something went wrong. Please report this bug with the details below.
Report on GitHub: https://github.com/lzybkr/PSReadLine/issues/new

Last 5 Keys:
& Space C : /

Exception:
System.ArgumentOutOfRangeException: The value must be greater than or equal to zero and less than the console's buffer size in that dimension.
Parameter name: left
Actual value was -2.
at System.Console.SetCursorPosition(Int32 left, Int32 top)
at Microsoft.PowerShell.Internal.VirtualTerminal.set_CursorLeft(Int32 value)
at Microsoft.PowerShell.PSConsoleReadLine.ReallyRender(RenderData renderData, String defaultColor)
at Microsoft.PowerShell.PSConsoleReadLine.ForceRender()
at Microsoft.PowerShell.PSConsoleReadLine.Insert(Char c)
at Microsoft.PowerShell.PSConsoleReadLine.SelfInsert(Nullable1 key, Object arg) at Microsoft.PowerShell.PSConsoleReadLine.ProcessOneKey(ConsoleKeyInfo key, Dictionary2 dispatchTable, Boolean ignoreIfNoAction, Object
arg)
at Microsoft.PowerShell.PSConsoleReadLine.InputLoop()
at Microsoft.PowerShell.PSConsoleReadLine.ReadLine(Runspace runspace, EngineIntrinsics engineIntrinsics)

PS E:\python fuckalls> & C:/Users/Dr.amatic/AppData/Local/Programs/Python/Python313/python.exe "e:/python fuckalls/1.py"
Traceback (most recent call last):
File "C:\Users\Dr.amatic\AppData\Local\Programs\Python\Python313\Lib\site-packages\pyttsx3_init_.py", line 20, in init
eng = _activeEngines[driverName]
~~~~~~~~~~~~~~^^^^^^^^^^^^
File "C:\Users\Dr.amatic\AppData\Local\Programs\Python\Python313\Lib\weakref.py", line 136, in getitem
o = self.datakey
~~~~~~~~~^^^^^
KeyError: None

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "e:\python fuckalls\1.py", line 2, in
engine = pyttsx3.init()
File "C:\Users\Dr.amatic\AppData\Local\Programs\Python\Python313\Lib\site-packages\pyttsx3_init_.py", line 22, in init
eng = Engine(driverName, debug)
File "C:\Users\Dr.amatic\AppData\Local\Programs\Python\Python313\Lib\site-packages\pyttsx3\engine.py", line 30, in init
self.proxy = driver.DriverProxy(weakref.proxy(self), driverName, debug)
~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Dr.amatic\AppData\Local\Programs\Python\Python313\Lib\site-packages\pyttsx3\driver.py", line 50, in init
self.module = importlib.import_module(name)
~~~~~~~~~~~~~~~~~~~~~~~^^^^^^
File "C:\Users\Dr.amatic\AppData\Local\Programs\Python\Python313\Lib\importlib_init
.py", line 88, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "", line 1387, in _gcd_import
File "", line 1360, in _find_and_load
File "", line 1331, in _find_and_load_unlocked
File "", line 935, in _load_unlocked
File "", line 1026, in exec_module
File "", line 488, in call_with_frames_removed
File "C:\Users\Dr.amatic\AppData\Local\Programs\Python\Python313\Lib\site-packages\pyttsx3\drivers\sapi5.py", line 2, in
import comtypes.client # Importing comtypes.client will make the gen subpackage
^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Dr.amatic\AppData\Local\Programs\Python\Python313\Lib\site-packages\comtypes_init
.py", line 177, in
from comtypes._post_coinit import shutdown
File "C:\Users\Dr.amatic\AppData\Local\Programs\Python\Python313\Lib\site-packages\comtypes_post_coinit_init
.py", line 15, in
from comtypes._post_coinit.unknwn import _shutdown # noqa
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Dr.amatic\AppData\Local\Programs\Python\Python313\Lib\site-packages\comtypes_post_coinit\unknwn.py", line 371, in class _compointer_base(c_void_p, metaclass=_compointer_meta):
...<89 lines>...
return value.QueryInterface(cls.com_interface)
File "C:\Users\Dr.amatic\AppData\Local\Programs\Python\Python313\Lib\site-packages\comtypes_post_coinit\unknwn.py", line 93, in new
p = type(_compointer_base)(
^^^^^^^^^^^^^^^^
NameError: name '_compointer_base' is not defined. Did you mean: '_compointer_meta'?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions