python code isn't working with glade3

Bug #197497 reported by Gaëtan Petit
0
Affects Status Importance Assigned to Milestone
Gladex
Fix Committed
Undecided
Francesco Marella

Bug Description

I tried various glade file from glade 3.4.1 i Hardy

None of them produce a runnable code :

@xpc:~$ python '/home/tenshu/test/test2/test.py'
GnomeUI-ERROR **: You must call gnome_program_init() before creating a GnomeApp
aborting...
Trappe pour point d'arrêt et de trace (core dumped)

@xpc:~$ python '/home/tenshu/test/test2/test.py'
this function will run one on startup
/home/tenshu/test/test2/test.py:94: Warning: g_object_unref: assertion `G_IS_OBJECT (object)' failed
  gtk.main()

@xpc:~$ python '/home/tenshu/test/test2/test.py'
this function will run one on startup

Revision history for this message
Gaëtan Petit (gaetanp) wrote :

i set this to Confirmed because i could reproduce this with every .glade from glade 3

Changed in gladex:
status: New → Confirmed
Gaëtan Petit (gaetanp)
description: updated
Revision history for this message
Charles Edward Pax (pax) wrote :

Gaëtan, would you upload 'test.py'?

Changed in gladex:
status: Confirmed → Incomplete
Revision history for this message
Francesco Marella (francesco-marella) wrote :

fixed in trunk

Changed in gladex:
assignee: nobody → francesco-marella
status: Incomplete → Fix Committed
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.