You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to use the bot and every time, it spits out a name error. I have attached the error report below.
Traceback (most recent call last):
File "/Users/swaritnarang/Downloads/RedditVideoMakerBot-3.3.0/redditbot-env/lib/python3.10/site-packages/pyttsx3/__init__.py", line 20, in init
eng = _activeEngines[driverName]
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/weakref.py", line 137, in __getitem__
o = self.data[key]()
KeyError: None
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/swaritnarang/Downloads/RedditVideoMakerBot-3.3.0/main.py", line 131, in <module>
raise err
File "/Users/swaritnarang/Downloads/RedditVideoMakerBot-3.3.0/main.py", line 113, in <module>
run_many(config["settings"]["times_to_run"])
File "/Users/swaritnarang/Downloads/RedditVideoMakerBot-3.3.0/main.py", line 68, in run_many
main()
File "/Users/swaritnarang/Downloads/RedditVideoMakerBot-3.3.0/main.py", line 50, in main
length, number_of_comments = save_text_to_mp3(reddit_object)
File "/Users/swaritnarang/Downloads/RedditVideoMakerBot-3.3.0/video_creation/voices.py", line 49, in save_text_to_mp3
return text_to_mp3.run()
File "/Users/swaritnarang/Downloads/RedditVideoMakerBot-3.3.0/TTS/engine_wrapper.py", line 74, in run
self.call_tts("title", process_text(self.reddit_object["thread_title"]))
File "/Users/swaritnarang/Downloads/RedditVideoMakerBot-3.3.0/TTS/engine_wrapper.py", line 147, in call_tts
self.tts_module.run(
File "/Users/swaritnarang/Downloads/RedditVideoMakerBot-3.3.0/TTS/pyttsx.py", line 33, in run
engine = pyttsx3.init()
File "/Users/swaritnarang/Downloads/RedditVideoMakerBot-3.3.0/redditbot-env/lib/python3.10/site-packages/pyttsx3/__init__.py", line 22, in init
eng = Engine(driverName, debug)
File "/Users/swaritnarang/Downloads/RedditVideoMakerBot-3.3.0/redditbot-env/lib/python3.10/site-packages/pyttsx3/engine.py", line 30, in __init__
self.proxy = driver.DriverProxy(weakref.proxy(self), driverName, debug)
File "/Users/swaritnarang/Downloads/RedditVideoMakerBot-3.3.0/redditbot-env/lib/python3.10/site-packages/pyttsx3/driver.py", line 50, in __init__
self._module = importlib.import_module(name)
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 883, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "/Users/swaritnarang/Downloads/RedditVideoMakerBot-3.3.0/redditbot-env/lib/python3.10/site-packages/pyttsx3/drivers/nsss.py", line 12, in <module>
class NSSpeechDriver(NSObject):
File "/Users/swaritnarang/Downloads/RedditVideoMakerBot-3.3.0/redditbot-env/lib/python3.10/site-packages/pyttsx3/drivers/nsss.py", line 13, in NSSpeechDriver
@objc.python_method
NameError: name 'objc' is not defined. Did you mean: 'object'?
Reproduction Steps
Install all dependencies in a venv.
Run the program.
Expected behavior
I expected it to spit out a video, but instead it gave me an error.
Screenshots
No response
System Information
Operating System : MacOS Sequoia
Python version : Python 3.10
App version / Branch : latest
Describe the bug
I'm trying to use the bot and every time, it spits out a name error. I have attached the error report below.
Reproduction Steps
Expected behavior
I expected it to spit out a video, but instead it gave me an error.
Screenshots
No response
System Information
Operating System : MacOS Sequoia
Python version : Python 3.10
App version / Branch : latest
Checklist
Additional Context
Here's my config:
The text was updated successfully, but these errors were encountered: