Package for OpenSuSE 11.1 64bits (rpm)

Asked by StudioZ

Hi, any plans to make an RPM version of this software?

I use opensuse 11.1 64bits and used Alien to convert the .deb package to .rpm and satisfied all dependencies (ffmpeg, x264, frei0r and mlt) via Zypper package manager. When I use Zypper to install the .rpm of OpenShot I get this output:

+++++++
Additional rpm output:
cp: cannot stat `/usr/local/share/openshot/main/install/mlt.py': No such file or directory
cp: cannot stat `/usr/local/share/openshot/main/install/_mlt.so': No such file or directory
cp: cannot stat `/usr/local/share/openshot/main/install/mlt_wrap.o': No such file or directory
Python postinst starting...
--------------------------------------------
Copying MLT python bindings to: /usr/lib64/python2.6/site-packages
Python postinst successfully completed!
+++++++

And when I try to run it I get this:

+++++++
rodnei@rodstation:~/Downloads/openshot/deb> openshot
--------------------------------
   OpenShot (version 0.9.22)
--------------------------------
Traceback (most recent call last):
  File "/usr/local/share/openshot/main/OpenShot.py", line 33, in <module>
    import windows.MainGTK as MainGTK
  File "/usr/local/share/openshot/main/windows/MainGTK.py", line 26, in <module>
    import classes.project
  File "/usr/local/share/openshot/main/classes/project.py", line 20, in <module>
    import thumbnail as thumbnail
  File "/usr/local/share/openshot/main/classes/thumbnail.py", line 19, in <module>
    import mlt
ImportError: No module named mlt
+++++++

I'm not a Linux expert, but can you give me some hints about what is wrong? Maybe with some help I can make it work. My versions of dependencies packages are:

mlt-0.4.2-0.pm.1
x264-0.0svn20090824-0.pm.1.1
ffmpeg-0.5-0.pm.3
frei0r-plugins-1.1.22-0.pm.2

Thank you and sorry my bad English!
-Rodnei from Brazil

Question information

Language:
English Edit question
Status:
Solved
For:
OpenShot Video Editor Edit question
Assignee:
No assignee Edit question
Solved by:
Jonathan Thomas
Solved:
Last query:
Last reply:
Revision history for this message
Best Jonathan Thomas (jonoomph) said :
#1

Thanks for the question Rodnei from Brazil! =) Those 3 files that failed to copy, should be located in the MLT.deb that is in the OpenShot dependencies. If you can find the 3 files, copy them to your Python /site-packages/ folder. If you do it correctly, you should be able to run these 2 commands:

$ python
>> import mlt

If you get "ImportError: No module named mlt", then you put them in the wrong place. If you can't find your site-packages folder, just put the files somewhere in your Python path. To find your Python path, use these commands:

$ python
>> import sys
>> sys.path

Good luck!

Revision history for this message
StudioZ (rodneireis-z) said :
#2

Thanks Jonathan Thomas, that solved my question.

Revision history for this message
StudioZ (rodneireis-z) said :
#3

Thank you very much Thomas! Here is what I do:

Copied the 3 files to '/usr/lib64/python2.6/site-packages' and get this when run the 'import mlt':

+++++
>>> import mlt
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "mlt.py", line 7, in <module>
    import _mlt
ImportError: libmlt++.so.2: cannot open shared object file: No such file or directory
+++++

Then I install libmlt++2 from Packman repositorie (libmlt++2-0.4.2-0.pm.1.x86_64.rpm), run the python command again and no errors. OpenShot open nice and smooth :-)

I'll test the software and report any problem. Thank you again!
-Rodnei from Brazil

Revision history for this message
Helen McCall (wildnfree) said :
#4

Hello Rodnei,

Glad it worked.

Will you also let us know what you think of OpenShot?

Many thanks, Helen

Revision history for this message
StudioZ (rodneireis-z) said :
#5

Hi Helen,

It's a very nice software, simple and functional.