Describe the bug:
I double clicked the app icon , nothing (seemed) to happen.
I opened a terminal, entered "openshot-qt" , then I got an error.
Steps to reproduce the behavior:
Expected behavior:
I expected it to run.
System Details:
openshot-qt -V
Loaded modules from installed directory: /usr/lib/python3/dist-packages/openshot_qt
OpenShot version 2.5.0-dev1
The "openshot-qt -V" worked properly,but is is python3, that's what i believe the problem is
Log Files:
sam@sam-ThinkPad-Edge-E430:~$ openshot-qt
Loaded modules from installed directory: /usr/lib/python3/dist-packages/openshot_qt
app:INFO ------------------------------------------------
app:INFO Mon Feb 17 22:44:03 2020
app:INFO Starting new session
app:INFO ------------------------------------------------
app:INFO OpenShot (version 2.5.0-dev1)
app:INFO ------------------------------------------------
app:INFO openshot-qt version: 2.5.0-dev1
logger:ERROR Traceback (most recent call last):
logger:ERROR File "/usr/bin/openshot-qt", line 11, in <module>
logger:ERROR load_entry_point('openshot-qt==2.5.0.dev1', 'gui_scripts', 'openshot-qt')()
logger:ERROR File "/usr/lib/python3/dist-packages/openshot_qt/launch.py", line 97, in main
logger:ERROR app = OpenShotApp(argv)
logger:ERROR File "/usr/lib/python3/dist-packages/openshot_qt/classes/app.py", line 115, in __init__
logger:ERROR from classes import exceptions
logger:ERROR File "/usr/lib/python3/dist-packages/openshot_qt/classes/exceptions.py", line 30, in <module>
logger:ERROR from classes.metrics import track_exception_stacktrace
logger:ERROR File "/usr/lib/python3/dist-packages/openshot_qt/classes/metrics.py", line 83, in <module>
logger:ERROR "cd1": openshot.OPENSHOT_VERSION_FULL, # Dimension 1: libopenshot version
logger:ERROR AttributeError
logger:ERROR :
logger:ERROR module 'openshot' has no attribute 'OPENSHOT_VERSION_FULL'
app:INFO OpenShot's session ended
app:INFO Mon Feb 17 22:44:04 2020
app:INFO ================================================
Exception / Stacktrace:
openshot-qt.zip
Screenshots: (Optional)
sam@sam-ThinkPad-Edge-E430:~$ openshot-qt
Loaded modules from installed directory: /usr/lib/python3/dist-packages/openshot_qt
app:INFO ------------------------------------------------
app:INFO Mon Feb 17 22:44:03 2020
app:INFO Starting new session
app:INFO ------------------------------------------------
app:INFO OpenShot (version 2.5.0-dev1)
app:INFO ------------------------------------------------
app:INFO openshot-qt version: 2.5.0-dev1
logger:ERROR Traceback (most recent call last):
logger:ERROR File "/usr/bin/openshot-qt", line 11, in <module>
logger:ERROR load_entry_point('openshot-qt==2.5.0.dev1', 'gui_scripts', 'openshot-qt')()
logger:ERROR File "/usr/lib/python3/dist-packages/openshot_qt/launch.py", line 97, in main
logger:ERROR app = OpenShotApp(argv)
logger:ERROR File "/usr/lib/python3/dist-packages/openshot_qt/classes/app.py", line 115, in __init__
logger:ERROR from classes import exceptions
logger:ERROR File "/usr/lib/python3/dist-packages/openshot_qt/classes/exceptions.py", line 30, in <module>
logger:ERROR from classes.metrics import track_exception_stacktrace
logger:ERROR File "/usr/lib/python3/dist-packages/openshot_qt/classes/metrics.py", line 83, in <module>
logger:ERROR "cd1": openshot.OPENSHOT_VERSION_FULL, # Dimension 1: libopenshot version
logger:ERROR AttributeError
logger:ERROR :
logger:ERROR module 'openshot' has no attribute 'OPENSHOT_VERSION_FULL'
app:INFO OpenShot's session ended
app:INFO Mon Feb 17 22:44:04 2020
app:INFO ================================================
sam@sam-ThinkPad-Edge-E430:~$ openshot-qt -v
Loaded modules from installed directory: /usr/lib/python3/dist-packages/openshot_qt
usage: openshot-qt [-h] [-l LANG] [--list-languages] [-V]
openshot-qt: error: unrecognized arguments: -v
sam@sam-ThinkPad-Edge-E430:~$ openshot-qt -V
Loaded modules from installed directory: /usr/lib/python3/dist-packages/openshot_qt
OpenShot version 2.5.0-dev1
sam@sam-ThinkPad-Edge-E430:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 19.04
Release: 19.04
Codename: disco
sam@sam-ThinkPad-Edge-E430:~$
Or maybe python 2.7 isn't installed on my laptop.
sam@sam-ThinkPad-Edge-E430:~$ update-alternatives --list python /usr/bin/python3.7
But python2 is installed,but
sam@sam-ThinkPad-Edge-E430:~$ python2 Python 2.7.16 (default, Oct 7 2019, 17:36:04) [GCC 8.3.0] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>>
I have to start it via _python2_
when I use python:
sam@sam-ThinkPad-Edge-E430:~$ python Python 3.7.3 (default, Oct 7 2019, 12:56:13) [GCC 8.3.0] on linux Type "help", "copyright", "credits" or "license" for more information. >>>
This issue is similar to: https://github.com/OpenShot/openshot-qt/issues/3220
I did this
Linux Build Instructions
and did this
sam@sam-ThinkPad-Edge-E430:~$ sudo bash root@sam-ThinkPad-Edge-E430:~# apt update && apt upgrade
and everithing is fine.
The core problem was that you still had an older version of libopenshot installed that wasn't compatible with the latest openshot-qt code — unfortunately, upgrading the openshot-qt package via PPA doesn't necessarily update all of its dependencies (a bug in the current apt packaging). When you ran the apt upgrade, the previously-installed libopenshot16 or libopenshot17 would've been replaced with the current libopenshot18 release that corresponds to OpenShot 2.5.0.
I also ran into this issue with using the PPA after having installed OpenShot from Xubuntu 18.04 default repositories.
Removing all libopenshot and keep only libopenshot19* fixed it for v2.5.1-dev2.
Thanks! :smile:
Most helpful comment
I did this
Linux Build Instructions
and did this
and everithing is fine.