OpenShot crashes when I click Play button

Bug #631073 reported by Gašper Sedej
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenShot Video Editor
Invalid
Undecided
Unassigned

Bug Description

Hello, guys!

I use Ubuntu 10.04 32bit. Openshot crashes whenever I click on "Play button". Even if timeline is empty.
I tried Ubuntu offical OpenShot, offical Openshot deb and sunab2 repo (for mlt) and always the same error.

I have all depenedency installed.
http://openshotusers.com/forum/viewtopic.php?f=12&t=372

How can I get debug output?
I tried https://answers.launchpad.net/openshot/+faq/1032 but it stops when it say "Successfully imported mlt library" and I can hear much of hard drive noise but nothing happens after some time. There is some error: "find: »/usr/lib/pymodules/python2.6/mlt«: No such file or directory"
Anyway, the debug output is under...

I it might be AV libs - (libavcodec ...). I have Ubuntu restricted extras and Medibntu
libavcodec-extra-52, libavcodec-unstripped-52, kubavdevuce-unstripped52, libavformat-extra-52
all has same version 4:0.5.1-1ubuntu

here is CLI output:
gasper@sirah:~$ openshot

progname=openshot; RGBA=on
--------------------------------
   OpenShot (version 1.1.3)
--------------------------------
Process no longer exists: 12509. Creating new pid lock file.
A new frmMain has been created
state saved
on_frmMain_key_press_event
project modified: Added file
state saved
project modified: Added file
state saved
project modified: Added clip
state saved
on_tlbPlay_clicked called with self.tlbPlay
The program 'openshot' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadMatch (invalid parameter attributes)'.
  (Details: serial 28 error_code 8 request_code 133 minor_code 19)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)

gasper@sirah:~/Prenosi$ python debug.py
-----------------------------------------------------------
OpenShot Debug File 0.0.2 - 2010-09-05 21:30:33.504936
-----------------------------------------------------------
This file contains a list of installed packages related to OpenShot,
locations of files, and a list of shared libraries used by python-mlt.

-----------------------------------------------------------
Distribution Version Info
-----------------------------------------------------------
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 10.04.1 LTS
Release: 10.04
Codename: lucid

-----------------------------------------------------------
List of Installed Packages
-----------------------------------------------------------
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Description
+++-=====================================-================================================-============================================
un libmlt1 <none> (no description available)
ii libmlt2 0.5.7+git20100905.a99b5a90-0ubuntu0~sunab~lucid1 multimedia framework (runtime)
ii openshot 1.1.3-1 Create and edit videos and movies
ii python-mlt2 0.5.4-1 multimedia framework (python bindings)
No packages found matching python-mlt.
No packages found matching openshot-mlt.

-----------------------------------------------------------
Python Path (i.e. sys.path)
-----------------------------------------------------------
/home/gasper/Prenosi
/usr/lib/python2.6
/usr/lib/python2.6/plat-linux2
/usr/lib/python2.6/lib-tk
/usr/lib/python2.6/lib-old
/usr/lib/python2.6/lib-dynload
/usr/lib/python2.6/dist-packages
/usr/lib/python2.6/dist-packages/PIL
/usr/lib/python2.6/dist-packages/gst-0.10
/usr/lib/pymodules/python2.6
/usr/lib/python2.6/dist-packages/gtk-2.0
/usr/lib/pymodules/python2.6/gtk-2.0
/usr/lib/python2.6/dist-packages/wx-2.8-gtk2-unicode

-----------------------------------------------------------
Files in /usr/lib/pymodules/python2.6/mlt (used by python-mlt)
-----------------------------------------------------------
find: »/usr/lib/pymodules/python2.6/mlt«: No such file or directory

-----------------------------------------------------------
Attempt to import mlt (using Python)
-----------------------------------------------------------
Successfully imported mlt library!

^CTraceback (most recent call last):
  File "debug.py", line 72, in <module>
    append_output(str(process.stdout.read(2000)), "Find 'openshot' files & folders")
KeyboardInterrupt

Revision history for this message
Andy Finch (fincha) wrote :

Your problem won't be related to the unstripped versions of ffmpeg - it is OK to have them installed.

Try running the following commands in the terminal:

find -name openshot

find -name mlt

locate _mlt.so

Also try playing a video file using the melt command line player, e.g. :

melt videoname.avi

Revision history for this message
Gašper Sedej (gsedej) wrote :

Hi!

I solved issue. Problem was with RGBA module that I added for transparent applications. I needed to block Openshot to be rendered transparent, even though it looks really nice!

Here is how to:
Since you would perumably like to continue useing RGBA you need to change a file. There is file in home folder .profile (~/.profile)
you need to add folowing lines:
[code]
export GTK_MODULES=rgba
export GTK_RGBA_APPS=allbut:firefox-bin:gnome-mplayer:totem:openoffice:rhythmbox:chromium-browser:exe:openshot
[/code]
the "exe" is for flash so it needs to be there!

AND LOGOUT! (necesseraly!)

Revision history for this message
Gašper Sedej (gsedej) wrote :

Hi Andy!

Thanks for reply but I just solve it. RGBA is still not 100% stable for all apps.

the first two didn't return anything but the mlt.so was 3x fount
gasper@sirah:~$ find -name openshot
gasper@sirah:~$ find -name mlt
gasper@sirah:~$ locate _mlt.so
/usr/lib/pymodules/python2.6/_mlt.so
/usr/lib/pyshared/python2.6/_mlt.so
/usr/lib/python2.5/site-packages/_mlt.so
gasper@sirah:~$

Before I solved issue I could see video if I clicked and moved timeline, but when I tried push "play" button it crashed.

BTW: how to debug python programs? Is it possible or you need to compile debug version?

Revision history for this message
Andy Finch (fincha) wrote :
Changed in openshot:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.