Bug#546668: python-brasero: Packaged example script aborts with GLib-ERROR

Emilio Pozuelo Monfort pochu at debian.org
Mon Sep 14 23:24:03 UTC 2009


Hi Andy,

Andrew Price wrote:
>   andy at plato:braseromedia$ pwd
>   /usr/share/doc/python-brasero/examples/braseromedia
>   andy at plato:braseromedia$ python drive_selection.py 
> 
>   GLib-ERROR **: The thread system is not yet initialized.
>   aborting...
>   Aborted

It works fine here. It will show a dialog with the cd/dvd drives.

> This happens on line 9 of drive_selection.py which is:
> 
>   monitor = braseromedia.MediumMonitor ()

Does
$ python -c 'import braseromedia; braseromedia.MediumMonitor ()'
fail?

> Afterwards I installed the brasero package from experimental to check if
> it was a common problem but I successfully burned a CD with brasero.
> Running the example script after installing brasero pulled in its deps
> also gave the same error.
> 
> Here's a nice ugly backtrace. Line #6 looks interesting:

I dunno what's going wrong... Just two ideas, does it fail with glib from
experimental, and can you rebuild libbrasero-media with
DEB_BUILD_OPTIONS=nostrip ? The code in libbrasero-media/ doesn't call
g_thread_create_full (only g_thread_create) so I'm not sure what's calling it
and why it fails, maybe with more symbols we could find it out.

Emilio

> #7  0xb6d156cd in ?? () from /usr/lib/libbrasero-media.so.0

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20090915/6aac8776/attachment.pgp>


More information about the pkg-gnome-maintainers mailing list