WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: pitivi is mising dependencies of type 'pygobject'  (Read 2601 times)

Offline nick65go

  • Hero Member
  • *****
  • Posts: 839
pitivi is mising dependencies of type 'pygobject'
« on: May 16, 2019, 06:26:06 PM »
Code: [Select]
tc@box:~$ pitivi
Could not import 'gi'. Make sure you have pygobject available.

EDIT: tried to guess/load mising tcz:
[code]tc@box:~$ tce-load -i pygobject
python.tcz: OK
py2cairo.tcz: OK
pygobject.tcz: OK
tc@box:~$ pitivi
Could not import 'gi'. Make sure you have pygobject available.

tc@box:~$ tce-load -i pygobject2
pygobject2.tcz: OK
tc@box:~$ pitivi
Could not import 'gi'. Make sure you have pygobject available.

EDIT2:
Code: [Select]
tc@box:~$ tce-load -i [color=red]py3gobject[/color]
py3gobject is already installed!
tc@box:~$ pitivi
Could not import 'gi'. Make sure you have pygobject available.

tc@box:~$ tce-load -i [color=red]py3.6gobject[/color]
py3.6cairo.tcz: OK
py3.6gobject.tcz: OK
tc@box:~$ pitivi
Failed to initialize modules
Traceback (most recent call last):
  File "/usr/local/bin/pitivi", line 142, in <module>    _initialize_modules()
  File "/usr/local/bin/pitivi", line 121, in _initialize_modules    initialize_modules()
  File "/usr/local/lib/pitivi/python/pitivi/check.py", line 346, in initialize_modules from pitivi.utils import validate
  File "/usr/local/lib/pitivi/python/pitivi/utils/validate.py", line 31, in <module> from pitivi.utils import ui
  File "/usr/local/lib/pitivi/python/pitivi/utils/ui.py", line 495, in <module>  (_("%d fps") % 12, Gst.Fraction(12.0, 1.0)),
TypeError: object() takes no parameters

« Last Edit: May 17, 2019, 03:20:11 AM by Juanito »

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14851
Re: pitivi is mising dependencies of type 'pygobject'
« Reply #1 on: May 17, 2019, 03:27:06 AM »
That's because after the pitivi extension was posted, gobject-introspection was updated to use python3.6, which overwrites the symlink python3 -> python3.3. If the symlink is restored then the error disappears.

..but is replaced with the following error:
Code: [Select]
ERROR - The following hard dependencies are unmet:
==================================================
- gstgtk not found on the system

This looks to be due to a bug in /usr/local/lib/pitivi/python/pitivi/check.py - if I remove the check for gstgtk, then pitivi runs.

Probably the best thing to do is to update pitivi to use python3.6 - this may take a while...

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14851
Re: pitivi is mising dependencies of type 'pygobject'
« Reply #2 on: May 19, 2019, 04:39:47 AM »
pitivi updated