← Back to team overview

desktop-packages team mailing list archive

[Bug 1379676] Re: TypeError: Passing arguments to gi.types.Boxed.__init__() is deprecated. All arguments passed will be ignored

 

This is due to a change of behaviour in latest PyGobject (commit:
https://git.gnome.org/browse/pygobject/commit/?id=3a2bfc8bf01fcae3863)
and that has been fixed in gst-python here:
http://cgit.freedesktop.org/gstreamer/gst-
python/commit/?id=4c08c3396c3cdadc939a9889f1e4664f938921a0

It would be nice of you if you could put that patch in your gst-python
package. I you can not and would need me to release gst-python-1.2.2 it
can be done (also the patch from:
https://bugs.launchpad.net/ubuntu/+source/pitivi/+bug/1363637 should be
added)

Note: That bug should not be reported as a bug in pitivi but either gst-
python (or maybe PyGobject as it is a concequence of a change in
behaviour in there).

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to pitivi in Ubuntu.
https://bugs.launchpad.net/bugs/1379676

Title:
  TypeError: Passing arguments to gi.types.Boxed.__init__() is
  deprecated. All arguments passed will be ignored

Status in “pitivi” package in Ubuntu:
  New

Bug description:
  Using 0.93 version with PPA in Ubuntu 14.10 Beta I get a lot errors
  like this:

  /usr/lib/x86_64-linux-gnu/pitivi/python/pitivi/project.py:559: TypeError: Passing arguments to gi.types.Boxed.__init__() is deprecated. All arguments passed will be ignored.
    Gst.Caps("application/ogg"),
  /usr/lib/x86_64-linux-gnu/pitivi/python/pitivi/project.py:563: TypeError: Passing arguments to gi.types.Boxed.__init__() is deprecated. All arguments passed will be ignored.
    video_profile = GstPbutils.EncodingVideoProfile.new(Gst.Caps("video/x-theora"),
  /usr/lib/x86_64-linux-gnu/pitivi/python/pitivi/project.py:565: TypeError: Passing arguments to gi.types.Boxed.__init__() is deprecated. All arguments passed will be ignored.
    Gst.Caps("video/x-raw"),
  /usr/lib/x86_64-linux-gnu/pitivi/python/pitivi/project.py:569: TypeError: Passing arguments to gi.types.Boxed.__init__() is deprecated. All arguments passed will be ignored.
    audio_profile = GstPbutils.EncodingAudioProfile.new(Gst.Caps("audio/x-vorbis"),
  /usr/lib/x86_64-linux-gnu/pitivi/python/pitivi/project.py:571: TypeError: Passing arguments to gi.types.Boxed.__init__() is deprecated. All arguments passed will be ignored.
    Gst.Caps("audio/x-raw"),
  /usr/lib/x86_64-linux-gnu/pitivi/python/pitivi/project.py:792: TypeError: Passing arguments to gi.types.Boxed.__init__() is deprecated. All arguments passed will be ignored.
    self.container_profile.set_format(Gst.Caps(muxertype))
  /usr/lib/x86_64-linux-gnu/pitivi/python/pitivi/project.py:771: TypeError: Passing arguments to gi.types.Boxed.__init__() is deprecated. All arguments passed will be ignored.
    self.video_profile.set_format(Gst.Caps(videotype))
  /usr/lib/x86_64-linux-gnu/pitivi/python/pitivi/project.py:751: TypeError: Passing arguments to gi.types.Boxed.__init__() is deprecated. All arguments passed will be ignored.
    self.audio_profile.set_format(Gst.Caps(audiotype))

  ProblemType: Bug
  DistroRelease: Ubuntu 14.10
  Package: pitivi 0.93-4ubuntu1
  ProcVersionSignature: Ubuntu 3.16.0-16.22-generic 3.16.2
  Uname: Linux 3.16.0-16-generic x86_64
  ApportVersion: 2.14.7-0ubuntu5
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Fri Oct 10 09:30:08 2014
  InstallationDate: Installed on 2014-05-08 (154 days ago)
  InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140417)
  SourcePackage: pitivi
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pitivi/+bug/1379676/+subscriptions


References