← Back to team overview

openshot.developers team mailing list archive

[Bug 653549] Re: Application randomly chashes

 

Yes I installed Openshot via the PPA.
See post #5
> So I did
> sudo apt-get remove openshot
> sudo apt-get clean
> sudo apt-get purge
> sudo apt-get autoremove
> sudo apt-get install openshot

And after this I have version 1.2.2


I updated MLT:

------------------------------------------------------------------

arek@ubuntu-home:~/Pulpit$ sudo apt-add-repository ppa:sunab/kdenlive-
release

Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --secret-keyring /etc/apt/secring.gpg --trustdb-name /etc/apt/trustdb.gpg --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyserver keyserver.ubuntu.com --recv 6976C1CEB06586061C2C0472B5115B98AA836CA8
gpg: zapytanie o klucz AA836CA8 z hkp serwera keyserver.ubuntu.com
gpg: klucz AA836CA8: zaimportowano klucz publiczny ,,Launchpad PPA for C.A.B/sunab''
gpg: Ogółem przetworzonych kluczy: 1
gpg:               dołączono do zbioru: 1  (RSA: 1)

arek@ubuntu-home:~/Pulpit$ sudo apt-get update
[...]
arek@ubuntu-home:~/Pulpit$ sudo apt-get upgrade
Czytanie list pakietów... Gotowe
Budowanie drzewa zależności       
Odczyt informacji o stanie... Gotowe
Następujące pakiety zostaną zaktualizowane:
  frei0r-plugins libmlt++3 libmlt-data libmlt2 melt
5 aktualizowanych, 0 nowo instalowanych, 0 usuwanych i 0 nieaktualizowanych.
Konieczne pobranie 3357kB archiwów.
Po tej operacji zostanie dodatkowo użyte 606kB miejsca na dysku.
Kontynuować [T/n]? T
Pob: 1 http://ppa.launchpad.net/sunab/kdenlive-release/ubuntu/ lucid/main frei0r-plugins 1.2-0ubuntu0~sunab~lucid1 [400kB]
Pob: 2 http://ppa.launchpad.net/sunab/kdenlive-release/ubuntu/ lucid/main libmlt2 0.5.10-0ubuntu0~sunab~lucid1 [470kB]
Pob: 3 http://ppa.launchpad.net/sunab/kdenlive-release/ubuntu/ lucid/main libmlt++3 0.5.10-0ubuntu0~sunab~lucid1 [42,6kB]
Pob: 4 http://ppa.launchpad.net/sunab/kdenlive-release/ubuntu/ lucid/main libmlt-data 0.5.10-0ubuntu0~sunab~lucid1 [2396kB]
Pob: 5 http://ppa.launchpad.net/sunab/kdenlive-release/ubuntu/ lucid/main melt 0.5.10-0ubuntu0~sunab~lucid1 [48,7kB]                                                            
Pobrano 3357kB w 14s (239kB/s)                                                                                                                                                  
(Odczytywanie bazy danych ... 257355 plików i katalogów obecnie zainstalowanych.)
Przygotowanie do zastąpienia frei0r-plugins 1.1.22git20090409+repack-0ubuntu3 (wykorzystując .../frei0r-plugins_1.2-0ubuntu0~sunab~lucid1_i386.deb) ...
Rozpakowanie pakietu zastępującego frei0r-plugins ...
Przygotowanie do zastąpienia libmlt2 0.5.4-1 (wykorzystując .../libmlt2_0.5.10-0ubuntu0~sunab~lucid1_i386.deb) ...
Rozpakowanie pakietu zastępującego libmlt2 ...
Przygotowanie do zastąpienia libmlt++3 0.5.4-1 (wykorzystując .../libmlt++3_0.5.10-0ubuntu0~sunab~lucid1_i386.deb) ...
Rozpakowanie pakietu zastępującego libmlt++3 ...
Przygotowanie do zastąpienia libmlt-data 0.5.4-1 (wykorzystując .../libmlt-data_0.5.10-0ubuntu0~sunab~lucid1_all.deb) ...
Rozpakowanie pakietu zastępującego libmlt-data ...
Przygotowanie do zastąpienia melt 0.5.4-1 (wykorzystując .../melt_0.5.10-0ubuntu0~sunab~lucid1_i386.deb) ...
Rozpakowanie pakietu zastępującego melt ...
Przetwarzanie wyzwalaczy dla man-db...
Konfigurowanie frei0r-plugins (1.2-0ubuntu0~sunab~lucid1) ...
Konfigurowanie libmlt2 (0.5.10-0ubuntu0~sunab~lucid1) ...

Konfigurowanie libmlt++3 (0.5.10-0ubuntu0~sunab~lucid1) ...

Konfigurowanie libmlt-data (0.5.10-0ubuntu0~sunab~lucid1) ...
Konfigurowanie melt (0.5.10-0ubuntu0~sunab~lucid1) ...
Przetwarzanie wyzwalaczy dla libc-bin...
ldconfig deferred processing now taking place


------------------------------------------------------------------

Now I repeated all steps:

------------------------------------------------------------------

arek@ubuntu-home:~/Pulpit$ gdb python
GNU gdb (GDB) 7.1-ubuntu
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i486-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/python...Reading symbols from /usr/lib/debug/usr/bin/python2.6...done.
done.
(gdb) run openshot.py
Starting program: /usr/bin/python openshot.py
[Thread debugging using libthread_db enabled]
/usr/bin/python: can't open file 'openshot.py': [Errno 2] No such file or directory

Program exited with code 02.
(gdb) run /usr/share/pyshared/openshot/openshot.py
Starting program: /usr/bin/python /usr/share/pyshared/openshot/openshot.py
[Thread debugging using libthread_db enabled]
Traceback (most recent call last):
  File "/usr/share/pyshared/openshot/openshot.py", line 22, in <module>
    from classes import info
ImportError: No module named classes

Program exited with code 01.


arek@ubuntu-home:~/Pulpit$ ls -l /usr/lib/*libmlt*
-rw-r--r-- 1 root root 120324 2010-09-14 09:35 /usr/lib/libmlt.so.0.5.10
-rw-r--r-- 1 root root 121060 2010-09-14 09:35 /usr/lib/libmlt++.so.0.5.10
lrwxrwxrwx 1 root root     16 2010-11-16 22:01 /usr/lib/libmlt.so.2 -> libmlt.so.0.5.10
lrwxrwxrwx 1 root root     18 2010-11-16 22:01 /usr/lib/libmlt++.so.3 -> libmlt++.so.0.5.10


arek@ubuntu-home:~/Pulpit$ python
Python 2.6.5 (r265:79063, Apr 16 2010, 13:09:56) 
[GCC 4.4.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import sys
>>> sys.version
'2.6.5 (r265:79063, Apr 16 2010, 13:09:56) \n[GCC 4.4.3]'
>>> import mlt
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python2.6/dist-packages/mlt.py", line 7, in <module>
    import _mlt
ImportError: libmlt++.so.2: cannot open shared object file: No such file or directory
>>>  import mlt
  File "<stdin>", line 1
    import mlt
    ^
IndentationError: unexpected indent


---

I run:
sudo ln -s $(ls -C /usr/lib/libmlt++.so.* | cut -f 1 -d' ') /usr/lib/libmlt++.so.2

---


>>> import mlt
>>> mlt.Profile()
<mlt.Profile; proxy of <Swig Object of type 'Mlt::Profile *' at 0x99c80d8> >
>>> mlt.Factory()
<mlt.Factory; proxy of <Swig Object of type 'Mlt::Factory *' at 0x99e6148> >
>>> mlt.Factory().init()
<mlt.Repository; proxy of <Swig Object of type 'Mlt::Repository *' at 0x99f7fb8> >
>>> 


arek@ubuntu-home:~/Pulpit$ dpkg -S _mlt.so
python-mlt2: /usr/lib/pyshared/python2.6/_mlt.so
python-mlt2: /usr/lib/python2.5/site-packages/_mlt.so


arek@ubuntu-home:~/Pulpit$ cd /usr/lib
arek@ubuntu-home:/usr/lib$ ls -la *mlt*
-rw-r--r-- 1 root root 120324 2010-09-14 09:35 libmlt.so.0.5.10
-rw-r--r-- 1 root root 121060 2010-09-14 09:35 libmlt++.so.0.5.10
lrwxrwxrwx 1 root root     16 2010-11-16 22:01 libmlt.so.2 -> libmlt.so.0.5.10
lrwxrwxrwx 1 root root     27 2010-11-16 22:05 libmlt++.so.2 -> /usr/lib/libmlt++.so.0.5.10
lrwxrwxrwx 1 root root     18 2010-11-16 22:01 libmlt++.so.3 -> libmlt++.so.0.5.10

mlt:
razem 936
drwxr-xr-x   2 root root   4096 2010-11-16 22:01 .
drwxr-xr-x 265 root root 118784 2010-11-16 22:05 ..
-rw-r--r--   1 root root  63308 2010-09-14 09:35 libmltavformat.so
-rw-r--r--   1 root root 100180 2010-09-14 09:35 libmltcore.so
-rw-r--r--   1 root root  17688 2010-09-14 09:35 libmltdgraft.so
-rw-r--r--   1 root root  22056 2010-09-14 09:35 libmltdv.so
-rw-r--r--   1 root root   9444 2010-09-14 09:35 libmlteffectv.so
-rw-r--r--   1 root root  21968 2010-09-14 09:35 libmltfrei0r.so
-rw-r--r--   1 root root  34452 2010-09-14 09:35 libmltgtk2.so
-rw-r--r--   1 root root  42504 2010-09-14 09:35 libmltjackrack.so
-rw-r--r--   1 root root  17760 2010-09-14 09:35 libmltkdenlive.so
-rw-r--r--   1 root root  95988 2010-09-14 09:35 libmltkino.so
-rw-r--r--   1 root root  13712 2010-09-14 09:35 libmltmelt.so
-rw-r--r--   1 root root  42368 2010-09-14 09:35 libmltmotion_est.so
-rw-r--r--   1 root root   9500 2010-09-14 09:35 libmltnormalize.so
-rw-r--r--   1 root root  21856 2010-09-14 09:35 libmltoldfilm.so
-rw-r--r--   1 root root  34148 2010-09-14 09:35 libmltplus.so
-rw-r--r--   1 root root  80124 2010-09-14 09:35 libmltqimage.so
-rw-r--r--   1 root root   9472 2010-09-14 09:35 libmltresample.so
-rw-r--r--   1 root root  38508 2010-09-14 09:35 libmltsdl.so
-rw-r--r--   1 root root   9508 2010-09-14 09:35 libmltsox.so
-rw-r--r--   1 root root  17804 2010-09-14 09:35 libmltvmfx.so
-rw-r--r--   1 root root   9568 2010-09-14 09:35 libmltvorbis.so
-rw-r--r--   1 root root  17800 2010-09-14 09:35 libmltxine.so
-rw-r--r--   1 root root  42584 2010-09-14 09:35 libmltxml.so

------------------------------------------------------------------

DOES IT HELP ??

-- 
Application randomly chashes
https://bugs.launchpad.net/bugs/653549
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:
Here is last few lines from terminal where OpenHot was run:

on_tlbSnap_toggled called with self.GtkToggleToolButton
project modified:  Klip przeniesiony
state saved
project saved! - zwiazek
on_mnuRemoveClip_activate clicked
project modified:  Removed clip
state saved
project saved! - zwiazek
on_tlbPlay_clicked called with self.GtkToolButton
on_frmMain_destroy
Killed

My software:
Linux ubuntu-home 2.6.32-25-generic #44-Ubuntu SMP Fri Sep 17 20:26:08 UTC 2010 i686 GNU/Linux





References