Bug 30478

Summary: openshot-qt fails to start (unhandled exception)
Product: Mageia Reporter: Pierre Fortin <pfortin>
Component: RPM PackagesAssignee: All Packagers <pkg-bugs>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Normal CC: geiger.david68210
Version: Cauldron   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: openshot-qt-2.5.1-5.mga9 CVE:
Status comment:

Description Pierre Fortin 2022-05-26 15:19:14 CEST
Description of problem:  Trying to find a usable video editor; needed to edit videos of Plasma bugs I should report.


Version-Release number of selected component (if applicable):
lib64openshot-audio7-0.2.0-1.mga8
lib64openshot19-0.2.5-9.mga9
openshot-qt-2.5.1-5.mga9
lib64openshot-audio8-0.2.2-3.mga9
lib64openshot21-0.2.7-2.mga9
python3-libopenshot-0.2.7-2.mga9


How reproducible: always


Steps to Reproduce:
1.openshot-qt
2.
3.


Output:

$ openshot-qt &
[2] 2872982
pfortin@pf   Thu May 26 09:14:00
~
$ Loaded modules from installed directory: /usr/lib/python3.10/site-packages/openshot_qt
         app:INFO ------------------------------------------------
         app:INFO             Thu May 26 09:14: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.7
         app:INFO platform: Linux-5.17.9-server-3.mga9-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.2
         app:INFO pyqt5 version: 5.15.6
     metrics:ERROR Error determining OS version in metrics.py
    language:INFO Qt Detected Languages: ['en-US', 'en-US', 'en']
    language:INFO LANG Environment Variable: en_US.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 /usr/lib/python3.10/site-packages/openshot_qt/images/fonts/Ubuntu-R.ttf
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.10/site-packages/openshot_qt/launch.py", line 96, in main
    app = OpenShotApp(argv)
  File "/usr/lib/python3.10/site-packages/openshot_qt/classes/app.py", line 221, in __init__
    self.window = MainWindow(mode)
  File "/usr/lib/python3.10/site-packages/openshot_qt/windows/main_window.py", line 2521, in __init__
    self.timeline = TimelineWebView(self)
  File "/usr/lib/python3.10/site-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_unstable": 0.001, "error_rate_unstable": 0.05, "openshot_version": "2.6.1", "error_rate_stable": 0.16, "trans_rate_stable": 0.01}
fg
openshot-qt
^C      logger:ERROR Exception ignored in:
      logger:ERROR <module 'threading' from '/usr/lib64/python3.10/threading.py'>
      logger:ERROR Traceback (most recent call last):
      logger:ERROR   File "/usr/lib64/python3.10/threading.py", line 1551, in _shutdown
      logger:ERROR lock.acquire()
      logger:ERROR KeyboardInterrupt
      logger:ERROR :
         app:INFO             OpenShot's session ended            
         app:INFO             Thu May 26 09:14:15 2022            
         app:INFO ================================================
Comment 1 Lewis Smith 2022-05-26 20:42:18 CEST
Thank you for the report.

All I can add is that this does not happen on Mageia 8; it starts OK.

This package is down to daviddavid, but I am unsure of his availability, so assigning it globally, CC'ing him.

Source RPM: (none) => openshot-qt-2.5.1-5.mga9
CC: (none) => geiger.david68210
Assignee: bugsquad => pkg-bugs

Comment 2 sturmvogel 2023-03-20 23:08:47 CET
openshot-qt-3.0.0-1.mga9.noarch.rpm works just fine.

Resolution: (none) => FIXED
Status: NEW => RESOLVED