GNOME Bugzilla – Bug 715188
Can't launch Pitivi 0.92 under FreeBSD
Last modified: 2015-10-20 13:15:48 UTC
Under FreeBSD and Pitivi 0.92, I get this error message when I launch it (without option). olivier@tuborg:~ $ Traceback (most recent call last):
+ Trace 232830
_run_pitivi()
import pitivi.application as ptv
from pitivi.effects import EffectsHandler
import pitivi.utils.ui as dnd
(_("%d fps") % 12, Gst.Fraction(12.0, 1.0)),
If I install gst-python, Pitivi crashed like bug #701420 (I get python2.7 core dump). Below versions of main dependencies: - GStreamer 1.2.1 - GES 1.1.90 - GObject Introspection 1.36.0 - PyGObject 3.8.1 - Gtk3 3.8.2
I think gst-python is necessary because it overrides Fraction class. If I install gst-python olivier@tuborg:~ $ ls /var/db/pkg/ | grep py.*-gstreamer1 py27-gstreamer1-1.1.90 And test this class like that: olivier@tuborg:~ $ python Python 2.7.5 (default, Oct 5 2013, 12:59:29) [GCC 4.2.1 20070831 patched [FreeBSD]] on freebsd9 Type "help", "copyright", "credits" or "license" for more information. >>> from gi.repository import Gst >>> Gst.Fraction(12.0, 1.0) <Gst.Fraction 12/1> >>> It's expected result (according to Gst.py file). If gst-python is not installed result gives me: olivier@tuborg:~ $ python Python 2.7.5 (default, Oct 5 2013, 12:59:29) [GCC 4.2.1 20070831 patched [FreeBSD]] on freebsd9 Type "help", "copyright", "credits" or "license" for more information. >>> from gi.repository import Gst >>> Gst.Fraction(12.0, 1.0) Traceback (most recent call last):
+ Trace 232859
>>> I'll try to update PyGObject to 3.10.x (currently I'm running 3.8.1) to see if something changes. But I'm still puzzled, why if gst-python is installed, it crashes Python.
You need gst-python that's a sure thing, as for : "But I'm still puzzled, why if gst-python is installed, it crashes Python" I'm not sure I understand, could you be more specific ?
(In reply to comment #2) > You need gst-python that's a sure thing, as for : > > "But I'm still puzzled, why if gst-python is installed, it crashes Python" > > I'm not sure I understand, could you be more specific ? When I launch Pitivi, the first time, it creates configuration files, and then I get core dump of my Python interpreter (I guess, because it calls python2.7.core). Unfortunately my version of Python is compiled without debug symbols. Note: I upgraded PyGObject (now I'm running 3.10.2) and nothing new appends.
Problem still persists with 0.93.
(In reply to comment #4) > Problem still persists with 0.93. It's coredump, not traceback.
Hey Olivier, does this still occur with 0.94, and if so could you get the backtrace? See also https://wiki.pitivi.org/wiki/Bug_reporting#Providing_debugging_information
(In reply to comment #6) > Hey Olivier, does this still occur with 0.94, and if so could you get the > backtrace? See also > https://wiki.pitivi.org/wiki/Bug_reporting#Providing_debugging_information I'm still working on Pitivi 0.94. Under FreeBSD we lack GStreamer plugins (especially glimagesink), so at first I finish putting up all the plugins, then Pitivi.
(In reply to comment #6) > Hey Olivier, does this still occur with 0.94, and if so could you get the > backtrace? See also > https://wiki.pitivi.org/wiki/Bug_reporting#Providing_debugging_information Problem still persists with 0.94 release. I'll recompile Python3 with debug symbols, currently gdb says nothing, except SIGSEGV signal.
Created attachment 290873 [details] Pitivi log when debug levels is enabled When I run Pitivi with debug level, I get this.
We will need a stacktrace here to be able to help further :)
Created attachment 291610 [details] Pitivi with backtrace log Tested Pitivi under FreeBSD 10.1, python3 still crashes, but this time, it compiled with debug symbols. I use my own port of math/py-numpy (otherwise Pitivi can't find it), GStreamer 1.4.4 and 1.4.0 (GES, Python and gnonlin). GObject Introspection: 1.42.0 Gtk3: 3.14.3 GLib: 2.42.1 Python: 3.3.5 Note: my main graphical environment is Xfce.
This bug has been migrated to https://phabricator.freedesktop.org/T3101. Please use the Phabricator interface to report further bugs by creating a task and associating it with Project: Pitivi. See http://wiki.pitivi.org/wiki/Bug_reporting for details.