← Back to team overview

openshot.developers team mailing list archive

[Bug 482985] Re: openshot won't open in Ubuntu 9.10

 

I've did some research and have found the following.

Packaging of libmlt++ is incorrect. 
File /usr/lib/libmlt++.so.2 is listed somewhere in the package contents, but it is not included in the package. 
File /usr/lib/libmlt++.so is included only in the -dev package (libmlt++-dev).

Here is the output of several comands on my system - Karmik with all
updates

$ apt-file search libmlt++                                                                      
libmlt++-dev: /usr/lib/libmlt++.so                                                                               
libmlt++-dev: /usr/share/doc/libmlt++-dev/changelog.Debian.gz                                                    
libmlt++-dev: /usr/share/doc/libmlt++-dev/changelog.gz                                                           
libmlt++-dev: /usr/share/doc/libmlt++-dev/copyright                                                              
libmlt++2: /usr/lib/libmlt++.so.0.4.4                                                                            
libmlt++2: /usr/lib/libmlt++.so.2                                                                                
libmlt++2: /usr/share/doc/libmlt++2/changelog.Debian.gz                                                          
libmlt++2: /usr/share/doc/libmlt++2/changelog.gz                                                                 
libmlt++2: /usr/share/doc/libmlt++2/copyright     

$ aptitude show libmlt++2
Package: libmlt++2                        
State: installed      

However, my system doesn't contain a file  /usr/lib/libmlt++.so.2

$ locate libmlt++.so.2
$ 


$ dpkg -L libmlt++2
/.
/usr
/usr/share
/usr/share/doc
/usr/share/doc/libmlt++2
/usr/share/doc/libmlt++2/copyright
/usr/lib
/usr/lib/libmlt++.so.0.4.10
/usr/share/doc/libmlt++2/NEWS.gz
/usr/share/doc/libmlt++2/changelog.gz
/usr/share/doc/libmlt++2/changelog.Debian.gz
/usr/share/doc/libmlt++2/AUTHORS
/usr/share/doc/libmlt++2/README
/usr/lib/libmlt++.so.3

$ apt-file search /usr/lib/libmlt++.so.2
libmlt++2: /usr/lib/libmlt++.so.2


I think, libmlt++ should be repackaged to include libmlt++.so, and libmlt++.so.2. Probably, these should be symbolic links to the actual .so file (libmlt++.so.0.4.10).

-- 
openshot won't open in Ubuntu 9.10
https://bugs.launchpad.net/bugs/482985
You received this bug notification because you are a member of OpenShot
Developers, which is subscribed to OpenShot Video Editor.

Status in OpenShot Video Editor: Incomplete
Status in Ubuntu: New

Bug description:
Every time I try and open openshot it comes up with this error
OpenShot (version 0.9.53)
--------------------------------
*** 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.6/threading.py", line 525, in __bootstrap_inner
    self.run()
  File "/usr/share/openshot/classes/thumbnail.py", line 174, in run
    mlt.Factory().init()
NameError: global name 'mlt' is not defined

-------------------------------------------------------
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

user@user-desktop:~$ sudo python setup.py install
[sudo] password for user: 
python: can't open file 'setup.py': [Errno 2] No such file or directory





Follow ups

References