RedditVideoMakerBot icon indicating copy to clipboard operation
RedditVideoMakerBot copied to clipboard

[Bug]: Why this version has too many issues

Open Ramam001 opened this issue 7 months ago • 0 comments

Describe the bug

Launching Headless Browser... Logging in to Reddit... Skipping translation... Downloading screenshots... ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100% 0:00:24 Screenshots downloaded Successfully. ╭──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │ Finding a spot in the backgrounds audio to chop...✂️ │ ╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ MoviePy - Writing audio in assets/temp/1l22ff4/background.mp3 chunk: 0%| | 0/1037 [00:00<?, ?it/s, now=None]╭──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │ Sorry, something went wrong with this version! Try again, and feel free to report this issue at GitHub or the │ │ Discord community. │ │ Version: 3.3.0 │ │ Error: index -1 is out of bounds for axis 0 with size 0 │ │ Config: {'allow_nsfw': True, 'theme': 'light', 'times_to_run': 1, 'opacity': 0.9, 'storymode': False, │ │ 'storymodemethod': 1, 'storymode_max_length': 1000, 'resolution_w': 1080, 'resolution_h': 1920, 'zoom': 1.0, │ │ 'channel_name': 'autastories', 'background': {'background_video': 'minecraft', 'background_audio': 'lofi', │ │ 'background_audio_volume': 0.15, 'enable_extra_audio': False, 'background_thumbnail': False, │ │ 'background_thumbnail_font_family': 'arial', 'background_thumbnail_font_size': 96, │ │ 'background_thumbnail_font_color': '255,255,255'}, 'tts': {'voice_choice': 'pyttsx', 'random_voice': True, │ │ 'elevenlabs_voice_name': 'Bella', 'elevenlabs_api_key': 'REDACTED', 'aws_polly_voice': 'Matthew', │ │ 'streamlabs_polly_voice': 'Matthew', 'tiktok_voice': 'en_us_001', 'tiktok_sessionid': 'REDACTED', 'python_voice': │ │ '1', 'py_voice_num': '2', 'silence_duration': 0.3, 'no_emojis': False}} │ ╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ Traceback (most recent call last): File "W:\Apps\Python\lib\site-packages\moviepy\audio\io\readers.py", line 193, in get_frame result[in_time] = self.buffer[indices] IndexError: index -1 is out of bounds for axis 0 with size 0

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "W:\Github\RedditVideoMakerBot-3.3.0\main.py", line 131, in raise err File "W:\Github\RedditVideoMakerBot-3.3.0\main.py", line 110, in main(post_id) File "W:\Github\RedditVideoMakerBot-3.3.0\main.py", line 59, in main chop_background(bg_config, length, reddit_object) File "W:\Github\RedditVideoMakerBot-3.3.0\video_creation\background.py", line 142, in chop_background background_audio.write_audiofile(f"assets/temp/{id}/background.mp3") File "", line 2, in write_audiofile File "W:\Apps\Python\lib\site-packages\moviepy\decorators.py", line 54, in requires_duration return f(clip, *a, **k) File "W:\Apps\Python\lib\site-packages\moviepy\audio\AudioClip.py", line 206, in write_audiofile return ffmpeg_audiowrite(self, filename, fps, nbytes, buffersize, File "", line 2, in ffmpeg_audiowrite File "W:\Apps\Python\lib\site-packages\moviepy\decorators.py", line 54, in requires_duration return f(clip, *a, **k) File "W:\Apps\Python\lib\site-packages\moviepy\audio\io\ffmpeg_audiowriter.py", line 166, in ffmpeg_audiowrite for chunk in clip.iter_chunks(chunksize=buffersize, File "W:\Apps\Python\lib\site-packages\moviepy\audio\AudioClip.py", line 85, in iter_chunks yield self.to_soundarray(tt, nbytes=nbytes, quantize=quantize, File "", line 2, in to_soundarray File "W:\Apps\Python\lib\site-packages\moviepy\decorators.py", line 54, in requires_duration return f(clip, *a, **k) File "W:\Apps\Python\lib\site-packages\moviepy\audio\AudioClip.py", line 127, in to_soundarray snd_array = self.get_frame(tt) File "", line 2, in get_frame File "W:\Apps\Python\lib\site-packages\moviepy\decorators.py", line 89, in wrapper return f(*new_a, **new_kw) File "W:\Apps\Python\lib\site-packages\moviepy\Clip.py", line 93, in get_frame return self.make_frame(t) File "W:\Apps\Python\lib\site-packages\moviepy\Clip.py", line 136, in newclip = self.set_make_frame(lambda t: fun(self.get_frame, t)) File "W:\Apps\Python\lib\site-packages\moviepy\Clip.py", line 187, in return self.fl(lambda gf, t: gf(t_func(t)), apply_to, File "", line 2, in get_frame File "W:\Apps\Python\lib\site-packages\moviepy\decorators.py", line 89, in wrapper return f(*new_a, **new_kw) File "W:\Apps\Python\lib\site-packages\moviepy\Clip.py", line 93, in get_frame return self.make_frame(t) File "W:\Apps\Python\lib\site-packages\moviepy\audio\io\AudioFileClip.py", line 77, in self.make_frame = lambda t: self.reader.get_frame(t) File "W:\Apps\Python\lib\site-packages\moviepy\audio\io\readers.py", line 205, in get_frame result[in_time] = self.buffer[indices] IndexError: index -1 is out of bounds for axis 0 with size 0 An error occurred. Press any key to exit.

Reproduction Steps

just do the fresh installation man and seee new bugs

Expected behavior

just do the work

Screenshots

No response

System Information

Operating System : [e.g. Windows 11] Python version : [e.g. Python 3.6] App version / Branch : [e.g. latest, V2.0, master, develop]

Checklist

  • [x] I have searched the open issues for duplicates.
  • [x] I have shown the entire traceback, if possible.

Additional Context

No response

Ramam001 avatar Jun 04 '25 09:06 Ramam001