I have a really really weird and nasty bug in my aplication with
set_active.
I instance to RadioButtons and try to set active the one that isn't
pressed by default, and my application dumps a core.
The worst thing is that I tried to program a simple example where I can
show the bug. But the simple example doesn't dump any core and works
correctly . I can't repeat my bug :-(
Does anyone know I can use the core for something I doesn't have any
simbol information attached, just hex adresses.
If any one cares to se the program it is in
ftp://uxmcc3.iimas.unam.mx/pub/gvoice/gvoice_bug.tar.gz
you run it with gvoice.py and for instaling it needs to be in your path
go to the directory were you untared it and run PATH=$PATH:$PWD
For see the bug go to the menu configure and chosse properties.
Here is the funccion where it happends (the last instruccion is were it
breaks):
def create_bit_num(self):
bit_num_box = GtkHButtonBox()
self.pack_start(bit_num_box)
bit_num_box.show()
bit_label = GtkLabel()
bit_label.set_text("Choose sample size:")
bit_num_box.pack_start(bit_label)
bit_label.show()
self.bit_num_button16 = GtkRadioButton(None, "16 bits")
self.bit_num_button16.connect("clicked",self.properties_box.changed)
bit_num_box.pack_start(self.bit_num_button16)
self.bit_num_button16.show()
self.bit_num_button8 = GtkRadioButton(self.bit_num_button16, "8 bits")
self.bit_num_button8.connect("clicked",self.properties_box.changed)
bit_num_box.pack_start(self.bit_num_button8)
self.bit_num_button8.show()
set_active_8_button = GtkButton ("set_active_8_button")
set_active_8_button.connect("clicked", self.set_active_8)
bit_num_box.pack_start(set_active_8_button)
set_active_8_button.show()
self.bit_num_button8.set_active(1) # HERE I GET THE CORE
Thanks...
To unsubscribe: echo "unsubscribe" | mail [EMAIL PROTECTED]