openshot doesn't start Ubuntu 22.04 fresh install

Bug #1971094 reported by yusuf75
188
This bug affects 38 people
Affects Status Importance Assigned to Milestone
OpenShot Video Editor
Fix Released
Undecided
Unassigned
openshot-qt (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

openshot doesn't start on Ubuntu 22.04 ( after fresh Ubuntu install )

This is message in Terminal:
openshot-qt
Loaded modules from installed directory: /usr/lib/python3/dist-packages/openshot_qt
         app:INFO ------------------------------------------------
         app:INFO Sun May 1 19:44:47 2022
         app:INFO Starting new session
         app:INFO ------------------------------------------------
         app:INFO OpenShot (version 2.5.1)
         app:INFO ------------------------------------------------
         app:INFO openshot-qt version: 2.5.1
         app:INFO libopenshot version: 0.2.5
         app:INFO platform: Linux-5.15.0-27-generic-x86_64-with-glibc2.35
         app:INFO processor: x86_64
         app:INFO machine: x86_64
         app:INFO python version: 3.10.4
         app:INFO qt5 version: 5.15.3
         app:INFO pyqt5 version: 5.15.6
     metrics:ERROR Error determining OS version in metrics.py
    language:INFO Qt Detected Languages: ['de-DE']
    language:INFO LANG Environment Variable: de_DE.UTF-8
    language:INFO LOCALE Environment Variable:
    language:INFO OpenShot Preference Language: Default
project_data:INFO Setting default profile to HD 720p 30 fps
         app:INFO Setting font to Cantarell
logger_libopenshot:INFO Connecting to libopenshot with debug port: 5556
         app:INFO Setting custom dark theme
QMainWindow::addDockWidget: invalid 'area' argument
     ui_util:INFO Initializing UI for MainWindow
  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'
     version:INFO Found current version: {"trans_rate_stable": 0.01, "error_rate_stable": 0.16, "openshot_version": "2.6.1", "trans_rate_unstable": 0.001, "error_rate_unstable": 0.05}

ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: openshot-qt 2.5.1+dfsg1-2
ProcVersionSignature: Ubuntu 5.15.0-27.28-generic 5.15.30
Uname: Linux 5.15.0-27-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.20.11-0ubuntu82
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
Date: Sun May 1 19:41:59 2022
InstallationDate: Installed on 2022-05-01 (0 days ago)
InstallationMedia: Ubuntu 22.04 LTS "Jammy Jellyfish" - Release amd64 (20220419)
PackageArchitecture: all
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=de_DE.UTF-8
 SHELL=/bin/bash
SourcePackage: openshot-qt
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
yusuf75 (yusuf-uzunyilmaz-googlemail) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in openshot-qt (Ubuntu):
status: New → Confirmed
Revision history for this message
Holbok István (holbi88) wrote :
Download full text (4.5 KiB)

This is not a fresh install, this Ubuntu 22.04 was upgraded from 21.10. Before upgrade, the Openshot run without error.

The terminal message at me:
$ openshot-qt
Loaded modules from installed directory: /usr/lib/python3/dist-packages/openshot_qt
         app:INFO ------------------------------------------------
         app:INFO Thu May 5 10:06:08 2022
         app:INFO Starting new session
         app:INFO ------------------------------------------------
         app:INFO OpenShot (version 2.5.1)
         app:INFO ------------------------------------------------
         app:INFO openshot-qt version: 2.5.1
         app:INFO libopenshot version: 0.2.5
         app:INFO platform: Linux-5.15.0-27-generic-x86_64-with-glibc2.35
         app:INFO processor: x86_64
         app:INFO machine: x86_64
         app:INFO python version: 3.10.4
         app:INFO qt5 version: 5.15.3
         app:INFO pyqt5 version: 5.15.6
     metrics:ERROR Error determining OS version in metrics.py
    language:INFO Qt Detected Languages: ['hu-HU']
    language:INFO LANG Environment Variable: hu_HU.UTF-8
    language:INFO LOCALE Environment Variable:
    language:INFO OpenShot Preference Language: Default
project_data:INFO Setting default profile to HD 720p 30 fps
ZmqLogger::Connection - Error binding to tcp://*:5556. Switching to an available port.
ZmqLogger::Connection - Error binding to tcp://*:5556. Switching to an available port.
         app:INFO Setting font to Cantarell
logger_libopenshot:INFO Connecting to libopenshot with debug port: 5556
         app:INFO Setting custom dark theme
QMainWindow::addDockWidget: invalid 'area' argument
     metrics:INFO Track metric: [200] http://www.google-analytics.com/collect?cid=4596e90e-2b2c-41f6-b44b-e6a1cf43e1b4&v=1&tid=UA-4381101-5&an=OpenShot+Video+Editor&aip=1&aid=org.openshot.openshot-qt&av=2.5.1&ul=en-us&ua=Mozilla%2F5.0+%28X11%3B+Linux+x86_64%29+AppleWebKit%2F537.36+%28KHTML%2C+like+Gecko%29+Chrome%2F37.0.2062.120+Safari%2F537.36&cd1=0.2.5&cd2=3.10.4&cd3=5.15.3&cd4=5.15.6&cd5=None&t=screenview&sc=start&cd=launch-app | (35 bytes)
     ui_util:INFO Initializing UI for MainWindow
     metrics:INFO Track metric: [200] http://www.google-analytics.com/collect?cid=4596e90e-2b2c-41f6-b44b-e6a1cf43e1b4&v=1&tid=UA-4381101-5&an=OpenShot+Video+Editor&aip=1&aid=org.openshot.openshot-qt&av=2.5.1&ul=en-us&ua=Mozilla%2F5.0+%28X11%3B+Linux+x86_64%29+AppleWebKit%2F537.36+%28KHTML%2C+like+Gecko%29+Chrome%2F37.0.2062.120+Safari%2F537.36&cd1=0.2.5&cd2=3.10.4&cd3=5.15.3&cd4=5.15.6&cd5=None&t=screenview&sc=start&cd=launch-app | (35 bytes)
  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...

Read more...

Revision history for this message
Holbok István (holbi88) wrote :

Important note:

After removing the broken 2.5.1 version (shipped with snap), I had installed the development version of Openshot following the instructions at:

https://github.com/OpenShot/libopenshot/wiki/Linux-Build-Instructions

Both dependencies and the openshot-qt itself installed without any error, and running well on the Ubunut 22.04.

Revision history for this message
Jay (jay-7) wrote :

Confirmed same issue with Ubuntu 22.04 upgraded from 21.10. Appears to be an issue where OpenShot is sending floating point arguments to QT, which is expecting only integers.

Revision history for this message
Marco De Felicis (piciomdf) wrote :

Installed Daily PPA (highly experimental and unstable, but contains daily updates available to testers) and now start.
https://www.openshot.org/it/ppa/

libopenshot 0.2.7+dfsg2+1120+202205132116+daily~ubuntu22.04.1 OpenShot Code (2022-05-13)

Revision history for this message
S. Edelburg (sedelburg) wrote :

Same error after upgrading from 20.04 to 22.04 using update-manager.

Revision history for this message
Pablo (pjferra) wrote :

Same error on a fresh ubuntu 22.04 install. I've tried with version 2.5.1 from ubuntu-jammy-universe and from openshot.developers/ppa. I don't want to install the daily version.
As a workaround, 2.6.1 Appimage version works fine.

Revision history for this message
Pablo (pjferra) wrote :

It would be nice to have a 2.6.1 ppa

Revision history for this message
Colin Hemming (b-ubuntuone14) wrote :

I am having the same fault with Pop OS 22.04.

The program is not crashing, just hanging, so remains stuck in the background and needs to be killed.

Revision history for this message
Nonya Binness (alabamatoy) wrote (last edit ):

Encountering same issue, new fresh 22.04 install, installed openshot, no errors, then it just wont run.

log output:

Aug 14 14:19:08 hreNewLaptopHP org.openshot.OpenShot.desktop[11290]: language:INFO OpenShot Preference Language: Default
Aug 14 14:19:08 hreNewLaptopHP org.openshot.OpenShot.desktop[11290]: project_data:INFO Setting default profile to HD 720p 30 fps
Aug 14 14:19:08 hreNewLaptopHP org.openshot.OpenShot.desktop[11290]: app:INFO Setting font to Cantarell
Aug 14 14:19:08 hreNewLaptopHP org.openshot.OpenShot.desktop[11290]: logger_libopenshot:INFO Connecting to libopenshot with debug port: 5556
Aug 14 14:19:08 hreNewLaptopHP org.openshot.OpenShot.desktop[11290]: app:INFO Setting custom dark theme
Aug 14 14:19:08 hreNewLaptopHP org.openshot.OpenShot.desktop[11290]: QMainWindow::addDockWidget: invalid 'area' argument
Aug 14 14:19:08 hreNewLaptopHP org.openshot.OpenShot.desktop[11290]: ui_util:INFO Initializing UI for MainWindow
Aug 14 14:19:09 hreNewLaptopHP org.openshot.OpenShot.desktop[11290]: exceptions:ERROR Unhandled Exception
Aug 14 14:19:09 hreNewLaptopHP org.openshot.OpenShot.desktop[11290]: Traceback (most recent call last):
Aug 14 14:19:09 hreNewLaptopHP org.openshot.OpenShot.desktop[11290]: File "/usr/bin/openshot-qt", line 33, in <module>
Aug 14 14:19:09 hreNewLaptopHP org.openshot.OpenShot.desktop[11290]: sys.exit(load_entry_point('openshot-qt==2.5.1', 'gui_scripts', 'openshot-qt')())
Aug 14 14:19:09 hreNewLaptopHP org.openshot.OpenShot.desktop[11290]: File "/usr/lib/python3/dist-packages/openshot_qt/launch.py", line 97, in main
Aug 14 14:19:09 hreNewLaptopHP org.openshot.OpenShot.desktop[11290]: app = OpenShotApp(argv)
Aug 14 14:19:09 hreNewLaptopHP org.openshot.OpenShot.desktop[11290]: File "/usr/lib/python3/dist-packages/openshot_qt/classes/app.py", line 219, in __init__
Aug 14 14:19:09 hreNewLaptopHP org.openshot.OpenShot.desktop[11290]: self.window = MainWindow(mode)
Aug 14 14:19:09 hreNewLaptopHP org.openshot.OpenShot.desktop[11290]: File "/usr/lib/python3/dist-packages/openshot_qt/windows/main_window.py", line 2521, in __init__
Aug 14 14:19:09 hreNewLaptopHP org.openshot.OpenShot.desktop[11290]: self.timeline = TimelineWebView(self)
Aug 14 14:19:09 hreNewLaptopHP org.openshot.OpenShot.desktop[11290]: File "/usr/lib/python3/dist-packages/openshot_qt/windows/views/timeline_webview.py", line 3000, in __init__
Aug 14 14:19:09 hreNewLaptopHP org.openshot.OpenShot.desktop[11290]: self.cache_renderer.setInterval(0.5 * 1000)
Aug 14 14:19:09 hreNewLaptopHP org.openshot.OpenShot.desktop[11290]: TypeError: setInterval(self, int): argument 1 has unexpected type 'float'
Aug 14 14:19:09 hreNewLaptopHP org.openshot.OpenShot.desktop[11290]: version:INFO Found current version: {"error_rate_unstable": 0.05, "trans_rate_stable": 0.01, "error_rate_stable": 0.16, "trans_rate_unstable": 0.001, "openshot_version": "2.6.1"}

Revision history for this message
gonetil (gonetil-gmail) wrote :

Same error here. Ubuntu 22.04, fresh install, openshot 2.6.1 installed with apt (see log below). After installing from ppa:openshot.developers it seems to work (I haven't testing too much, but at least I can see the main window)

(log for OpenShot-QT 2.6.1 installed via APT in Ubuntu 22.04 fresh install)

openshot-qt
Loaded modules from installed directory: /usr/lib/python3/dist-packages/openshot_qt
         app:INFO ------------------------------------------------
         app:INFO Wed Aug 24 08:07:00 2022
         app:INFO Starting new session
         app:INFO ------------------------------------------------
         app:INFO OpenShot (version 2.5.1)
         app:INFO ------------------------------------------------
         app:INFO openshot-qt version: 2.5.1
         app:INFO libopenshot version: 0.2.5
         app:INFO platform: Linux-5.15.0-46-generic-x86_64-with-glibc2.35
         app:INFO processor: x86_64
         app:INFO machine: x86_64
         app:INFO python version: 3.10.4
         app:INFO qt5 version: 5.15.3
         app:INFO pyqt5 version: 5.15.6
     metrics:ERROR Error determining OS version in metrics.py
    language:INFO Qt Detected Languages: ['es-AR', 'es']
    language:INFO LANG Environment Variable: es_AR.UTF-8
    language:INFO LOCALE Environment Variable:
    language:INFO OpenShot Preference Language: Default
project_data:INFO Setting default profile to HD 720p 30 fps
ZmqLogger::Connection - Error binding to tcp://*:5556. Switching to an available port.
ZmqLogger::Connection - Error binding to tcp://*:5556. Switching to an available port.
         app:INFO Setting font to Cantarell
logger_libopenshot:INFO Connecting to libopenshot with debug port: 5556
         app:INFO Setting custom dark theme
QMainWindow::addDockWidget: invalid 'area' argument
     ui_util:INFO Initializing UI for MainWindow
  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'
     version:INFO Found current version: {"error_rate_unstable": 0.05, "error_rate_stable": 0.16, "trans_rate_stable": 0.01, "openshot_version": "2.6.1", "trans_rate_unstable": 0.001}

Revision history for this message
flow tron (flowtron) wrote :

As piciomdf (https://bugs.launchpad.net/ubuntu/+source/openshot-qt/+bug/1971094/comments/6) said!
The english page is found at https://www.openshot.org/en/ppa/
The "Stable PPA" does NOT contain (at the time of writing) release files in the "jammy" folder, so we need to use the "Daily PPA" but it installed fine and some minor testing of basic usage also went fine.
If it doesn't we can at least help development of this fine project with bug reports!

Revision history for this message
Nonya Binness (alabamatoy) wrote :

@flowtron, I understand this point and have verified that the daily repo does in fact run on Jammy. So I respectfully submit that someone in a position of leadership within the Openshot dev team should address this bug, mark it as closed or whatever is the right action since its arguably been resolved, just not in the stable release yet.

Revision history for this message
Ralph Wigzell (ralphwigzell) wrote :

I'm not sure if it is pertinent here but Openshot 2.6.1 runs on 22.04 for me, but there are no tracks visible and I can't get them to show up. So I can't move anything to the timeline, but if I import a video and click on play in the preview window, the video does run, but that's all, can't do anything else. 2.5.1 does not run at all.

Revision history for this message
Erik1984 (erik1984) wrote :

@ralphwigzell I face the same problem on Kubuntu 22.04.1. The AppImage of the latest daily from September 24th (2.6.1-dev) seems to display the tracks fine, the stable 2.6.1 AppImage does not. Got that info from: https://github.com/OpenShot/openshot-qt/issues/4865 The problem seems to be fixed more than a month ago but it's just not in the stable version yet.

Revision history for this message
Manuel Sanchez (sanchezcano-manuel) wrote :

Same commentary, same problem. Cannot launch openshot after installing ubuntu 22.04.

Revision history for this message
Nelson Castillo (nelsoneci) wrote :

In the past I had luck editing the issues so that the numbers are integers. For instance:

    self.cache_renderer.setInterval(500)

With the most recent version I did two edits to the code and the program starts, but then it's frozen. I can move the window but I cannot interact with it. Until Ubuntu warns that the window is unresponsive and I kill it.

Revision history for this message
Pedro Mosqueda (plmosqueda) wrote :

Maybe we can try using the app image

Revision history for this message
Preutu Ilies (sonycs) wrote :

https://openshot.org/files/libopenshot/md_doc_INSTALL-LINUX.html

This worked for me:

sudo add-apt-repository ppa:openshot.developers/libopenshot-daily
sudo apt-get update
sudo apt-get install openshot-qt \
                     cmake \
                     libx11-dev \
                     libasound2-dev \
                     libavcodec-dev \
                     libavdevice-dev \
                     libavfilter-dev \
                     libavformat-dev \
                     libavresample-dev \
                     libavutil-dev \
                     libfdk-aac-dev \
                     libfreetype6-dev \
                     libjsoncpp-dev \
                     libmagick++-dev \
                     libopenshot-audio-dev \
                     libswscale-dev \
                     libunittest++-dev \
                     libxcursor-dev \
                     libxinerama-dev \
                     libxrandr-dev \
                     libzmq3-dev \
                     pkg-config \
                     python3-dev \
                     qtbase5-dev \
                     qtmultimedia5-dev \
                     swig

Revision history for this message
Tommy Trussell (tommy-trussell) wrote :

I too was unable to run OpenShot on Ubuntu 20.04.

On a hunch I opened Gnome Software with flatpak and snap support. It turns out OpenShot is available via flatpak, so I installed it, and got the latest version 3.0, which seems to run...

HOWEVER I could not open my old projects from older versions of OpenShot.

I tried a few different things with varying success, but this isn't a bug report about OpenShot 3.0, so here's how I was able to run OpenShot 2.6.1 and open my old OpenShot projects:

1) Install the last commit of 2.6.1 (from 2021-11-13)

$ sudo flatpak update --commit=655abaeb016337cca867fb0ddeee99854e624b0e1c1935bfeba60609dc9c912f org.openshot.OpenShot

2) Run the application with lax sandboxing (possibly not wise)

$ flatpak run --filesystem=home org.openshot.OpenShot

3) Once you decide what directories are safe use "flatpak override --user" to change the filesystem sandbox default.

YMMV

Revision history for this message
Stephen Lawrence (web-stephen) wrote :

Re https://openshot.org/files/libopenshot/md_doc_INSTALL-LINUX.html (#21)

I got

"libavresample-dev not found"

so I tried installing everything else, but no luck:

$ openshot-qt
Loaded modules from: /usr/lib/python3/dist-packages/openshot_qt
INFO app: ------------------------------------------------
INFO app: Wed Feb 22 17:33:41 2023
INFO app: Starting new session
INFO app: ------------------------------------------------
INFO app: OpenShot (version 3.0.0)
INFO app: ------------------------------------------------
INFO app: openshot-qt version: 3.0.0
INFO app: libopenshot version: 0.2.5
INFO app: platform: Linux-5.15.0-60-generic-x86_64-with-glibc2.35
INFO app: processor: x86_64
INFO app: machine: x86_64
INFO app: python version: 3.10.6
INFO app: qt5 version: 5.15.3
INFO app: pyqt5 version: 5.15.6
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/openshot_qt/launch.py", line 196, in main
    app = OpenShotApp(argv)
  File "/usr/lib/python3/dist-packages/openshot_qt/classes/app.py", line 131, in __init__
    self.project = project_data.ProjectDataStore()
  File "/usr/lib/python3/dist-packages/openshot_qt/classes/project_data.py", line 66, in __init__
    self.new()
  File "/usr/lib/python3/dist-packages/openshot_qt/classes/project_data.py", line 291, in new
    profile = self.get_profile(profile_desc=default_profile_desc)
  File "/usr/lib/python3/dist-packages/openshot_qt/classes/project_data.py", line 341, in get_profile
    if legacy_profile and legacy_profile.Key() == temp_profile.Key():
AttributeError: 'Profile' object has no attribute 'Key'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/bin/openshot-qt", line 33, in <module>
    sys.exit(load_entry_point('openshot-qt==3.0.0', 'gui_scripts', 'openshot-qt')())
  File "/usr/lib/python3/dist-packages/openshot_qt/launch.py", line 198, in main
    app.show_errors()
AttributeError: 'NoneType' object has no attribute 'show_errors'
INFO app: OpenShot's session ended
INFO app: Wed Feb 22 17:33:41 2023
INFO app: ================================================
Sentry is attempting to send 1 pending error messages
Waiting up to 2 seconds
Press Ctrl-C to quit

Revision history for this message
Olek Wojnar (olekw) wrote (last edit ):

Note that this bug has been fixed upstream in version 2.6.0

https://github.com/OpenShot/openshot-qt/issues/4025

Changed in openshot:
status: New → Fix Released
Revision history for this message
e-fernbach (e-fernbach) wrote (last edit ):

With a new Ubuntu 22.04 install after installing openshot-qt from ppa:openshot.developers/libopenshot-daily 3.0.0+dfsg2+1637+202303212204~ubuntu22.04.1 is installed. Whenn trying to start from the console I get
File "/usr/lib/python3/dist-packages/openshot_qt/launch.py", line 198, in main
    app.show_errors()
as most recent call and
AttributeError: 'NoneType' object has no attribute 'show_errors'
INFO app: OpenShot's session ended
INFO app: Wed Mar 22 09:35:35 2023
INFO app: ================================================

after adding the
ppa:openshot.developers/ppa
and installing sudo apt install openshot-qt python3-openshot as suggested on the https://www.openshot.org/ppa/ page
the program starts

apparently there still is a problem of some kind, at least for the naive user.

Revision history for this message
Jeff Van Epps (lordbah) wrote (last edit ):

UPDATE 2: _something_ somewhere was still pointing at libopenshot.21.so but with enough cycles of remove/find any file with a name remotely like openshot and remove it/install, it's finally working.

3.0.0+dfsg2+1641+202303291735~ubuntu22.04.1 on PopOS 22.04 is still giving me the error.

raceback (most recent call last):
  File "/usr/lib/python3/dist-packages/openshot_qt/launch.py", line 196, in main
    app = OpenShotApp(argv)
  File "/usr/lib/python3/dist-packages/openshot_qt/classes/app.py", line 131, in __init__
    self.project = project_data.ProjectDataStore()
  File "/usr/lib/python3/dist-packages/openshot_qt/classes/project_data.py", line 66, in __init__
    self.new()
  File "/usr/lib/python3/dist-packages/openshot_qt/classes/project_data.py", line 291, in new
    profile = self.get_profile(profile_desc=default_profile_desc)
  File "/usr/lib/python3/dist-packages/openshot_qt/classes/project_data.py", line 341, in get_profile
    if legacy_profile and legacy_profile.Key() == temp_profile.Key():
AttributeError: 'Profile' object has no attribute 'Key'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/bin/openshot-qt", line 33, in <module>
    sys.exit(load_entry_point('openshot-qt==3.0.0', 'gui_scripts', 'openshot-qt')())
  File "/usr/lib/python3/dist-packages/openshot_qt/launch.py", line 198, in main
    app.show_errors()
AttributeError: 'NoneType' object has no attribute 'show_errors'

I removed .cache/openshot and .local/share/openshot, in case the "legacy profile" it was referring to was some user-specific thing and I might have one around from version 2.x, but there was no change.

UPDATE: I looked at a little code and tried this:
/usr/lib/python3/dist-packages/openshot_qt/profiles$ sudo mv legacy legacy.hide
/usr/lib/python3/dist-packages/openshot_qt/profiles$ sudo mkdir legacy

This time it seemed to try to startup but then a dialog appeared saying it needed libopenshot 0.3.0 and I only had 0.2.7. I don't know why, because I do in fact have libopenshot 0.3.0 installed.

libopenshot23/jammy,now 0.3.0+dfsg2+1162+202303202247+daily~ubuntu22.04.1 amd64 [installed]

Revision history for this message
Facundo Quiroga (facundoq) wrote :

2023, same error, still no update.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.