elebumm / RedditVideoMakerBot

Create Reddit Videos with just✨ one command ✨

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

What is going on here?

eddie938 opened this issue · comments

Describe the bug

I am new to bots and whatever this is. I followed the instructions and this happens.

Reproduction Steps

Thread ID is 1bpucjj
┌─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
│ Saving Text to MP3 files... │
└─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
Saving... ----------------------------------------
┌─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
│ 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: Expecting value: line 1 column 1 (char 0) │
│ Config: {'allow_nsfw': False, 'theme': 'dark', 'times_to_run': 1, 'opacity': 0.9, 'storymode': False, │
│ 'storymodemethod': 1, 'storymode_max_length': 1000, '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': 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 "C:\Users\User\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\requests\models.py", line 971, in json
return complexjson.loads(self.text, **kwargs)
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.3056.0_x64__qbz5n2kfra8p0\lib\json_init_.py", line 346, in loads
return _default_decoder.decode(s)
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.3056.0_x64__qbz5n2kfra8p0\lib\json\decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.3056.0_x64__qbz5n2kfra8p0\lib\json\decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "C:\Users\User\Downloads\RedditVideoMakerBot-master\main.py", line 132, in
raise err
File "C:\Users\User\Downloads\RedditVideoMakerBot-master\main.py", line 114, in
run_many(config["settings"]["times_to_run"])
File "C:\Users\User\Downloads\RedditVideoMakerBot-master\main.py", line 69, in run_many
main()
File "C:\Users\User\Downloads\RedditVideoMakerBot-master\main.py", line 51, in main
length, number_of_comments = save_text_to_mp3(reddit_object)
File "C:\Users\User\Downloads\RedditVideoMakerBot-master\video_creation\voices.py", line 49, in save_text_to_mp3
return text_to_mp3.run()
File "C:\Users\User\Downloads\RedditVideoMakerBot-master\TTS\engine_wrapper.py", line 102, in run
self.call_tts(f"{idx}", process_text(comment["comment_body"]))
File "C:\Users\User\Downloads\RedditVideoMakerBot-master\TTS\engine_wrapper.py", line 149, in call_tts
self.tts_module.run(
File "C:\Users\User\Downloads\RedditVideoMakerBot-master\TTS\TikTok.py", line 104, in run
data = self.get_voices(voice=voice, text=text)
File "C:\Users\User\Downloads\RedditVideoMakerBot-master\TTS\TikTok.py", line 143, in get_voices
return response.json()
File "C:\Users\User\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\requests\models.py", line 975, in json
raise RequestsJSONDecodeError(e.msg, e.doc, e.pos)
requests.exceptions.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
An error occurred. Press any key to exit.

Expected behavior

According to the YT video, it was supposed to work

Screenshots

Screenshot (12)

System Information

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

Checklist

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

Additional Context

No response

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.

Issue closed due to being stale. Please reopen if issue persists in latest version.