Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

It's throwing this issue i'm not sure why #41

Open
JeremyS98 opened this issue Dec 8, 2023 · 0 comments
Open

It's throwing this issue i'm not sure why #41

JeremyS98 opened this issue Dec 8, 2023 · 0 comments

Comments

@JeremyS98
Copy link

it finished making about 15 videos and then this popped up, I've tried running it again but nothing happened
This is what it shows:

│ Saving Text to MP3 files... │
└─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
Working... ---------------------------------------- 2.3 it/s
┌─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
│ Sorry, something went wrong with this version! Try again, and feel free to report this issue at GitHub or the │
│ Discord community. │
│ Version: 3.2.1 │
│ Error: argument should be a bytes-like object or ASCII string, not 'NoneType' │
│ Config: {'allow_nsfw': False, 'theme': 'dark', 'times_to_run': 100, 'opacity': 0.9, 'storymode': True, │
│ 'storymodemethod': 1, 'storymode_max_length': 20000, 'resolution_w': 1080, 'resolution_h': 1920, 'zoom': 1.0, │
│ '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': │
│ 'tiktok', 'random_voice': False, 'elevenlabs_voice_name': 'Bella', 'elevenlabs_api_key': 'REDACTED', │
│ 'aws_polly_voice': 'Matthew', 'streamlabs_polly_voice': 'Matthew', 'tiktok_voice': 'en_uk_003', 'tiktok_sessionid': │
│ 'REDACTED', 'python_voice': '1', 'py_voice_num': '2', 'silence_duration': 0.3, 'no_emojis': False}} │
└─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
Traceback (most recent call last):
File "D:\RedditVideoMakerBot-master\main.py", line 132, in
raise err
File "D:\RedditVideoMakerBot-master\main.py", line 114, in
run_many(config["settings"]["times_to_run"])
File "D:\RedditVideoMakerBot-master\main.py", line 69, in run_many
main()
File "D:\RedditVideoMakerBot-master\main.py", line 51, in main
length, number_of_comments = save_text_to_mp3(reddit_object)
File "D:\RedditVideoMakerBot-master\video_creation\voices.py", line 49, in save_text_to_mp3
return text_to_mp3.run()
File "D:\RedditVideoMakerBot-master\TTS\engine_wrapper.py", line 88, in run
self.call_tts(f"postaudio-{idx}", process_text(text))
File "D:\RedditVideoMakerBot-master\TTS\engine_wrapper.py", line 149, in call_tts
self.tts_module.run(
File "D:\RedditVideoMakerBot-master\TTS\TikTok.py", line 117, in run
decoded_voices = base64.b64decode(raw_voices)
File "C:\Users\Jeremy\AppData\Local\Programs\Python\Python310\lib\base64.py", line 80, in b64decode
s = _bytes_from_decode_data(s)
File "C:\Users\Jeremy\AppData\Local\Programs\Python\Python310\lib\base64.py", line 45, in _bytes_from_decode_data
raise TypeError("argument should be a bytes-like object or ASCII "
TypeError: argument should be a bytes-like object or ASCII string, not 'NoneType'

D:\RedditVideoMakerBot-master>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant