Bug#390309: python-gst0.10: module interface changed, breaks quodlibet and possibly others

2006-09-30 Thread Loïc Minier
reopen 390192
severity 390192 serious
merge 390192 390309
retitle 390192 Conversion to pysupport of pygst0.10 broke systems mixing the 
0.8 and 0.10 bindings
reassign 390192 python-gst0.10 0.10.5-4
stop

Hi,

On Sat, Sep 30, 2006, Joe Wreschnig wrote:
> >>> import pygst
> >>> pygst.require("0.10")
> >>> import gst
> >>> gst.gst_version, gst.pygst_version
> ((0, 8, 12), (0, 8, 4))
> That would be why it broke. I suspect something broke the import order
> when it switched from python-central to python-support.

 I reproduce this particular problem.  I did my initial testing thinking
 I had both bindings installed (0.8 and 0.10), but I had only 0.10, so I
 didn't see the weird behavior.  This also matched the symptoms of a bug
 in quodlibet which I was pointed at.

 The root of the problem is probably caused by the mixture of pycentral
 and pysupport in the bindings.  As a temporary workaround, i suggest
 you remove the 0.8 bindings if you can, or downgrade the 0.10 bindings.

   Bye,
-- 
Loïc Minier <[EMAIL PROTECTED]>



Processed: Re: Bug#390309: python-gst0.10: module interface changed, breaks quodlibet and possibly others

2006-09-30 Thread Debian Bug Tracking System
Processing commands for [EMAIL PROTECTED]:

> reopen 390192
Bug#390192: python-gst0.10: Bindings possibly broken due to gstreamer upgrade
'reopen' is deprecated when a bug has been closed with a version;
use 'found' or 'submitter' as appropriate instead.
Bug reopened, originator not changed.

> severity 390192 serious
Bug#390192: python-gst0.10: Bindings possibly broken due to gstreamer upgrade
Severity set to `serious' from `normal'

> merge 390192 390309
Bug#390192: python-gst0.10: Bindings possibly broken due to gstreamer upgrade
Bug#390309: python-gst0.10: module interface changed, breaks quodlibet and 
possibly others
Merged 390192 390309.

> retitle 390192 Conversion to pysupport of pygst0.10 broke systems mixing the 
> 0.8 and 0.10 bindings
Bug#390192: python-gst0.10: Bindings possibly broken due to gstreamer upgrade
Changed Bug title.

> reassign 390192 python-gst0.10 0.10.5-4
Bug#390192: Conversion to pysupport of pygst0.10 broke systems mixing the 0.8 
and 0.10 bindings
Bug#390309: python-gst0.10: module interface changed, breaks quodlibet and 
possibly others
Bug reassigned from package `quodlibet' to `python-gst0.10'.

> stop
Stopping processing here.

Please contact me if you need assistance.

Debian bug tracking system administrator
(administrator, Debian Bugs database)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#390309: python-gst0.10: module interface changed, breaks quodlibet and possibly others

2006-09-30 Thread Joe Wreschnig
On Sat, 2006-09-30 at 13:19 +0200, Bastian Kleineidam wrote:
> Package: python-gst0.10
> Version: 0.10.5-4
> Severity: serious
> Justification: breaks unrelated software
> 
> Hi,
> 
> after upgrading to 0.10.5-4, quodlibet stopped working and gave this
> error message:
> Traceback (most recent call last):
>   File "/usr/bin/quodlibet", line 301, in ?
> main()
>   File "/usr/bin/quodlibet", line 33, in main
> library = load_library()
>   File "/usr/bin/quodlibet", line 255, in load_library
> lib = library.init(const.LIBRARY)
>   File "/usr/share/quodlibet/library/__init__.py", line 38, in init
> library.load(cache_fn, skip=True)
>   File "/usr/share/quodlibet/library/_library.py", line 124, in load
> try: items = pickle.load(fileobj)
>   File "/usr/share/quodlibet/formats/mp3.py", line 15, in ?
> if gst.registry_get_default().find_plugin("mad") is None:
> AttributeError: 'module' object has no attribute 'registry_get_default'
> 
> Downgrading to 0.10.5-3 made quodlibet working again. So it seems that
> some change between -3 and -4 changed the module interface.
> 
> Feel free to ask if you need more info or test runs.

[EMAIL PROTECTED]:~$ python
Python 2.4.4c0 (#2, Jul 30 2006, 15:43:58)
[GCC 4.1.2 20060715 (prerelease) (Debian 4.1.1-9)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import pygst
>>> pygst.require("0.10")
>>> import gst
>>> gst.gst_version, gst.pygst_version
((0, 8, 12), (0, 8, 4))

That would be why it broke. I suspect something broke the import order
when it switched from python-central to python-support.
-- 
Joe Wreschnig <[EMAIL PROTECTED]>


signature.asc
Description: This is a digitally signed message part


Bug#390309: python-gst0.10: module interface changed, breaks quodlibet and possibly others

2006-09-30 Thread Loïc Minier
reassign 390309 quodlibet
stop

Hi,

On Sat, Sep 30, 2006, Bastian Kleineidam wrote:
> after upgrading to 0.10.5-4, quodlibet stopped working and gave this
> error message:
> Traceback (most recent call last):
> AttributeError: 'module' object has no attribute 'registry_get_default'

 This is a bug in Quodlibet, please see #390192 for a full discussion.
 In short: Quodlibet needs the 0.10 bindings, but when both the 0.8 and
 0.10 bindings are installed, the 0.8 bindings are preferred.

 Applications such as Quodlibet need to request the 0.10 version
 explicitely, and Quodlibet fails to do so, and then break because it
 expects the 0.10 bindings but got he 0.8 bindings.

 What is your version of Quodlibet?

   Bye,
-- 
Loïc Minier <[EMAIL PROTECTED]>



Processed: Re: Bug#390309: python-gst0.10: module interface changed, breaks quodlibet and possibly others

2006-09-30 Thread Debian Bug Tracking System
Processing commands for [EMAIL PROTECTED]:

> reassign 390309 quodlibet
Bug#390309: python-gst0.10: module interface changed, breaks quodlibet and 
possibly others
Bug reassigned from package `python-gst0.10' to `quodlibet'.

> stop
Stopping processing here.

Please contact me if you need assistance.

Debian bug tracking system administrator
(administrator, Debian Bugs database)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#390309: python-gst0.10: module interface changed, breaks quodlibet and possibly others

2006-09-30 Thread Bastian Kleineidam
Package: python-gst0.10
Version: 0.10.5-4
Severity: serious
Justification: breaks unrelated software

Hi,

after upgrading to 0.10.5-4, quodlibet stopped working and gave this
error message:
Traceback (most recent call last):
  File "/usr/bin/quodlibet", line 301, in ?
main()
  File "/usr/bin/quodlibet", line 33, in main
library = load_library()
  File "/usr/bin/quodlibet", line 255, in load_library
lib = library.init(const.LIBRARY)
  File "/usr/share/quodlibet/library/__init__.py", line 38, in init
library.load(cache_fn, skip=True)
  File "/usr/share/quodlibet/library/_library.py", line 124, in load
try: items = pickle.load(fileobj)
  File "/usr/share/quodlibet/formats/mp3.py", line 15, in ?
if gst.registry_get_default().find_plugin("mad") is None:
AttributeError: 'module' object has no attribute 'registry_get_default'

Downgrading to 0.10.5-3 made quodlibet working again. So it seems that
some change between -3 and -4 changed the module interface.

Feel free to ask if you need more info or test runs.

Regards,
  Bastian

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-treasure1
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)

Versions of packages python-gst0.10 depends on:
ii  libc6  2.3.6.ds1-4   GNU C Library: Shared libraries
ii  libglib2.0-0   2.12.3-2  The GLib library of C routines
ii  libgstreamer-plugins-base0 0.10.10-1 GStreamer libraries from the "base
ii  libgstreamer0.10-0 0.10.10-1 Core GStreamer libraries and eleme
ii  libxml22.6.26.dfsg-3 GNOME XML library
ii  python 2.4.3-11  An interactive high-level object-o
ii  python-support 0.5.2 automated rebuilding support for p

python-gst0.10 recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]