Bug#753505: gir1.2-gstreamer-1.0: Bus().poll() parameters problem in python3

Alexandre Rossi niol at zincube.net
Wed Jul 2 15:06:43 UTC 2014


Package: gir1.2-gstreamer-1.0
Version: 1.3.90-1
Severity: normal
Tags: upstream

Hi,

The following test program in python works with python2 but fails with python3.

--
import gi
gi.require_version('Gst', '1.0')
from gi.repository import GObject, Gst

Gst.Pipeline().get_bus().poll(Gst.MessageType.ANY, Gst.CLOCK_TIME_NONE)
--

Output:
--
$ python3 t.py 
Traceback (most recent call last):
  File "t.py", line 5, in <module>
      Gst.Pipeline().get_bus().poll(Gst.MessageType.ANY, Gst.CLOCK_TIME_NONE)
OverflowError: Python int too large to convert to C long
--

Thanks,

Alex

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages gir1.2-gstreamer-1.0 depends on:
ii  gir1.2-glib-2.0  1.40.0-2

gir1.2-gstreamer-1.0 recommends no packages.

gir1.2-gstreamer-1.0 suggests no packages.

-- no debconf information



More information about the pkg-gstreamer-maintainers mailing list