OpenShot on Ubuntu 22.04

If you install OpenShot on Ubuntu 22.04 or other newer Linux distributions you may note that it doesn’t run – which is an easy fix. Running the program from the terminal gave an error:

  exceptions:ERROR Unhandled Exception
Traceback (most recent call last):
  File "/usr/bin/openshot-qt", line 33, in <module>
    sys.exit(load_entry_point('openshot-qt==2.5.1', 'gui_scripts', 'openshot-qt')())
  File "/usr/lib/python3/dist-packages/openshot_qt/launch.py", line 97, in main
    app = OpenShotApp(argv)
  File "/usr/lib/python3/dist-packages/openshot_qt/classes/app.py", line 219, in __init__
    self.window = MainWindow(mode)
  File "/usr/lib/python3/dist-packages/openshot_qt/windows/main_window.py", line 2521, in __init__
    self.timeline = TimelineWebView(self)
  File "/usr/lib/python3/dist-packages/openshot_qt/windows/views/timeline_webview.py", line 3000, in __init__
    self.cache_renderer.setInterval(0.5 * 1000)
TypeError: setInterval(self, int): argument 1 has unexpected type 'float'

You will find the bug report here (issue with the current stable version with newer versions of Python 3.10), and it has been fixed in the nightly build. To fix this I have added this to the system using the instructions here:

sudo add-apt-repository ppa:openshot.developers/libopenshot-daily
sudo apt update
sudo apt install openshot-qt python3-openshot 

After entering that in the terminal, entering your password, it will install the latest build and you will be able to open OpenShot and edit your video projects 🙂

One Reply to “OpenShot on Ubuntu 22.04”

Leave a Reply

Your email address will not be published. Required fields are marked *

÷ two = 3