After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 715188 - Can't launch Pitivi 0.92 under FreeBSD
Can't launch Pitivi 0.92 under FreeBSD
Status: RESOLVED OBSOLETE
Product: pitivi
Classification: Other
Component: General
0.92
Other FreeBSD
: Normal normal
: Git
Assigned To: Pitivi maintainers
Pitivi maintainers
Depends on:
Blocks:
 
 
Reported: 2013-11-25 18:27 UTC by Olivier Duchateau
Modified: 2015-10-20 13:15 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Pitivi log when debug levels is enabled (1.55 KB, application/octet-stream)
2014-11-17 18:43 UTC, Olivier Duchateau
Details
Pitivi with backtrace log (10.16 KB, text/x-log)
2014-11-27 05:52 UTC, Olivier Duchateau
Details

Description Olivier Duchateau 2013-11-25 18:27:22 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):
  • File "/usr/local/bin/pitivi", line 142 in <module>
    _run_pitivi()
  • File "/usr/local/bin/pitivi", line 116 in _run_pitivi
    import pitivi.application as ptv
  • File "/usr/local/lib/pitivi/python/pitivi/application.py", line 39 in <module>
    from pitivi.effects import EffectsHandler
  • File "/usr/local/lib/pitivi/python/pitivi/effects.py", line 54 in <module>
    import pitivi.utils.ui as dnd
  • File "/usr/local/lib/pitivi/python/pitivi/utils/ui.py", line 401 in <module>
    (_("%d fps") % 12, Gst.Fraction(12.0, 1.0)),
TypeError: object() takes no parameters

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
Comment 1 Olivier Duchateau 2013-11-30 17:01:45 UTC
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):
  • File "<stdin>", line 1 in <module>
TypeError: object() takes no parameters
>>>

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.
Comment 2 Mathieu Duponchelle 2013-11-30 18:25:02 UTC
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 ?
Comment 3 Olivier Duchateau 2013-11-30 20:59:50 UTC
(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.
Comment 4 Olivier Duchateau 2014-03-23 19:33:40 UTC
Problem still persists with 0.93.
Comment 5 Olivier Duchateau 2014-03-23 19:35:20 UTC
(In reply to comment #4)
> Problem still persists with 0.93.

It's coredump, not traceback.
Comment 6 Jean-François Fortin Tam 2014-11-06 20:19:13 UTC
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
Comment 7 Olivier Duchateau 2014-11-06 21:40:57 UTC
(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.
Comment 8 Olivier Duchateau 2014-11-17 18:41:48 UTC
(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.
Comment 9 Olivier Duchateau 2014-11-17 18:43:37 UTC
Created attachment 290873 [details]
Pitivi log when debug levels is enabled

When I run Pitivi with debug level, I get this.
Comment 10 Mathieu Duponchelle 2014-11-19 21:41:35 UTC
We will need a stacktrace here to be able to help further :)
Comment 11 Olivier Duchateau 2014-11-27 05:52:52 UTC
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.
Comment 12 Thibault Saunier 2015-10-20 13:15:48 UTC
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.