Pitivi wont start TypeError: function takes at most 0 arguments (1 given)

Bug #1363637 reported by sam tygier
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
PiTiVi
Fix Released
Medium
gst-python1.0 (Ubuntu)
Fix Released
Undecided
Unassigned
pitivi (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Pitivi fails to start with the following backtrace

Traceback (most recent call last):
  File "/usr/bin/pitivi", line 136, in <module>
    _run_pitivi()
  File "/usr/bin/pitivi", line 123, in _run_pitivi
    sys.exit(ptv.main(sys.argv))
  File "/usr/lib/x86_64-linux-gnu/pitivi/python/pitivi/application.py", line 416, in main
    ptv = StartupWizardGuiPitivi(debug=options.debug)
  File "/usr/lib/x86_64-linux-gnu/pitivi/python/pitivi/application.py", line 362, in __init__
    self.projectManager.newBlankProject(emission=False)
  File "/usr/lib/x86_64-linux-gnu/pitivi/python/pitivi/project.py", line 419, in newBlankProject
    project = Project(_("New Project"))
  File "/usr/lib/x86_64-linux-gnu/pitivi/python/pitivi/project.py", line 559, in __init__
    Gst.Caps("application/ogg"),
TypeError: function takes at most 0 arguments (1 given)

Looks like same as https://bugzilla.redhat.com/show_bug.cgi?id=1109481 and https://bugzilla.gnome.org/show_bug.cgi?id=730596

ProblemType: Bug
DistroRelease: Ubuntu 14.10
Package: pitivi 0.93-4
ProcVersionSignature: Ubuntu 3.16.0-11.16-generic 3.16.1
Uname: Linux 3.16.0-11-generic x86_64
ApportVersion: 2.14.7-0ubuntu1
Architecture: amd64
Date: Sun Aug 31 12:00:53 2014
InstallationDate: Installed on 2014-08-09 (21 days ago)
InstallationMedia: Ubuntu MATE 14.10 "Utopic Unicorn" - Alpha amd64 (20140731)
SourcePackage: pitivi
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
sam tygier (samtygier) wrote :
Changed in pitivi:
importance: Unknown → Medium
status: Unknown → Fix Released
Revision history for this message
Jeff Fortin Tam (kiddo) wrote :

AFAICT this is a bug in the gst-python overrides for gobject introspection, which has been fixed upstream. In theory, Ubuntu could provide an update for this.

sam tygier (samtygier)
affects: gst-python (Ubuntu) → gst-python1.0 (Ubuntu)
Revision history for this message
Thibault Saunier (saunierthibault) wrote :

The fix is here: http://cgit.freedesktop.org/gstreamer/gst-python/commit/?id=4c08c3396c3cdadc939a9889f1e4664f938921a0

The problem was introduced in PyGobject in that particular commit: https://git.gnome.org/browse/pygobject/commit/?id=3a2bfc8bf01fcae386355bc3652780e198e54d49

Please at least add that patch in gst-python so that pitivi can be used with default packages on ubuntu.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in gst-python1.0 (Ubuntu):
status: New → Confirmed
Changed in pitivi (Ubuntu):
status: New → Confirmed
Revision history for this message
sam tygier (samtygier) wrote :

seems fixed with 0.93-4ubuntu1

Changed in pitivi (Ubuntu):
status: Confirmed → Fix Released
Changed in gst-python1.0 (Ubuntu):
status: Confirmed → Fix Released
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.