Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#76755 - [openshot] Openshot exits immediately with exception

Attached to Project: Community Packages
Opened by Mark (fiddlinmacx) - Tuesday, 06 December 2022, 12:22 GMT
Last edited by Toolybird (Toolybird) - Wednesday, 07 December 2022, 20:27 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To No-one
Architecture x86_64
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
openshot-qt exits immediately with the following errors:
```
Traceback (most recent call last):
File "/usr/lib/python3.10/site-packages/openshot_qt/launch.py", line 81, in <module>
from classes import info
ImportError: cannot import name 'info' from 'classes' (unknown location)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/bin/openshot-qt", line 5, in <module>
from openshot_qt.launch import main
File "/usr/lib/python3.10/site-packages/openshot_qt/launch.py", line 85, in <module>
from classes import info
ImportError: cannot import name 'info' from 'classes' (unknown location)
```

Additional info:
* Openshot package 3.0.0-1

Steps to reproduce:
Launch openshot-qt from the terminal.
This task depends upon

Closed by  Toolybird (Toolybird)
Wednesday, 07 December 2022, 20:27 GMT
Reason for closing:  Works for me
Comment by Antonio Rojas (arojas) - Tuesday, 06 December 2022, 12:36 GMT
What is the output of

python -c "from openshot_qt import OPENSHOT_PATH; print(OPENSHOT_PATH)"
Comment by Mark (fiddlinmacx) - Tuesday, 06 December 2022, 15:20 GMT
/usr/lib/python3.10/site-packages/openshot_qt
Comment by Antonio Rojas (arojas) - Tuesday, 06 December 2022, 15:35 GMT
Do you have this installed?

https://pypi.org/project/classes/
Comment by Mark (fiddlinmacx) - Tuesday, 06 December 2022, 15:57 GMT
Not in my home folder (i.e. in .local). I see it in site-packages for a number of titles, including openshot, though.
Comment by Antonio Rojas (arojas) - Tuesday, 06 December 2022, 16:59 GMT
So is there a /usr/lib/python3.10/site-packages/classes dir?
Comment by Mark (fiddlinmacx) - Tuesday, 06 December 2022, 17:41 GMT
No. I only see it in /usr/lib/python3.10/site-packages/openshot-qt/classes.
Comment by Toolybird (Toolybird) - Tuesday, 06 December 2022, 21:18 GMT
Works for me in a fresh VM.
Comment by Antonio Rojas (arojas) - Tuesday, 06 December 2022, 21:42 GMT
what about

python -c "import classes; print(classes.__file__)"
Comment by Mark (fiddlinmacx) - Tuesday, 06 December 2022, 22:32 GMT
None
Comment by Toolybird (Toolybird) - Wednesday, 07 December 2022, 20:27 GMT
There are no other reports about this. openshot fires up perfectly in 3 different fresh VM's I just tried (XFCE, GNOME, KDE/Plasma). Conclusion: something is amiss and/or interfering on the reporter's system. Probably best to try the support channels (forum/IRC/etc) to see if anyone can assist in debugging the problem.

Loading...