Openshot 1.4.1 crash at start up

Post your questions about Openshot here.

Moderators: Andy, Cenwen, beats

Openshot 1.4.1 crash at start up

Postby cortezthekiller » Sat Feb 04, 2012 1:19 am

Hi,

I just found out Openshot and looks like a very useful tool. But I couldnt get it to start so far ...

$ openshot
------------------------- ERROR 1 ------------------------------
Failed to import 'from openshot import main'
Error Message: cannot import name main
----------------------------------------------------------------
Gtk-Message: Failed to load module "rgba"
--------------------------------
OpenShot (version 1.4.1)
--------------------------------
Process no longer exists: 12011. Creating new pid lock file.

Detecting formats, codecs, and filters...
Violación de segmento


I've seen a lots of similar errors to mine in the forum, but I havent been able to fix it yet.
Any help would be appreciated. Thank you very much in adnvance.
Rod

P.D.: running Ubuntu 11.10

More info from the /var/log
Feb 4 10:37:45 rod-desktop kernel: [ 309.989526] openshot[2373]: segfault at 4 ip 09916d17 sp bfe69fe0 error 4 in libmlt.so.0.7.4[990b000+25000]
Feb 4 10:40:12 rod-desktop kernel: [ 457.098229] openshot[2494]: segfault at 4 ip 02425d17 sp bff221d0 error 4 in libmlt.so.0.7.4[241a000+25000]
cortezthekiller
New member
 
Posts: 3
Joined: Sat Feb 04, 2012 1:12 am

Re: Openshot 1.4.1 crash at start up

Postby cortezthekiller » Sat Feb 04, 2012 12:09 pm

I tried several things, but still not working, I got the very same error again.

I've updated to libmlt 0.7.6 --> again segfault (/var/log/syslog):

Feb 4 12:26:22 rod-desktop kernel: [ 6826.935690] openshot[30424]: segfault at 4 ip 00c6aed7 sp bff78560 error 4 in libmlt.so.0.7.6[c5f000+26000]
Feb 4 12:26:35 rod-desktop kernel: [ 6840.227257] openshot[30442]: segfault at 4 ip 04c50ed7 sp bf8ae510 error 4 in libmlt.so.0.7.6[4c45000+26000]


I went also through the following steps:

1. Remove openshot
2. remove al "mlt" and "melt" packages from my system
3. Install openshot again:

$ sudo apt-get install openshot openshot-doc
Leyendo listas de paquetes... Hecho
Creando árbol de dependencias
Leyendo la información de estado... Hecho
openshot-doc ya está en su versión más reciente.
Se instalarán los siguientes paquetes extras:
libmlt++3 libmlt-data libmlt4 melt python-mlt3
Paquetes sugeridos:
blender inkscape
Se instalarán los siguientes paquetes NUEVOS:
libmlt++3 libmlt-data libmlt4 melt openshot python-mlt3
0 actualizados, 6 se instalarán, 0 para eliminar y 15 no actualizados.
Se necesita descargar 0 B/20,1 MB de archivos.
Se utilizarán 53,9 MB de espacio de disco adicional después de esta operación.
¿Desea continuar [S/n]? s
Seleccionando el paquete libmlt4 previamente no seleccionado.
(Leyendo la base de datos ... 222267 ficheros o directorios instalados actualmente.)
Desempaquetando libmlt4 (de .../libmlt4_0.7.4-3_i386.deb) ...
Seleccionando el paquete libmlt++3 previamente no seleccionado.
Desempaquetando libmlt++3 (de .../libmlt++3_0.7.4-3_i386.deb) ...
Seleccionando el paquete libmlt-data previamente no seleccionado.
Desempaquetando libmlt-data (de .../libmlt-data_0.7.4-3_all.deb) ...
Seleccionando el paquete melt previamente no seleccionado.
Desempaquetando melt (de .../archives/melt_0.7.4-3_i386.deb) ...
Seleccionando el paquete python-mlt3 previamente no seleccionado.
Desempaquetando python-mlt3 (de .../python-mlt3_0.7.4-3_i386.deb) ...
Seleccionando el paquete openshot previamente no seleccionado.
Desempaquetando openshot (de .../openshot_1.4.1-1_all.deb) ...
Procesando disparadores para man-db ...
Procesando disparadores para shared-mime-info ...
Unknown media type in type 'all/all'
Unknown media type in type 'all/allfiles'
Unknown media type in type 'uri/mms'
Unknown media type in type 'uri/mmst'
Unknown media type in type 'uri/mmsu'
Unknown media type in type 'uri/pnm'
Unknown media type in type 'uri/rtspt'
Unknown media type in type 'uri/rtspu'
Unknown media type in type 'interface/x-winamp-skin'
Procesando disparadores para gnome-menus ...
Procesando disparadores para desktop-file-utils ...
Procesando disparadores para bamfdaemon ...
Rebuilding /usr/share/applications/bamf.index...
Configurando libmlt4 (0.7.4-3) ...
Configurando libmlt++3 (0.7.4-3) ...
Configurando libmlt-data (0.7.4-3) ...
Configurando melt (0.7.4-3) ...
Configurando python-mlt3 (0.7.4-3) ...
Configurando openshot (1.4.1-1) ...
Procesando disparadores para libc-bin ...
ldconfig deferred processing now taking place
Procesando disparadores para python-support ...


rodrigo@rod-desktop:~$ openshot

------------------------- ERROR 1 ------------------------------
Failed to import 'from openshot import main'
Error Message: cannot import name main
----------------------------------------------------------------
Gtk-Message: Failed to load module "rgba"
--------------------------------
OpenShot (version 1.4.1)
--------------------------------

Detecting formats, codecs, and filters...
Violación de segmento
cortezthekiller
New member
 
Posts: 3
Joined: Sat Feb 04, 2012 1:12 am

Re: Openshot 1.4.1 crash at start up

Postby Cenwen » Sat Feb 04, 2012 3:25 pm

Hi,

First thing to do, update your version of MLT. This one (the 0.7.4) is full of bugs/regression on Oneiric (but not for the others :shock: ).
See here how to release this operation : https://answers.launchpad.net/openshot/+faq/1861
By the way, you should take a look if you have all dependencies=>http://openshotusers.com/forum/viewtopic.php?f=12&t=1060

Secondly, it seems to be a bug of MLT. But I am not really sure of that.
After upgrade to the last version of MLT and check if this issue is always present, try to run Openshot in a console using this thread : http://openshotusers.com/forum/viewtopic.php?f=12&t=180
It is the only way that we have to see where is the problem (segfault).
Le jour où j'ai découvert le libre, j'ai su que je ne reviendrai jamais en arrière
Mon blog sur le multimédia, la photo et Openshot : http://linuxevolution.wordpress.com/
Google+ : https://plus.google.com/u/0/111472725110173916234/posts
User avatar
Cenwen
Moderator
 
Posts: 1609
Joined: Wed Nov 18, 2009 4:07 pm
Location: Clermont-Ferrand-Auvergne-France

Re: Openshot 1.4.1 crash at start up

Postby Andy » Sat Feb 04, 2012 4:40 pm

The problem is the line

Code: Select all
Gtk-Message: Failed to load module "rgba"


I don't think that is directly related to MLT or Openshot, it's a specific GTK module used to add transparency to windows. So you might want to try changing your theme, or try googling for that error message.
User avatar
Andy
Site Admin/Openshot Dev
 
Posts: 874
Joined: Mon Nov 16, 2009 10:51 am
Location: London

Re: Openshot 1.4.1 crash at start up

Postby spycxamaican » Thu Jul 05, 2012 6:02 pm

I have been using openshot for 10 months on openSUSE 12.1 with no issues. However since I did an update recently openshot has stopped working. All the solutions I found involves installing PPA for UBUNTU/Debian.

This is the error I get when I try to start openshot from konsole:
------------------------- ERROR 1 ------------------------------
Failed to import 'from openshot import main'
Error Message: cannot import name main
----------------------------------------------------------------
--------------------------------
OpenShot (version 1.4.2)
--------------------------------
Process no longer exists: 5701. Creating new pid lock file.
mlt_repository_init: failed to dlopen /usr/lib/mlt/libmltavformat.so
(/usr/lib/libavcodec.so.54: symbol av_timecode_init_from_string, version LIBAVUTIL_51 not defined in file libavutil.so.51 with link time reference)

Detecting formats, codecs, and filters...
Segmentation fault

openshot was the only video editor to work on my system.
spycxamaican
New member
 
Posts: 3
Joined: Thu Jul 05, 2012 5:49 pm

Re: Openshot 1.4.1 crash at start up

Postby spycxamaican » Thu Jul 05, 2012 6:10 pm

I just reinstalled FFmpeg and that seemed to fix the issue.
spycxamaican
New member
 
Posts: 3
Joined: Thu Jul 05, 2012 5:49 pm

Re: Openshot 1.4.1 crash at start up

Postby spycxamaican » Fri Jul 06, 2012 4:04 am

Thought I fixed the issue when FFmpeg was re-installed. Apparently openshot runs fine when launched from konsole. However, when started without konsole it closes immediately.

This is the error message from konsole:
------------------------- ERROR 1 ------------------------------
Failed to import 'from openshot import main'
Error Message: cannot import name main
----------------------------------------------------------------
--------------------------------
OpenShot (version 1.4.2)
--------------------------------
Process no longer exists: 7475. Creating new pid lock file.

Detecting formats, codecs, and filters...
---
video_codecs:
- a64multi
- a64multi5
- amv
- asv1
- asv2
- avrp
- avui
- ayuv
- bmp
- cljr
- dnxhd
- dpx
- dvvideo
- ffv1
- ffvhuff
- flashsv
- flashsv2
- flv
- gif
- h261
- h263
- h263p
- huffyuv
- j2k
- jpegls
- ljpeg
- mjpeg
- mpeg1video
- mpeg2video
- mpeg4
- msmpeg4v2
- msmpeg4
- msvideo1
- pam
- pbm
- pcx
- pgm
- pgmyuv
- png
- ppm
- prores
- prores_anatoliy
- prores_kostya
- qtrle
- r10k
- r210
- rawvideo
- roqvideo
- rv10
- rv20
- sgi
- snow
- sunrast
- svq1
- targa
- tiff
- v210
- v308
- v408
- v410
- wmv1
- wmv2
- xbm
- xwd
- y41p
- yuv4
- zlib
- zmbv
- libschroedinger
- libtheora
- libvpx
- libx264
- libx264rgb
- libxvid
...
---
audio_codecs:
- aac
- ac3
- ac3_fixed
- alac
- dca
- eac3
- flac
- g723_1
- mp2
- nellymoser
- real_144
- sonic
- sonicls
- vorbis
- wmav1
- wmav2
- pcm_alaw
- pcm_f32be
- pcm_f32le
- pcm_f64be
- pcm_f64le
- pcm_mulaw
- pcm_s8
- pcm_s16be
- pcm_s16le
- pcm_s24be
- pcm_s24daud
- pcm_s24le
- pcm_s32be
- pcm_s32le
- pcm_u8
- pcm_u16be
- pcm_u16le
- pcm_u24be
- pcm_u24le
- pcm_u32be
- pcm_u32le
- roq_dpcm
- adpcm_adx
- g722
- g726
- adpcm_ima_qt
- adpcm_ima_wav
- adpcm_ms
- adpcm_swf
- adpcm_yamaha
- libfaac
- libmp3lame
- libopencore_amrnb
...
---
formats:
- a64
- ac3
- adts
- adx
- aiff
- amr
- asf
- ass
- asf_stream
- au
- avi
- avm2
- bit
- caf
- cavsvideo
- crc
- daud
- dirac
- dnxhd
- dts
- dv
- eac3
- ffm
- ffmetadata
- filmstrip
- flac
- flv
- framecrc
- framemd5
- g722
- g723_1
- gif
- gxf
- h261
- h263
- h264
- image2
- image2pipe
- ipod
- ismv
- ivf
- jacosub
- latm
- m4v
- md5
- matroska
- matroska
- microdvd
- mjpeg
- mlp
- mmf
- mov
- mp2
- mp3
- mp4
- mpeg
- vcd
- mpeg1video
- dvd
- svcd
- mpeg2video
- vob
- mpegts
- mpjpeg
- mxf
- mxf_d10
- null
- nut
- ogg
- oma
- alaw
- mulaw
- f64be
- f64le
- f32be
- f32le
- s32be
- s32le
- s24be
- s24le
- s16be
- s16le
- s8
- u32be
- u32le
- u24be
- u24le
- u16be
- u16le
- u8
- psp
- rawvideo
- rm
- roq
- rso
- rtp
- rtsp
- sap
- segment
- smjpeg
- sox
- spdif
- srt
- swf
- 3g2
- 3gp
- mkvtimestamp_v2
- truehd
- rcv
- voc
- wav
- webm
- wtv
- yuv4mpegpipe
- oss
...
state saved

At least I am able to use the software now.
spycxamaican
New member
 
Posts: 3
Joined: Thu Jul 05, 2012 5:49 pm


Return to General questions & help

Who is online

Users browsing this forum: No registered users