Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Exception in thread Thread-1:
- Traceback (most recent call last):
- File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/threading.py", line 810, in __bootstrap_inner
- self.run()
- File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/threading.py", line 763, in run
- self.__target(*self.__args, **self.__kwargs)
- File "/Users/lucasa/Downloads/rapping-neural-network-master-2/speech.py", line 52, in beat
- play_mp3(beat_to_play)
- File "/Users/lucasa/Downloads/rapping-neural-network-master-2/speech.py", line 16, in play_mp3
- subprocess.Popen(['mpg123', '-q', path]).wait()
- File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 710, in __init__
- errread, errwrite)
- File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 1335, in _execute_child
- raise child_exception
- OSError: [Errno 2] No such file or directory
- Exception in thread Thread-2:
- Traceback (most recent call last):
- File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/threading.py", line 810, in __bootstrap_inner
- self.run()
- File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/threading.py", line 763, in run
- self.__target(*self.__args, **self.__kwargs)
- File "/Users/lucasa/Downloads/rapping-neural-network-master-2/speech.py", line 48, in sing
- engine.runAndWait()
- File "/Users/lucasa/Desktop/Desktop/rapstuff/venv/lib/python2.7/site-packages/pyttsx3/engine.py", line 188, in runAndWait
- self.proxy.runAndWait()
- File "/Users/lucasa/Desktop/Desktop/rapstuff/venv/lib/python2.7/site-packages/pyttsx3/driver.py", line 204, in runAndWait
- self._driver.startLoop()
- File "/Users/lucasa/Desktop/Desktop/rapstuff/venv/lib/python2.7/site-packages/pyttsx3/drivers/nsss.py", line 33, in startLoop
- AppHelper.runConsoleEventLoop()
- File "/Users/lucasa/Desktop/Desktop/rapstuff/venv/lib/python2.7/site-packages/PyObjCTools/AppHelper.py", line 243, in runConsoleEventLoop
- nextfire = nextfire.earlierDate_(soon)
- AttributeError: 'NoneType' object has no attribute 'earlierDate_'
- Process finished with exit code 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement