Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 03 Sep 2020 03:00:28 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 249071] multimedia/pitivi not even starting due to gi being an eldritch horror
Message-ID:  <bug-249071-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D249071

            Bug ID: 249071
           Summary: multimedia/pitivi not even starting due to gi being an
                    eldritch horror
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: kwm@FreeBSD.org
          Reporter: phryk@wzff.de
          Assignee: kwm@FreeBSD.org
             Flags: maintainer-feedback?(kwm@FreeBSD.org)

I'm on 12.1-RELEASE-p8. Installed pitivi via the official pkg repo.

I wanted to try out pitivi since I'm (again) evaluating FOSS video editing
solutions. It currently doesn't even manage to start due to the "modern" GTK
bindings for python being what I can only describe as an eldritch horror th=
at
should be cast out with fire.

Traceback is as follows:

~ $ pitivi
Failed to initialize modules
Traceback (most recent call last):
  File "/usr/local/bin/pitivi", line 154, in <module>
    _initialize_modules()
  File "/usr/local/bin/pitivi", line 131, in _initialize_modules
    initialize_modules()
  File "/usr/local/lib/pitivi/python/pitivi/check.py", line 359, in
initialize_modules
    from gi.repository import Gdk
  File "<frozen importlib._bootstrap>", line 983, in _find_and_load
  File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 668, in _load_unlocked
  File "<frozen importlib._bootstrap>", line 638, in _load_backward_compati=
ble
  File "/home/phryk/.local/lib/python3.7/site-packages/gi/importer.py", line
145, in load_module
    importlib.import_module('gi.repository.' + dep.split("-")[0])
  File "/usr/local/lib/python3.7/importlib/__init__.py", line 127, in
import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1006, in _gcd_import
  File "<frozen importlib._bootstrap>", line 983, in _find_and_load
  File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 668, in _load_unlocked
  File "<frozen importlib._bootstrap>", line 638, in _load_backward_compati=
ble
  File "/home/phryk/.local/lib/python3.7/site-packages/gi/importer.py", line
145, in load_module
    importlib.import_module('gi.repository.' + dep.split("-")[0])
  File "/usr/local/lib/python3.7/importlib/__init__.py", line 127, in
import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1006, in _gcd_import
  File "<frozen importlib._bootstrap>", line 983, in _find_and_load
  File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 668, in _load_unlocked
  File "<frozen importlib._bootstrap>", line 638, in _load_backward_compati=
ble
  File "/home/phryk/.local/lib/python3.7/site-packages/gi/importer.py", line
146, in load_module
    dynamic_module =3D load_overrides(introspection_module)
  File
"/home/phryk/.local/lib/python3.7/site-packages/gi/overrides/__init__.py", =
line
118, in load_overrides
    override_mod =3D importlib.import_module(override_package_name)
  File "/usr/local/lib/python3.7/importlib/__init__.py", line 127, in
import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "/usr/local/lib/python3.7/site-packages/gi/overrides/GObject.py", li=
ne
202, in <module>
    features =3D _gi.features
AttributeError: module 'gi._gi' has no attribute 'features'

I won't even try to make sense of any of this because I value my sanity.
Still, I'd be thankful if anyone more versed in it would give fixing this a
shot.

Special fun fact: Doing `cd /usr/local/lib/pitivi/python`, popping open a
python REPL and doing `from pitivi import check; check.initialize_modules()`
*doesn't* fail.

Ph'nglui mglw'nafh Cthulhu R'lyeh wgah'nagl fhtagn.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-249071-7788>