← Back to team overview

openshot.bugs team mailing list archive

[Bug 880512] Re: Segmentation fault when we launched Openshot

 

Hi everybody,

Thank you for your answer. I found the solution :

The list of dependencies and the addition of gnome-icon-theme is a BIG mistake.
The "Segmentation fault" was caused by a bad version of pygoocanvas and i don't install the gnome-icon-theme so it is useless for openshot ! We used a patched version of 0.12 with this correction :

But DON'T USE THE 0.13 OR UPPER ! Only the 0.12 with this code works !

goocanvasmodule.c :

static PyObject *
_cairo_pattern_from_gvalue(const GValue *value)
{
    return PycairoPattern_FromPattern(cairo_pattern_reference((cairo_pattern_t *) g_value_get_boxed(value)));
}

must be :

static PyObject *
_cairo_pattern_from_gvalue(const GValue *value)
{
    return PycairoPattern_FromPattern(cairo_pattern_reference((cairo_pattern_t *) g_value_get_boxed(value)),NULL);
}


Here is the list of sources we used to launch with success openshot-0.14 :
pygoocanvas-0.12 corrected with the precedent code and not an another version !
desktop-file-utils-0.18
faac-1.28
faad2-2.7
ffmpeg-0.8.5
freiOr-1.3
goocanvas-1.0.0
httplib2-0.7.1
Imaging-1.1.7
libdv-1.0.0
libogg-1.3.0
libsamplerate-0.1.8
libsndfile-1.0.25
libtheora-1.1.1
libvorbis-1.3.2
mlt-0.7.4 (export the LDFLAGS with these parameters before "make" : -lXext -lbz2 -lSDL -lXfixes -lX11 -lz -lm -lpng15 -L/usr/lib -lasound -L/usr/lib -L/usr/local/lib)
pulseaudio-1.1
pygobject-2.28.6
pygkt-2.24.0
pyxdg-0.19
SDL-1.2.14
sox-14.3.2
swig-2.0.4
x264-20111023
xvidcore-1.3.2
Python-2.7.2
GTK+-2.24.5
Cairo-1.10.2
Pango-1.29.3

Is it possible to update the documentation of openshot with the version of each program tested because :
- search the corrected version of each program was too difficult for a novice
- some of automated packages were wrong and can destroy some applications (for instance here a bad version of pygoocanvas can destroy Pitivi) ?

Thank you for your help and reading this message
In a friendly manner

-- 
You received this bug notification because you are a member of OpenShot
Bugs, which is subscribed to OpenShot Video Editor.
https://bugs.launchpad.net/bugs/880512

Title:
  Segmentation fault when we launched Openshot

Status in OpenShot Video Editor:
  New

Bug description:
  Hi everybody,

  We tried to install a new version of Openshot for our Linux distribution.
  With your sources, we have compiled and installed the 1.4.0 version.

  But when we launched it, we have this message :
  ------------------------- ERROR 1 ------------------------------
  Failed to import 'from openshot import main'
  Error Message: cannot import name main
  ----------------------------------------------------------------
  --------------------------------
     OpenShot (version 1.4.0)
  --------------------------------
  Process no longer exists: 5546.  Creating new pid lock file.
  Segmentation fault

  
  We have these versions of libraries and utilities installed :
  ffmpeg version 0.8.3, Copyright (c) 2000-2011 the FFmpeg developers
    built on Sep 17 2011 23:06:49 with gcc 4.6.1
    configuration: --enable-gpl --enable-x11grab --prefix=/usr --disable-yasm --enable-runtime-cpudetect
    libavutil    51.  9. 1 / 51.  9. 1
    libavcodec   53.  7. 0 / 53.  7. 0
    libavformat  53.  4. 0 / 53.  4. 0
    libavdevice  53.  1. 1 / 53.  1. 1
    libavfilter   2. 23. 0 /  2. 23. 0
    libswscale    2.  0. 0 /  2.  0. 0
    libpostproc  51.  2. 0 / 51.  2. 0

  Sox v14.3.2
  goocanvas-1.0.0
  freiOr-1.3
  Imaging-1.1.7
  mlt-0.7.4 (with --enable-gpl --swig-languages=python)
  SDL-1.2.14
  Swig-2.0.4
  pyxdg-0.19
  Python-2.7.2
  Cairo-1.10.2
  Pango-1.29.3

  Thank you very much in advance for your help and reading this message
  In a friendly manner

To manage notifications about this bug go to:
https://bugs.launchpad.net/openshot/+bug/880512/+subscriptions


References