RedditVideoMakerBot icon indicating copy to clipboard operation
RedditVideoMakerBot copied to clipboard

Error on Saving Text to MP3 Files

Open Recrucity opened this issue 4 years ago • 2 comments

Traceback (most recent call last): File "C:\Users\Gabriel\Downloads\RedditVideoMakerBot-master\RedditVideoMakerBot-master\main.py", line 18, in length, number_of_comments = save_text_to_mp3(reddit_object) File "C:\Users\Gabriel\Downloads\RedditVideoMakerBot-master\RedditVideoMakerBot-master\video_creation\voices.py", line 24, in save_text_to_mp3 for idx, comment in track(enumerate(reddit_obj["comments"]), "Saving..."): File "C:\Users\Gabriel\AppData\Local\Programs\Python\Python310\lib\site-packages\rich\progress.py", line 147, in track yield from progress.track( File "C:\Users\Gabriel\AppData\Local\Programs\Python\Python310\lib\site-packages\rich\progress.py", line 714, in track raise ValueError( ValueError: unable to get size of <enumerate object at 0x000002873358EB40>, please specify 'total'

Recrucity avatar Jun 01 '22 08:06 Recrucity

Traceback (most recent call last): File "C:\Users\Gabriel\Downloads\RedditVideoMakerBot-master\RedditVideoMakerBot-master\main.py", line 18, in length, number_of_comments = save_text_to_mp3(reddit_object) File "C:\Users\Gabriel\Downloads\RedditVideoMakerBot-master\RedditVideoMakerBot-master\video_creation\voices.py", line 24, in save_text_to_mp3 for idx, comment in track(enumerate(reddit_obj["comments"]), "Saving..."): File "C:\Users\Gabriel\AppData\Local\Programs\Python\Python310\lib\site-packages\rich\progress.py", line 147, in track yield from progress.track( File "C:\Users\Gabriel\AppData\Local\Programs\Python\Python310\lib\site-packages\rich\progress.py", line 714, in track raise ValueError( ValueError: unable to get size of <enumerate object at 0x000002873358EB40>, please specify 'total'

Update to python 3.8

Strong10mede avatar Jun 01 '22 15:06 Strong10mede

Hi @Recrucity

I hope you were able to resolve your issue, I will be closing this for the time being. Feel free to re-open the issue if it has not been solved!

Happy Coding!

FreebieII avatar Jun 06 '22 18:06 FreebieII