elebumm / RedditVideoMakerBot

Create Reddit Videos with just✨ one command ✨
GNU General Public License v3.0
6.51k stars 1.83k forks source link

[Bug]: TTS.TikTok.TikTokTTSException: Code: 1, reason: probably the aid value isn't correct, message: Couldn’t load speech. Try again. #2122

Open gitgit12312 opened 3 weeks ago

gitgit12312 commented 3 weeks ago

Describe the bug

this is my first time using python and all that and when I run the bot it says TTS.TikTok.TikTokTTSException: Code: 1, reason: probably the aid value isn't correct, message: Couldn’t load speech. Try again.

Reproduction Steps

i tried to run the bot

Expected behavior

make a video

Screenshots

Traceback (most recent call last): File "C:\Users\wacim\OneDrive\Documents\RedditVideoMakerBot\main.py", line 131, in raise err File "C:\Users\wacim\OneDrive\Documents\RedditVideoMakerBot\main.py", line 113, in run_many(config["settings"]["times_to_run"]) File "C:\Users\wacim\OneDrive\Documents\RedditVideoMakerBot\main.py", line 68, in run_many main() File "C:\Users\wacim\OneDrive\Documents\RedditVideoMakerBot\main.py", line 50, in main length, number_of_comments = save_text_to_mp3(reddit_object) File "C:\Users\wacim\OneDrive\Documents\RedditVideoMakerBot\video_creation\voices.py", line 49, in save_text_to_mp3 return text_to_mp3.run() File "C:\Users\wacim\OneDrive\Documents\RedditVideoMakerBot\TTS\engine_wrapper.py", line 74, in run self.call_tts("title", process_text(self.reddit_object["thread_title"])) File "C:\Users\wacim\OneDrive\Documents\RedditVideoMakerBot\TTS\engine_wrapper.py", line 147, in call_tts self.tts_module.run( File "C:\Users\wacim\OneDrive\Documents\RedditVideoMakerBot\TTS\TikTok.py", line 109, in run raise TikTokTTSException(status_code, data["message"]) TTS.TikTok.TikTokTTSException: Code: 1, reason: probably the aid value isn't correct, message: Couldn’t load speech. Try again.

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

Additional Context

No response

Antoinewf3 commented 3 weeks ago

Hey everyone, just want to say i love the project, just started to try it.

Here to add that i've been getting the same error here.

cfg.toml was configured using shell and modified via vscode and i dnt get any errors regarding username or session id but still get the same error as my neighbour from up here.

I added screenshot maybe this will help. Thx :) Error1 Error2

github-actions[bot] commented 2 weeks ago

This issue is stale because it has been open 7 days with no activity. Remove stale label or comment, or this will be closed in 10 days.

khalid-121 commented 2 weeks ago

same here

aimericdrk commented 2 weeks ago

fixed here : https://github.com/elebumm/RedditVideoMakerBot/issues/1582#issuecomment-1526285672

github-actions[bot] commented 1 week ago

This issue is stale because it has been open 7 days with no activity. Remove stale label or comment, or this will be closed in 10 days.