debdiff attached for Jammy.
** Summary changed: - openshot doesn't start Ubuntu 22.04 fresh install + [SRU] openshot doesn't start Ubuntu 22.04 fresh install ** Description changed: - openshot doesn't start on Ubuntu 22.04 ( after fresh Ubuntu install ) + [ Impact ] - 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 + openshot is completely unusable as it will fail to start with the + following error: + 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} + version:INFO Found current version: {"error_rate_stable": 0.25, "trans_rate_stable": 0.01, "error_rate_unstable": 0.05, "openshot_version": "3.1.1", "trans_rate_unstable": 0.001} + + [ 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/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 + 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) ** Patch added: "openshot-qt_jammy.debdiff" https://bugs.launchpad.net/ubuntu/jammy/+source/openshot-qt/+bug/1971094/+attachment/5746741/+files/openshot-qt_jammy.debdiff ** Changed in: openshot-qt (Ubuntu Jammy) Assignee: Sudip Mukherjee (sudipmuk) => (unassigned) -- You received this bug notification because you are a member of UBUNTU - AL - BR, which is subscribed to OpenShot Video Editor. https://bugs.launchpad.net/bugs/1971094 Title: [SRU] openshot doesn't start Ubuntu 22.04 fresh install Status in OpenShot Video Editor: Fix Released Status in openshot-qt package in Ubuntu: Fix Released Status in openshot-qt source package in Jammy: Confirmed 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/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_stable": 0.25, "trans_rate_stable": 0.01, "error_rate_unstable": 0.05, "openshot_version": "3.1.1", "trans_rate_unstable": 0.001} [ 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/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) To manage notifications about this bug go to: https://bugs.launchpad.net/openshot/+bug/1971094/+subscriptions -- Mailing list: https://launchpad.net/~linux-traipu Post to : linux-traipu@lists.launchpad.net Unsubscribe : https://launchpad.net/~linux-traipu More help : https://help.launchpad.net/ListHelp