RedditVideoMakerBot icon indicating copy to clipboard operation
RedditVideoMakerBot copied to clipboard

[Bug]: vstr = [r.json()["data"]["v_str"]][0] KeyError: 'data'

Open Shashwat-pd opened this issue 4 years ago • 8 comments

Describe the bug

{"extra":{"log_id":"20220828132151C892A5606AED020C70B9"},"message":"Couldn't load speech. Try again.","status_code":1,"status_msg":"Couldn't load speech. Try again."}

This is the response from r.text

This is my config.toml

[settings] allow_nsfw = true theme = "dark" times_to_run = 1 opacity = 0.8 transition = 0.2 storymode = true

[settings.background] background_choice = "gta"

[settings.tts] voice_choice = "tiktok" aws_polly_voice = "Matthew" streamlabs_polly_voice = "Matthew" tiktok_voice = "en_us_006" python_voice = "1" py_voice_num = "2"

[reddit.creds] client_id = " " client_secret = " " username = " " password = " " 2fa = false

[reddit.thread] random = false subreddit = "Nepal" post_id = "wznlo9" max_comment_length = 500 post_lang = "" min_comments = 20

Reproduction Steps

Run main.py Answered prompts as given in the description. (Can check contents of config I have put above)

Expected behavior

A Video in the local storage

Screenshots

No response

System Information

Operating System : [e.g. Windows 11] Python version : [e.g. Python 3.10] App version / Branch [e.g. 2.4.1, V2., 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

Shashwat-pd avatar Aug 28 '22 13:08 Shashwat-pd

Also happened to me

BenjaminLindberg avatar Aug 28 '22 19:08 BenjaminLindberg

Hi, Thanks for using the bot! Unfortunately, the TikTok TTS currently doesn't work. We are working on it!

OpenSourceSimon avatar Aug 28 '22 19:08 OpenSourceSimon

Hi, Thanks for using the bot! Unfortunately, the TikTok TTS currently doesn't work. We are working on it! Hi, could you send your config (minus the sensetive part) so i can try it out?

BenjaminLindberg avatar Aug 28 '22 20:08 BenjaminLindberg

Hi, Thanks for using the bot! Unfortunately, the TikTok TTS currently doesn't work. We are working on it!

Hi, could you send your config (minus the sensetive part) so i can try it out?

Hi, I am not using the bot. I just contribute to the project. You can join our Discord community to talk about the bot!

OpenSourceSimon avatar Aug 28 '22 20:08 OpenSourceSimon

I think TikTok has changed something as I cant get other things to work on the TikTok API call. I will have to look into this further

MPagliari avatar Aug 29 '22 21:08 MPagliari

they've moved the end point and locked it down, it was solved/figured out here

marcohoovy avatar Sep 07 '22 12:09 marcohoovy

so tts lib fixed this, is this updated in this repo?

Archemike avatar Sep 12 '22 16:09 Archemike

so tts lib fixed this, is this updated in this repo?

There is a pull request for it

OpenSourceSimon avatar Sep 12 '22 18:09 OpenSourceSimon