Traceback (most recent call last):


 "C:\Users\2chan\AppData\Local\Programs\Python\Python38\lib\runpy.py", line 193, in _run_module_as_main

return _run_code(code, main_globals, None,


 "C:\Users\2chan\AppData\Local\Programs\Python\Python38\lib\runpy.py", line 86, in _run_code

exec(code, run_globals)


 "c:\program files (x86)\microsoft visual studio\2019\community\common7\ide\extensions\microsoft\python\core\debugpy\__main__.py", line 45, in <module>

cli.main()


 "c:\program files (x86)\microsoft visual studio\2019\community\common7\ide\extensions\microsoft\python\core\debugpy/..\debugpy\server\cli.py", line 429, in main

run()


 "c:\program files (x86)\microsoft visual studio\2019\community\common7\ide\extensions\microsoft\python\core\debugpy/..\debugpy\server\cli.py", line 266, in run_file

runpy.run_path(options.target, run_name=compat.force_str("__main__"))


 "C:\Users\2chan\AppData\Local\Programs\Python\Python38\lib\runpy.py", line 263, in run_path

return _run_module_code(code, init_globals, run_name,


 "C:\Users\2chan\AppData\Local\Programs\Python\Python38\lib\runpy.py", line 96, in _run_module_code

_run_code(code, mod_globals, init_globals,


 "C:\Users\2chan\AppData\Local\Programs\Python\Python38\lib\runpy.py", line 86, in _run_code

exec(code, run_globals)


 "C:\Users\2chan\source\repos\PythonApplication1\speechExp.py", line 3, in <module>

engine.save_to_file('Hello World' , 'test.mp3')
AttributeError: 'Engine' object has no attribute 'save_to_file'

(Miniconda) scopa@DESKTOP-EACI0E4 ~ $ cd Exception in thread Thread-24:
Traceback (most recent call last):

 "C:\Users\scopa\Miniconda\lib\threading.py", line 914, in _bootstrap_inner
self.run()

 "C:\Users\scopa\Miniconda\lib\threading.py", line 862, in run
self._target(*self._args, **self._kwargs)

 "C:\Users\scopa\Miniconda\lib\site-packages\prompt_toolkit\interface.py", line 836, in run
completions = list(buffer.completer.get_completions(document, complete_event))

 "C:\Users\scopa\AppData\Roaming\Python\Python35\site-packages\xonsh\ptk\completer.py", line 42, in get_completions
self.ctx)

 "C:\Users\scopa\AppData\Roaming\Python\Python35\site-packages\xonsh\__amalgam__.py", line 124, in complete
out = func(prefix, line, begidx, endidx, ctx)

 "C:\Users\scopa\AppData\Roaming\Python\Python35\site-packages\xonsh\completers\__amalgam__.py", line 1082, in complete_cd
return complete_dir(prefix, line, start, end, ctx, True)

 "C:\Users\scopa\AppData\Roaming\Python\Python35\site-packages\xonsh\completers\__amalgam__.py", line 773, in complete_dir
filtfunc=os.path.isdir)

 "C:\Users\scopa\AppData\Roaming\Python\Python35\site-packages\xonsh\completers\__amalgam__.py", line 765, in complete_path
path_str_end)

 "C:\Users\scopa\AppData\Roaming\Python\Python35\site-packages\xonsh\completers\__amalgam__.py", line 616, in _quote_paths
(re.search(PATTERN_NEED_QUOTES, s) is not None or

 "C:\Users\scopa\Miniconda\lib\re.py", line 173, in search
return _compile(pattern, flags).search(string)

 "C:\Users\scopa\Miniconda\lib\re.py", line 281, in _compile
p, loc = _cache[type(pattern), pattern, flags]

 "C:\Users\scopa\AppData\Roaming\Python\Python35\site-packages\xonsh\__amalgam__.py", line 250, in __hash__
obj = self._lazy_obj()

 "C:\Users\scopa\AppData\Roaming\Python\Python35\site-packages\xonsh\__amalgam__.py", line 190, in _lazy_obj
obj = d['load']()

 "C:\Users\scopa\AppData\Roaming\Python\Python35\site-packages\xonsh\completers\__amalgam__.py", line 492, in PATTERN_NEED_QUOTES
pattern.append('%')
AttributeError: 'str' object has no attribute 'append' ```