← Back to team overview

ubuntustudio-bugs team mailing list archive

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

 

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       amd64                       GStreamer plugin for PulseAudio
un  gstreamer0.10-schroedinger                    <none>                      <none>                      (no description available)
ii  gstreamer0.10-tools                           0.10.36-1.2ubuntu3          amd64                       Tools for use with GStreamer
un  gstreamer0.10-videosink                       <none>                      <none>                      (no description available)
un  gstreamer0.10-videosource                     <none>                      <none>                      (no description available)
un  gstreamer0.10-visualization                   <none>                      <none>                      (no description available)
ii  gstreamer0.10-x:amd64                         0.10.36-2                   amd64                       GStreamer plugins for X11 and Pango
un  gstreamer0.10-x264                            <none>                      <none>                      (no description available)
un  gstreamer0.10-xvid                            <none>                      <none>                      (no description available)
ii  gstreamer1.0-alsa:amd64                       1.4.3-1ubuntu1              amd64                       GStreamer plugin for ALSA
un  gstreamer1.0-audiosink                        <none>                      <none>                      (no description available)
un  gstreamer1.0-audiosource                      <none>                      <none>                      (no description available)
ii  gstreamer1.0-clutter                          2.0.12-1                    amd64                       Clutter PLugin for GStreamer 1.0
ii  gstreamer1.0-doc                              1.4.3-1                     all                         GStreamer core documentation and manuals
ii  gstreamer1.0-fluendo-mp3:amd64                0.10.29.debian-1ubuntu1     amd64                       Fluendo mp3 decoder GStreamer 1.0 plugin
ii  gstreamer1.0-gnonlin                          1.2.1-1                     amd64                       non-linear editing module for GStreamer
ii  gstreamer1.0-libav:amd64                      1.4.3-1                     amd64                       libav plugin for GStreamer
ii  gstreamer1.0-nice:amd64                       0.1.7-1                     amd64                       ICE library (GStreamer plugin)
ii  gstreamer1.0-plugins-bad:amd64                1.4.3-1ubuntu1              amd64                       GStreamer plugins from the "bad" set
ii  gstreamer1.0-plugins-bad-faad:amd64           1.4.3-1ubuntu1              amd64                       GStreamer faad plugin from the "bad" set
ii  gstreamer1.0-plugins-bad-videoparsers:amd64   1.4.3-1ubuntu1              amd64                       GStreamer videoparsers plugin from the "bad" set
ii  gstreamer1.0-plugins-base:amd64               1.4.3-1ubuntu1              amd64                       GStreamer plugins from the "base" set
ii  gstreamer1.0-plugins-base:i386                1.4.3-1ubuntu1              i386                        GStreamer plugins from the "base" set
ii  gstreamer1.0-plugins-base-apps                1.4.3-1ubuntu1              amd64                       GStreamer helper programs from the "base" set
ii  gstreamer1.0-plugins-base-doc                 1.4.3-1ubuntu1              all                         GStreamer documentation for plugins from the "base" set
ii  gstreamer1.0-plugins-good:amd64               1.4.3-1ubuntu1              amd64                       GStreamer plugins from the "good" set
ii  gstreamer1.0-plugins-ugly:amd64               1.4.2-1                     amd64                       GStreamer plugins from the "ugly" set
ii  gstreamer1.0-pulseaudio:amd64                 1.4.3-1ubuntu1              amd64                       GStreamer plugin for PulseAudio
ii  gstreamer1.0-tools                            1.4.3-1                     amd64                       Tools for use with GStreamer
un  gstreamer1.0-videosink                        <none>                      <none>                      (no description available)
un  gstreamer1.0-videosource                      <none>                      <none>                      (no description available)
un  gstreamer1.0-visualization                    <none>                      <none>                      (no description available)
ii  gstreamer1.0-x:amd64                          1.4.3-1ubuntu1              amd64                       GStreamer plugins for X11 and Pango

LANG=C dpkg -l python-gobject
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
+++-=============================================-===========================-===========================-================================================================================================
ii  python-gobject                                3.14.0-1                    all                         Python 2.x bindings for GObject - transitional package


 LANG=C dpkg -l python3-gobject
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  python3-gobject                               <none>                      <none>                      (no description available)

-- 
You received this bug notification because you are a member of Ubuntu
Studio Bugs, which is subscribed to pitivi in Ubuntu.
Matching subscriptions: Ubuntu Studio Bugs
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