__dict__ for instances?
Bruno Desthuilliers
bruno.42.desthuilliers at wtf.websiteburo.oops.com
Mon May 14 07:44:57 EDT 2007
Ivan Voras a écrit :
> Bruno Desthuilliers wrote:
>
>>> "WARNING: "on_button_clicked" not callable or a tuple"
>> Please post the relevant code and the full traceback.
>
> The code:
>
> Class W:
> def __init__(self):
> self.xml = gtk.glade.XML("glade/mainwin.glade")
> self.window = self.xml.get_widget("mainwin")
> self.xml.signal_autoconnect(self)
>
> w = W()
> gtk.main()
>
> The error (not an exception, only the message appears and the handler
> doesn't work):
>
> ** (finstall.py:7551): WARNING **: handler for 'on_button_next_clicked'
> not callable or a tuple
Is this the full message, or did you skip the preceding lines ?
> (the file has some 20 lines, not 7551)
>
Is "finstall.py" the name of your file ? If yes, I'd suspect something
wrong with your sys.path or like...
More information about the Python-list
mailing list