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

Bug #1379676 reported by Angel Guzman Maeso
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pitivi (Ubuntu)
New
Undecided
Unassigned

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)

Revision history for this message
Angel Guzman Maeso (shakaran) wrote :
Revision history for this message
Thibault Saunier (saunierthibault) wrote :

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).

Revision history for this message
Angel Guzman Maeso (shakaran) wrote :
Download full text (8.9 KiB)

I think that gst-python package was removed in Ubuntu some time ago (check this, probably I am wrong) and it is using now python-gobject (PyGobject). As far I know, I don't have any package installed called gst-python, but I have python-gobject package. I don't know which path and file should I modify for apply the patch. So probably it is better release gst-python-1.2.2 for all users.

$ LANG=C dpkg -l gst*
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-=============================================-===========================-===========================-================================================================================================
un gstreamer-codec-install <none> <none> (no description available)
ii gstreamer0.10-alsa:amd64 0.10.36-2 amd64 GStreamer plugin for ALSA
un gstreamer0.10-audiosink <none> <none> (no description available)
un gstreamer0.10-audiosource <none> <none> (no description available)
ii gstreamer0.10-fluendo-mp3:amd64 0.10.29.debian-1ubuntu1 amd64 Fluendo mp3 decoder GStreamer 0.10 plugin
un gstreamer0.10-lame <none> <none> (no description available)
ii gstreamer0.10-nice:amd64 0.1.7-1 amd64 ICE library (GStreamer 0.10 plugin)
ii gstreamer0.10-plugins-bad:amd64 0.10.23-7.2ubuntu5 amd64 GStreamer plugins from the "bad" set
un gstreamer0.10-plugins-bad-multiverse <none> <none> (no description available)
ii gstreamer0.10-plugins-base:amd64 0.10.36-2 amd64 GStreamer plugins from the "base" set
ii gstreamer0.10-plugins-base-apps 0.10.36-2 amd64 GStreamer helper programs from the "base" set
un gstreamer0.10-plugins-farsight <none> <none> (no description available)
ii gstreamer0.10-plugins-good:amd64 0.10.31-3+nmu1ubuntu5 amd64 GStreamer plugins from the "good" set
un gstreamer0.10-plugins-good-doc <none> <none> (no description available)
un gstreamer0.10-plugins-really-bad <none> <none> (no description available)
ii gstreamer0.10-plugins-ugly:amd64 0.10.19-2ubuntu5 amd64 GStreamer plugins from the "ugly" set
ii gstreamer0.10-pulseaudio:amd64 0.10.31-3+nmu1ubuntu5 ...

Read more...

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.