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

🐛 [Bug]: no method availablbe for opening '/content/ShortGPT/videos' #146

Open
mavi-unyereno opened this issue Oct 31, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@mavi-unyereno
Copy link

What happened?

when running 'automate the creation of shorts' I get the following error message,
Error File "/content/ShortGPT/gui/ui_tab_short_automation.py", line 114, in create_short
for step_num, step_info in shortEngine.makeContent():
File "/content/ShortGPT/shortGPT/engine/abstract_content_engine.py", line 74, in makeContent
self.stepDictcurrentStep
File "/content/ShortGPT/shortGPT/engine/content_short_engine.py", line 109, in _prepareBackgroundAssets
self._db_background_trimmed = extract_random_clip_from_video(
File "/content/ShortGPT/shortGPT/editing_utils/handle_videos.py", line 57, in extract_random_clip_from_video
.run()
File "/usr/local/lib/python3.10/dist-packages/ffmpeg/_run.py", line 325, in run
raise Error('ffmpeg', out, err)

/usr/bin/xdg-open: 882: www-browser: not found
/usr/bin/xdg-open: 882: links2: not found
/usr/bin/xdg-open: 882: elinks: not found
/usr/bin/xdg-open: 882: links: not found
/usr/bin/xdg-open: 882: lynx: not found
/usr/bin/xdg-open: 882: w3m: not found
xdg-open: no method available for opening '/content/ShortGPT/videos'

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.12

Application Version

Latest in Github link

Expected Behavior

To generate video

Error Message

Error   File "/content/ShortGPT/gui/ui_tab_short_automation.py", line 114, in create_short
    for step_num, step_info in shortEngine.makeContent():
  File "/content/ShortGPT/shortGPT/engine/abstract_content_engine.py", line 74, in makeContent
    self.stepDict[currentStep]()
  File "/content/ShortGPT/shortGPT/engine/content_short_engine.py", line 109, in _prepareBackgroundAssets
    self._db_background_trimmed = extract_random_clip_from_video(
  File "/content/ShortGPT/shortGPT/editing_utils/handle_videos.py", line 57, in extract_random_clip_from_video
    .run()
  File "/usr/local/lib/python3.10/dist-packages/ffmpeg/_run.py", line 325, in run
    raise Error('ffmpeg', out, err)

/usr/bin/xdg-open: 882: www-browser: not found
/usr/bin/xdg-open: 882: links2: not found
/usr/bin/xdg-open: 882: elinks: not found
/usr/bin/xdg-open: 882: links: not found
/usr/bin/xdg-open: 882: lynx: not found
/usr/bin/xdg-open: 882: w3m: not found
xdg-open: no method available for opening '/content/ShortGPT/videos'

Code to produce this issue.

No response

Screenshots/Assets/Relevant links

No response

@mavi-unyereno mavi-unyereno added the bug Something isn't working label Oct 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant