openshot won't launch. appears for a fraction of a second then disappears from screen

Bug #389387 reported by Michael Connolly
28
This bug affects 5 people
Affects Status Importance Assigned to Milestone
OpenShot Video Editor
Fix Released
Undecided
Unassigned

Bug Description

Installation went smoothly on Ubuntu 9.04. However, when I try to launch the program it appears briefly for a fraction of a second then disappears. Your program looks great - I would love to get it working. Thanks

Revision history for this message
Jonathan Thomas (jonoomph) wrote :

Let's try this...

1) open up a new terminal window
2) $ cd openshot/main
3) $ python OpenShot.py

This should launch OpenShot and show the error message in the terminal window when it crashes. Please post that error message to this bug report. My guess is that the MLT framework is not installed correctly. Did you install OpenShot with the build wizard? If not, please give that a try: https://launchpad.net/openshot/+download.

If you did use the build wizard, and are still getting the crash, try each of the FFmpeg settings (1, 2, or 3) in the build wizard, and see if that will fix the problem.

Good luck!

Revision history for this message
Jonathan Thomas (jonoomph) wrote :

You might also read through this thread, which is very similar: https://answers.launchpad.net/openshot/+question/72475.

Changed in openshot:
status: New → Incomplete
Revision history for this message
vincent (v-zielonka) wrote :

i could fix the bug/launch problem with 2nd installation. Thanks.
I am happy that OpenShot works with my Canon .MOD files directly, but cannot export to any working DVD format. Could need some help...

In general OpenShot goes the right way for future video editing in Linux, it need just more features.

Greetings, Vincent.

Revision history for this message
Yug (hugolpz) wrote :

Same bug for me : Ubuntu 9.04 (64b).

My install mode was :
Step 0) Download OpenShot archive ( https://launchpad.net/openshot/+download )
Step 1) Extract to a folder named ~/openshot_wizard/
Step 2) Open a terminal window
Step 3) $ cd ~/openshot_wizard/
Step 4) $ python install.py

I had one error: access denied to download something in 3 letters ( bfx ? brx ? bxr ? ... ?)

It later announced an automatic redirect, letting me believe in an autofix.

FFmpeg settings : 1.

----
Your terminal solution don't provide a lot :
yug@yug:~$ cd openshot/main
bash: cd: openshot/main: No such file or directory
yug@yug:~$ python OpenShot.py
python: can't open file 'OpenShot.py': [Errno 2] No such file or directory

---

The 0.1 seconde when we see the OpenShot window after launching it (from the desktop icon or from the Sound&Video icon), there is a sentence hard to read. (after 5 minutes and ~70 launch) I now think it display the sentence :
   "Python can't open file /home/yug/openshot/main/OpenShot.py [Errno 2] no such file or directory."

Indeed : Despite my "Install Successfull" in the terminal one hour ago, my folder /home/yug/openshot is EMPTY.

---
I will now reinstall, at least to find out what was the 'access denied'.

Thanks for your soft !

Revision history for this message
Yug (hugolpz) wrote :

Maybe that come from this (copy from my terminal):
 Downloading OpenShot from bazaar
 Do you want to Replace the ~/openshot Directory [Y/n]? y
 You have not informed bzr of your Launchpad ID, and you must do this to
 write to Launchpad or access private data. See "bzr help launchpad-login".
 ^CTraceback (most recent call last):
   File "install.py", line 174, in <module>
     subprocess.call('bzr branch lp:openshot ~/openshot', shell=True)
   File "/usr/lib/python2.6/subprocess.py", line 444, in call
     return Popen(*popenargs, **kwargs).wait()
   File "/usr/lib/python2.6/subprocess.py", line 1123, in wait
     pid, sts = os.waitpid(self.pid, 0)
 KeyboardInterrupt
 yug@yug:~/openshot_wizard$ bzr: interrupted

I hope this will help you to fix this issue ;)
----

Ok, I now want to try your soft, so I will try with 32bites. hoping that will be easier O.o

Bye~

Revision history for this message
Yug (hugolpz) wrote :

What is "bzr help launchpad-login" ?

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

"bzr help launchpad-login" is a command you run in the terminal. This will give you details on how to get bzr to use your Launchpad ID, which it needs to get a copy of the code from Launchpad.

Revision history for this message
Yug (hugolpz) wrote :

I simply did again :
    python install.py
in my terminal, chosen 32bits, said Y (yes) several times, and that work.
So : retry the install seems the quick solution for users.

Revision history for this message
Vicente Silva (vsilva) wrote :

This is whatI see in the second it is starting before it close: (i managed to copy it)

 OpenShot (version 0.9.22)
--------------------------------
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()

A new frmMain has been created

Revision history for this message
muyiwa (muyiwa-iyowu) wrote :

i installed OpenShot from the debs on your website (ubuntu 9.04 32bit). when i ran it, a command line prompt flashed for about 2 sceonds before closing again. i ran the command from the terminal and this was outputted. running it as root used did no good.
--------------------------------
   OpenShot (version 0.9.22)
--------------------------------
Traceback (most recent call last):
  File "/usr/local/share/openshot/main/OpenShot.py", line 43, in <module>
    current_project = project.project()
  File "/usr/local/share/openshot/main/classes/project.py", line 44, in __init__
    translator = Language_Init.Translator()
  File "/usr/local/share/openshot/main/language/Language_Init.py", line 106, in __init__
    lc, encoding = locale.getdefaultlocale()
  File "/usr/lib/python2.6/locale.py", line 478, in getdefaultlocale
    return _parse_localename(localename)
  File "/usr/lib/python2.6/locale.py", line 410, in _parse_localename
    raise ValueError, 'unknown locale: %s' % localename
ValueError: unknown locale: en_NG

Revision history for this message
Jonathan Thomas (jonoomph) wrote :

Muyiwa, can you please post this as a new bug. I think this is a different issue.

Helen McCall (wildnfree)
Changed in openshot:
status: Incomplete → Fix Released
Revision history for this message
karthikeyan (mckeyan) wrote :
Download full text (5.3 KiB)

--------------------------------
   OpenShot (version 1.4.3)
--------------------------------
/root/openshot-1.4.3/openshot/windows/SimpleGtkBuilderApp.py:32: GtkWarning: _ubuntu_gtk_overlay_scrollbar_new: assertion `os_scrollbar_new' failed
  self.builder.add_from_file(path)
/root/openshot-1.4.3/openshot/windows/SimpleGtkBuilderApp.py:32: GtkWarning: IA__gtk_widget_set_composite_name: assertion `GTK_IS_WIDGET (widget)' failed
  self.builder.add_from_file(path)
/root/openshot-1.4.3/openshot/windows/SimpleGtkBuilderApp.py:32: GtkWarning: IA__gtk_widget_set_parent: assertion `GTK_IS_WIDGET (widget)' failed
  self.builder.add_from_file(path)
/root/openshot-1.4.3/openshot/windows/SimpleGtkBuilderApp.py:32: Warning: g_object_ref: assertion `G_IS_OBJECT (object)' failed
  self.builder.add_from_file(path)
/root/openshot-1.4.3/openshot/windows/SimpleGtkBuilderApp.py:32: GtkWarning: IA__gtk_widget_show: assertion `GTK_IS_WIDGET (widget)' failed
  self.builder.add_from_file(path)
/root/openshot-1.4.3/openshot/windows/SimpleGtkBuilderApp.py:32: GtkWarning: IA__gtk_range_get_adjustment: assertion `GTK_IS_RANGE (range)' failed
  self.builder.add_from_file(path)
/root/openshot-1.4.3/openshot/windows/SimpleGtkBuilderApp.py:32: Warning: invalid (NULL) pointer instance
  self.builder.add_from_file(path)
/root/openshot-1.4.3/openshot/windows/SimpleGtkBuilderApp.py:32: Warning: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
  self.builder.add_from_file(path)
/root/openshot-1.4.3/openshot/windows/SimpleGtkBuilderApp.py:32: GtkWarning: gtk_scrolled_window_adjustment_changed: assertion `adjustment != NULL' failed
  self.builder.add_from_file(path)
/root/openshot-1.4.3/openshot/windows/MainGTK.py:135: GtkWarning: IA__gtk_range_get_adjustment: assertion `GTK_IS_RANGE (range)' failed
  self.scrolled_win.add(self.MyCanvas_Left)
/root/openshot-1.4.3/openshot/windows/MainGTK.py:139: GtkWarning: IA__gtk_range_get_adjustment: assertion `GTK_IS_RANGE (range)' failed
  self.scrolled_win_Right.add(self.MyCanvas)
/root/openshot-1.4.3/openshot/windows/MainGTK.py:143: GtkWarning: IA__gtk_range_get_adjustment: assertion `GTK_IS_RANGE (range)' failed
  self.scrolled_win_timeline.add(self.TimelineCanvas_Left)
/root/openshot-1.4.3/openshot/windows/MainGTK.py:147: GtkWarning: IA__gtk_range_get_adjustment: assertion `GTK_IS_RANGE (range)' failed
  self.scrolled_win_timeline_right.add(self.TimelineCanvas_Right)

Detecting formats, codecs, and filters...
---
video_codecs:
  - a64multi
  - a64multi5
  - asv1
  - asv2
  - bmp
  - cljr
  - dnxhd
  - dpx
  - dvvideo
  - ffv1
  - ffvhuff
  - flashsv
  - flv
  - gif
  - h261
  - h263
  - h263p
  - huffyuv
  - jpegls
  - ljpeg
  - mjpeg
  - mpeg1video
  - mpeg2video
  - mpeg4
  - msmpeg4v2
  - msmpeg4
  - pam
  - pbm
  - pcx
  - pgm
  - pgmyuv
  - png
  - ppm
  - qtrle
  - rawvideo
  - roqvideo
  - rv10
  - rv20
  - sgi
  - snow
  - svq1
  - targa
  - tiff
  - v210
  - v410
  - wmv1
  - wmv2
  - zlib
  - zmbv
  - libdirac
  - libschroedinger
  - libtheora
  - libvpx
  - libx264
  - libxvid
...
---
audio_codecs:
  - aac
  - ac3
  - ac3_fixed
  - alac
  - eac3
  - flac
  - mp2
  - nellymoser
  - real_144
  - vorbis
 ...

Read more...

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.