FS#23462 - [openshot] [mlt] [mlt-python-bindings] Openshot fails to launch

Attached to Project: Community Packages
Opened by Ronny Lövstrand (ronnylov) - Sunday, 27 March 2011, 09:09 GMT
Last edited by Sergej Pupykin (sergej) - Wednesday, 19 October 2011, 14:42 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sergej Pupykin (sergej)
Florian Pritz (bluewind)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description: Openshot video editor fails to launch.


Additional info:
openshot version 1.3.0-2
mlt 0.6.2-2
mlt-python-bindings 0.6.2-2


Steps to reproduce:
Install openshot as package with pacman and then run openshot.

Output when trying to start openshot:
[code]--------------------------------
OpenShot (version 1.3.0)
--------------------------------
Process no longer exists: 4121. Creating new pid lock file.
*** ERROR: MLT Python bindings failed to import ***
*** ERROR: MLT Python bindings failed to import ***
*** ERROR: MLT Python bindings failed to import ***
Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 530, in __bootstrap_inner
self.run()
File "/usr/lib/python2.7/site-packages/openshot/classes/thumbnail.py", line 170, in run
mlt.Factory().init()
NameError: global name 'mlt' is not defined

*** ERROR: MLT Python bindings failed to import ***
-------------------------------------------------------
Error: OpenShot has not been installed in the Python path.
(Both the site-packages and /usr/share/openshot folders were checked)

Use the following command to install OpenShot:
$ sudo python setup.py install[/code]

Then I compiled and installed openshot from ABS and no difference.
But reinstalling mlt and mlt-python-bindings from ABS solved the problem.
My guess is that the problem is caused by bad mlt package that needs a rebuild.

I did also some additional steps so I am not completely sure what change fixed the problem.
More info here: https://bbs.archlinux.org/viewtopic.php?id=114806
This task depends upon

Closed by  Sergej Pupykin (sergej)
Wednesday, 19 October 2011, 14:42 GMT
Reason for closing:  No response
Additional comments about closing:  and works for me
Comment by andrews (andrews) - Monday, 04 April 2011, 07:28 GMT
  • Field changed: Percent Complete (100% → 0%)
broken again from the last mlt upgrade
mlt 0.7.0-2
mlt-python-bindings 0.7.0-2
Comment by Florian Pritz (bluewind) - Monday, 04 April 2011, 09:47 GMT
Could you try installing python (3)? For some reason this seems to fix the bug for me.
Comment by Florian Pritz (bluewind) - Monday, 04 April 2011, 10:26 GMT
nvm I've found the real bug. mlt has been built against python3, but I've fixed it now.
Comment by Kaspar Bumke (kasbah) - Saturday, 01 October 2011, 12:18 GMT
same problem on:

mlt 0.7.4-1.1
mlt-python-bindings 0.7.4-1.1
openshot 1.3.1-2

Comment by Florian Pritz (bluewind) - Saturday, 01 October 2011, 12:57 GMT
Works for me.

Also: When reopening bugs, please update first. Current version is openshot 1.4.0-1

Edit: Never mind that. I didn't know that flyspray doesn't set the comment's date to when you requested reopening.

Loading...