Openshot for Debian?

Asked by geaplanet

Has someone tryed before an OpenShot installation in Debian?

Thanks.

Question information

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

I have not tried it on Debian, just Ubuntu. Assuming all of the libraries are available that OpenShot needs in the build wizard, it should work... I think. Not a lot of confidence there... but I wish you good luck!

Revision history for this message
Greg Eden (grege) said :
#2

Openshot installs OK under Debian Sid, but when I run it I get this. Debian still uses Python 2.5 so maybe that is part of the issue, or maybe a missing Python library.

Anyhow I am about to uninstall and try the wizard, i will let you know.

greg@greg-debian:~$ openshot
--------------------------------
   OpenShot (version 0.9.22)
--------------------------------
/usr/local/share/openshot/main/windows/SimpleGladeApp.py:338: GtkWarning: gtk_toolbar_set_icon_size: assertion `icon_size != GTK_ICON_SIZE_INVALID' failed
  return gtk.glade.XML(self.glade_path, root, domain)
A new frmMain has been created
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/lib/python2.5/threading.py", line 486, in __bootstrap_inner
    self.run()
  File "/usr/local/share/openshot/main/classes/thumbnail.py", line 165, in run
    mlt.Factory().init()
NotImplementedError: Wrong number of arguments for overloaded function 'Factory_init'.
  Possible C/C++ prototypes are:
    init(char const *)
    Mlt::Factory::init()

Traceback (most recent call last):
  File "/usr/local/share/openshot/main/OpenShot.py", line 46, in <module>
    form1 = MainGTK.frmMain(project=current_project, version=openshot_version)
  File "/usr/local/share/openshot/main/windows/MainGTK.py", line 209, in __init__
    self.project.RefreshXML()
  File "/usr/local/share/openshot/main/classes/project.py", line 169, in RefreshXML
    self.GenerateXML("westley.xml")
  File "/usr/local/share/openshot/main/classes/project.py", line 150, in GenerateXML
    self.sequences[0].GenerateXML(dom, tractor1)
  File "/usr/local/share/openshot/main/classes/sequences.py", line 177, in GenerateXML
    fps = self.project.fps()
  File "/usr/local/share/openshot/main/classes/project.py", line 77, in fps
    fps = profiles.mlt_profiles().get_profile(self.project_type).fps()
  File "/usr/local/share/openshot/main/classes/profiles.py", line 40, in __init__
    p = mlt.Profile(file_path)
  File "/usr/local/lib/python2.5/site-packages/mlt.py", line 372, in __init__
    this = _mlt.new_Profile(*args)
NotImplementedError: Wrong number of arguments for overloaded function 'new_Profile'.
  Possible C/C++ prototypes are:
    Mlt::Profile()
    Mlt::Profile(char const *)
    Mlt::Profile(Mlt::Properties &)
    Mlt::Profile(mlt_profile)

greg@greg-debian:~$

Revision history for this message
Greg Eden (grege) said :
#3

The wizard did not work, I think my Python setup needs work.

Revision history for this message
Greg Eden (grege) said :
#4

OK, I started again and ran the wizard again. With a bit of trial and error it will work with Debian Sid AMD64.

I selected Ubuntu 8.04 64bit which should match Debian's Python config better. And it did!

So, yes it can work with Debian

It may be as simple as installing the provided 8.04 debs, but I have it working now using the wizard so I will leave well enough alone.

Thanks Jonathan

Revision history for this message
Jonathan Thomas (jonoomph) said :
#5

That's great news Greg! Thanks for looking into this. I'm glad everything works on Debian!

Revision history for this message
Nano (fermace1) said :
#6

I tried to install in Debian Squeeze with the wizard. I had some problems of dependencies but i can fix them. But one error i can fix. When i run the program they say:

_________________________________________
nano@nano-laptop:~$ python /home/nano/openshot/main/OpenShot.py
--------------------------------
OpenShot (version 0.9.26)
--------------------------------
/home/nano/openshot/main/windows/SimpleGladeApp.py:338: GtkWarning: gtk_toolbar_set_icon_size: assertion `icon_size != GTK_ICON_SIZE_INVALID' failed
return gtk.glade.XML(self.glade_path, root, domain)
A new frmMain has been created
Quitting: ptrace: No existe el proceso.
nano@nano-laptop:~$

I use the same option 8.04 but 32bits.

I tried to change the icons size but nothig.

Any idea?

Revision history for this message
Greg Eden (grege) said :
#7

Nano,

The GTK icons error is not what is stopping the program running. I get that too and the program still runs.

It is almost certainly a missing python library. I also had to install bzr to get it to install correctly.

bzr
bzr-buliddeb
bzr-tools

These are some that I have installed. I am trying to write my own Python app so I can no longer tell what is necessary

python-cairo
python-central
python-glade2
python-gobject
python-imaging
python-kiwi
python-libxml2
python-lxml
python-metacity
python-mutagen
python-numpy
python-opengl
python-pexpect
python-pkg-resources
python-pycurl
python-pygments
python-pygoocanvas
python-pyorbit
python-qscintilla2
python-rdflib
python-renderpm
python-rsvg
python-smartpm
python-sip4
python-support
python-tagpy
python-tk
python-vte
python-wnck
python-xdg

I have others that do not seem relevant but may be. Also I have all the qt stuff as I am running KDE 4.3 and my app is a plasmoid

NOTE:

I had to run the install script as sudo (I have created a sudo for my user account) then when the program finished I had to change to permissions on /home/nano/openshot/ and all inside to my user ownership.

Revision history for this message
Jonathan Thomas (jonoomph) said :
#8

You might try and test the mlt Python bindings with this command:

$ python
>> import mlt

If you get the error "ImportError: No module named mlt", then the mlt
bindings were not installed correctly. Please let us know the results of
this test.

Thanks,
-Jonathan

On Fri, Aug 28, 2009 at 8:38 PM, Greg Eden <
<email address hidden>> wrote:

> Question #79205 on OpenShot Video Editor changed:
> https://answers.launchpad.net/openshot/+question/79205
>
> Greg Eden proposed the following answer:
> Nano,
>
> The GTK icons error is not what is stopping the program running. I get
> that too and the program still runs.
>
> It is almost certainly a missing python library. I also had to install
> bzr to get it to install correctly.
>
> bzr
> bzr-buliddeb
> bzr-tools
>
> These are some that I have installed. I am trying to write my own Python
> app so I can no longer tell what is necessary
>
> python-cairo
> python-central
> python-glade2
> python-gobject
> python-imaging
> python-kiwi
> python-libxml2
> python-lxml
> python-metacity
> python-mutagen
> python-numpy
> python-opengl
> python-pexpect
> python-pkg-resources
> python-pycurl
> python-pygments
> python-pygoocanvas
> python-pyorbit
> python-qscintilla2
> python-rdflib
> python-renderpm
> python-rsvg
> python-smartpm
> python-sip4
> python-support
> python-tagpy
> python-tk
> python-vte
> python-wnck
> python-xdg
>
> I have others that do not seem relevant but may be. Also I have all the
> qt stuff as I am running KDE 4.3 and my app is a plasmoid
>
> NOTE:
>
> I had to run the install script as sudo (I have created a sudo for my
> user account) then when the program finished I had to change to
> permissions on /home/nano/openshot/ and all inside to my user ownership.
>
> --
> You received this question notification because you are an answer
> contact for OpenShot Video Editor.
>

Revision history for this message
Nano (fermace1) said :
#9

Jonathan, i think this is not the problem:

nano@nano-laptop:~$ python
Python 2.5.4 (r254:67916, Feb 17 2009, 20:16:45)
[GCC 4.3.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import mlt
>>> quit
Use quit() or Ctrl-D (i.e. EOF) to exit
>>> quit()
nano@nano-laptop:~$

Greg, i install bzr but the problem persists.

I copy in http://pastebin.com/f64cecd6e the full archive of bug buddy, maybe it can help.

Sorry about my english and my low experience in this kind of problems.

Thanks.

Revision history for this message
Nano (fermace1) said :
#10

Greg i try to install all list os packages you post but they can't solve the problem. I re-install using sudo but the error persists.

At the end of instalation the wizard show that:

Configuring MLT...
Configuring framework:
Configuring modules:
Configuring modules/avformat:
Configuring modules/core:
Configuring modules/dgraft:
Configuring modules/dv:
- libdv not found: disabling
Configuring modules/effectv:
Configuring modules/feeds:
Configuring modules/frei0r:
Configuring modules/gtk2:
Configuring modules/jackrack:
- jackrack not found: disabling
- xml2 not found: disabling jackrack
- ladspa not found; disabling
Configuring modules/kdenlive:
Configuring modules/kino:
- libquicktime not found: only enabling dv avi support
Configuring modules/linsys:
Configuring modules/lumas:
Configuring modules/melt:
Configuring modules/motion_est:
Configuring modules/normalize:
Configuring modules/oldfilm:
Configuring modules/plus:
Configuring modules/resample:
- libsamplerate not found: disabling
Configuring modules/sdl:
- sdl development libs not found: disabling
Configuring modules/vmfx:
Configuring modules/vorbis:
Configuring modules/xine:
Configuring modules/xml:
- xml2 not found: disabling xml module
Configuring melt:
Configuring mlt++:
Configuring swig:
GPL License Used

and a image when i run the openshot:

http://img340.imageshack.us/img340/4233/pantallazou.png

Revision history for this message
Nano (fermace1) said :
#11

I get it. I was wrong when i think that i fix all the dependencies, now i install libxml-dev that is necessary to run.

Well now its time to test OpenShot under Debian Squeeze.

Thanks for all.

Revision history for this message
deimidis (guillermo-movia) said :
#12

Hi, I'm trying to install openshot in Debian/testing. The opnly problem seems to be mlt installation, I had this error at the make step:

/usr/include/gtk-2.0/gdk/gdkcairo.h:39: error: expected ‘)’ before ‘*’ token
/usr/include/gtk-2.0/gdk/gdkcairo.h:43: error: expected ‘)’ before ‘*’ token
/usr/include/gtk-2.0/gdk/gdkcairo.h:48: error: expected ‘)’ before ‘*’ token
/usr/include/gtk-2.0/gdk/gdkcairo.h:50: error: expected ‘)’ before ‘*’ token
In file included from /usr/include/gtk-2.0/gdk/gdk.h:39,
                 from factory.c:24:
/usr/include/gtk-2.0/gdk/gdkdrawable.h:201: error: expected specifier-qualifier-list before ‘cairo_surface_t’
make[2]: *** [factory.o] Error 1
make[2]: se sale del directorio `/home/xxx/mlt/src/modules/gtk2'
make[1]: *** [install] Error 1
make[1]: se sale del directorio `/home/xxx/mlt/src/modules'
make: *** [install] Error 1

Anybody has some hints about the problem?

Thanks!

Revision history for this message
Jonathan Thomas (jonoomph) said :
#13

I have not seen that error before. I do know at least one person that has
successfully build MLT for the Debian Testing distro. So, I know it's
possible, but I'm not sure what you are doing incorrectly. MLT has a
mailing list. You might search their archives and website... and send an
email if you still need help.

Thanks,
-Jonathan

On Sat, Nov 7, 2009 at 10:58 AM, deimidis <
<email address hidden>> wrote:

> Question #79205 on OpenShot Video Editor changed:
> https://answers.launchpad.net/openshot/+question/79205
>
> deimidis proposed the following answer:
> Hi, I'm trying to install openshot in Debian/testing. The opnly problem
> seems to be mlt installation, I had this error at the make step:
>
> /usr/include/gtk-2.0/gdk/gdkcairo.h:39: error: expected ‘)’ before ‘*’
> token
> /usr/include/gtk-2.0/gdk/gdkcairo.h:43: error: expected ‘)’ before ‘*’
> token
> /usr/include/gtk-2.0/gdk/gdkcairo.h:48: error: expected ‘)’ before ‘*’
> token
> /usr/include/gtk-2.0/gdk/gdkcairo.h:50: error: expected ‘)’ before ‘*’
> token
> In file included from /usr/include/gtk-2.0/gdk/gdk.h:39,
> from factory.c:24:
> /usr/include/gtk-2.0/gdk/gdkdrawable.h:201: error: expected
> specifier-qualifier-list before ‘cairo_surface_t’
> make[2]: *** [factory.o] Error 1
> make[2]: se sale del directorio `/home/xxx/mlt/src/modules/gtk2'
> make[1]: *** [install] Error 1
> make[1]: se sale del directorio `/home/xxx/mlt/src/modules'
> make: *** [install] Error 1
>
> Anybody has some hints about the problem?
>
> Thanks!
>
> --
> You received this question notification because you are an answer
> contact for OpenShot Video Editor.
>

Can you help with this problem?

Provide an answer of your own, or ask geaplanet for more information if necessary.

To post a message you must log in.