Openshot stopped working on my friend's laptop. Running it in a terminal produces this. I suspect a python library it needs was removed.
------------------------- ERROR 1 ------------------------------
Failed to import 'from openshot import main'
Error Message: cannot import name main
----------------------------------------------------------------
------------------------- ERROR 2 ------------------------------
Failed to import 'from openshot.openshot import main'
Error Message: 'NoneType' object has no attribute 'set_cursor'
----------------------------------------------------------------
Tried:
- Reinstalling openshot
- Searching for the error reveals this bug, but I don't have the locale problem.
Try renaming the openshot config folder and restarting openshot i.e.
N.B. looking at the OpenShot forums - this solution is frequently quoted for these short of python issue.
source
I had the same problem, all was working fine but suddenly openshot stop functioning!
I've found a solution:
ffmpeg
....openshot
in my personal files (use Crlt H, to see the hidden files)...And it worked just fine ... :D
It's a problem in the
~/.openshot/config.xml
file.I don't know if it's a rule, but in my case it's always related to the
<vpane_position>
value.Replacing in a broken file:
with the deault value:
for me does the trick.
If it works for you, for safety, you could create a backup of a working config.xml file to be able to restore it without loosing your actual configuration: