← Back to team overview

openshot.developers team mailing list archive

[Bug 538651] Re: Unclear instructions given to user

 

Why did you remove all the mlt packages? The error you got on start-up
was referring to the 'melt' command line player, and specifically points
you to the Openshot preferences screen. The other bug you link to,
#482985, does not make any mention of this same error, so I'm not sure
what makes you think it was related to the problem you got.

But, for what it's worth, the error you got was referring to the fact
that the output of a melt command is parsed to detect what
codecs/formats mlt can detect on your system. The error is referring to
the fact that it cannot execute the command, either because melt is not
installed, or the melt package has a different name in Kubuntu.

-- 
Unclear instructions given to user
https://bugs.launchpad.net/bugs/538651
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: New

Bug description:
Kubuntu 9.10 64-bit, installed Openshot 1.1.0 from the PPA

Trying to start gives me this:

rhk@rubert:~/Datat/photos$ openshot
 --------------------------------
   OpenShot (version 1.1.0)
--------------------------------
A new frmMain has been created
No formats or codecs were found.  Please check the OpenShot preferences and configure the 'melt' command name.
rhk@rubert:~/Datat/photos$


So I headed to launchpad and saw this: https://bugs.edge.launchpad.net/openshot/+bug/482985

So I removed all mlt packages:
sudo apt-get purge libmlt++2 libmlt-data libmlt1 openshot openshot-doc
and removed mlt files:

rhk@rubert:/usr/lib/python2.6/dist-packages$ ls|grep mlt
mlt.py
mlt.pyc
_mlt.so
mlt_wrap.o
rhk@rubert:/usr/lib/python2.6/dist-packages$ sudo rm mlt*
[sudo] password for rhk: 
rhk@rubert:/usr/lib/python2.6/dist-packages$ sudo rm _mlt.so 

And then reinstalled openshot:

rhk@rubert:/usr/local$ wajig install openshot
Luetaan pakettiluetteloita... Valmis
Muodostetaan riippuvuussuhteiden puu       
Luetaan tilatiedot... Valmis        
Seuraavat ylimääräiset paketit on merkitty asennettaviksi:
  libmlt++2 libmlt-data libmlt1 melt openshot-doc python-mlt
Seuraavat UUDET paketit asennetaan:
  libmlt++2 libmlt-data libmlt1 melt openshot openshot-doc python-mlt
0 päivitetty, 7 uutta asennusta, 0 poistettavaa ja 8 päivittämätöntä.
Noudettavaa arkistoa 190kt/18,8Mt.

and tried to run openshot:

rhk@rubert:/usr/local$ openshot
--------------------------------
   OpenShot (version 1.1.0)
--------------------------------
*** ERROR: MLT Python bindings failed to import ***
*** 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

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/lib/pymodules/python2.6/openshot/classes/thumbnail.py", line 170, in run
    mlt.Factory().init()
NameError: global name 'mlt' is not defined

rhk@rubert:/usr/local$

Fine. So I run
sudo python setup.py install

just to get:
python: can't open file 'setup.py': [Errno 2] No such file or directory
rhk@rubert:/usr/local$ 


So I guess the bug here is that the command it recommends me to run does nothing - I guess it should point to a dir to actually do something useful..

(To figure out why Openshot's not starting, I'll go to https://bugs.edge.launchpad.net/openshot/+bug/482985 :)


Thanks!





References