[SRU] openshot doesn't start Ubuntu 22.04 fresh install
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenShot Video Editor |
Fix Released
|
Undecided
|
Unassigned | ||
openshot-qt (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Jammy |
Fix Released
|
High
|
Unassigned |
Bug Description
[ Impact ]
openshot is completely unusable as it will fail to start with the following error:
Traceback (most recent call last):
File "/usr/bin/
sys.
File "/usr/lib/
app = OpenShotApp(argv)
File "/usr/lib/
self.window = MainWindow(mode)
File "/usr/lib/
self.timeline = TimelineWebView
File "/usr/lib/
self.
TypeError: setInterval(self, int): argument 1 has unexpected type 'float'
version:INFO Found current version: {"error_
[ Test Plan ]
Simple test:
* Execute openshot-qt, which will fail to start if its not fixed.
* With the fixed package, openshot-qt will start and the tutorial will show.
Detailed test:
* Import few videos or images
* right click on the thumbnail
* Click on "Add to timeline"
* the image or the video should now be added to the timeline
* add few such images and videos
* Try playing the timeline
[ Where problems could occur ]
The problem was caused because float is used as some of the arguments where int is now expected. There can be some more such parts in the code which I might have missed during my testing. And if any such code is executed with a float argument then the application might again crash.
[ Other Info ]
* As mentioned in the patch, part of the patch is from upstream. Similar changes have been done in few more places which I found during testing.
[ Original 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/
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.
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_
app:INFO Setting custom dark theme
QMainWindow:
ui_util:INFO Initializing UI for MainWindow
exceptions:ERROR Unhandled Exception
Traceback (most recent call last):
File "/usr/bin/
sys.
File "/usr/lib/
app = OpenShotApp(argv)
File "/usr/lib/
self.window = MainWindow(mode)
File "/usr/lib/
self.timeline = TimelineWebView
File "/usr/lib/
self.
TypeError: setInterval(self, int): argument 1 has unexpected type 'float'
version:INFO Found current version: {"trans_
ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: openshot-qt 2.5.1+dfsg1-2
ProcVersionSign
Uname: Linux 5.15.0-27-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.11-0ubuntu82
Architecture: amd64
CasperMD5CheckR
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)
PackageArchitec
ProcEnviron:
TERM=xterm-
PATH=(custom, no user)
XDG_RUNTIME_
LANG=de_DE.UTF-8
SHELL=/bin/bash
SourcePackage: openshot-qt
UpgradeStatus: No upgrade log present (probably fresh install)
Changed in openshot-qt (Ubuntu Jammy): | |
status: | New → Confirmed |
assignee: | nobody → Sudip Mukherjee (sudipmuk) |
Changed in openshot-qt (Ubuntu): | |
status: | Confirmed → Fix Released |
Status changed to 'Confirmed' because the bug affects multiple users.