RayVentura / ShortGPT

🚀🎬 ShortGPT - Experimental AI framework for youtube shorts / tiktok channel automation
https://shortx.ai/?ref=sgpt
MIT License
5.63k stars 705 forks source link

🐛 [Bug]: raise Exception(f"Parameter :{key} is null") #114

Open unico123 opened 11 months ago

unico123 commented 11 months ago

What happened?

Error File "F:\AI_Software\ShortGPT\gui\ui_tab_short_automation.py", line 103, in create_short for step_num, step_info in shortEngine.makeContent(): File "F:\AI_Software\ShortGPT\shortGPT\engine\abstract_content_engine.py", line 74, in makeContent self.stepDict[currentStep]() File "F:\AI_Software\ShortGPT\shortGPT\engine\content_short_engine.py", line 99, in _prepareBackgroundAssets self.verifyParameters( File "F:\AI_Software\ShortGPT\shortGPT\engine\abstract_content_engine.py", line 58, in verifyParameters raise Exception(f"Parameter :{key} is null")

What type of browser are you seeing the problem on?

Chrome

What type of Operating System are you seeing the problem on?

Windows

Python Version

Python 3.10

Application Version

v0.1.3

Expected Behavior

build a short video

Error Message

{'voiceover_audio_url': '.editing_assets/facts_shorts_assets/7450b1542c8e4fad91d48542/audio_voice.wav', 'video_duration': None, 'background_video_url': 'https://rr1---sn-o097znze.googlevideo.com/videoplayback?expire=1699186832&ei=MDRHZeHAOfTKkwbN54zwAw&ip=2a09%3Abac1%3A76e0%3A518%3A%3A26b%3A46&id=o-AJ9Qa5OeoVbVdjxX5mOr1R1wO9kkVjP33GCbkHkvszHl&itag=335&source=youtube&requiressl=yes&mh=ww&mm=31%2C29&mn=sn-o097znze%2Csn-n4v7snse&ms=au%2Crdu&mv=m&mvi=1&pl=40&initcwndbps=2412500&vprv=1&svpuc=1&mime=video%2Fwebm&gir=yes&clen=463772648&dur=545.611&lmt=1629834060752995&mt=1699164781&fvip=3&keepalive=yes&fexp=24007246&beids=24350018&c=IOS&txp=5511222&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cvprv%2Csvpuc%2Cmime%2Cgir%2Cclen%2Cdur%2Clmt&sig=ANLwegAwRAIgYxx6I7HAMu0AKuWv8nvp35SP8lwerBVJKQHiz9hBfdUCIBlb9roft7eo4O4GHxUT5uSLogRzb1nwWAYgO1FRfhLU&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AM8Gb2swRAIgTBjR7KWxeaRY3xTI0lk5iAColGsSszGC6r_nh5RRJb0CIHDQZ49ZwoSxcnVdnAw-0nI8Ts9ER2DlEUMHcOHhTLFW', 'music_url': 'public/Music dj quads.wav'}
Error   File "F:\AI_Software\ShortGPT\gui\ui_tab_short_automation.py", line 103, in create_short
    for step_num, step_info in shortEngine.makeContent():
  File "F:\AI_Software\ShortGPT\shortGPT\engine\abstract_content_engine.py", line 74, in makeContent
    self.stepDict[currentStep]()
  File "F:\AI_Software\ShortGPT\shortGPT\engine\content_short_engine.py", line 99, in _prepareBackgroundAssets    self.verifyParameters(
  File "F:\AI_Software\ShortGPT\shortGPT\engine\abstract_content_engine.py", line 58, in verifyParameters
    raise Exception(f"Parameter :{key} is null")

Code to produce this issue.

No response

Screenshots/Assets/Relevant links

No response