[Image-SIG] Newbie - question - and error

grammer karl.grammer@univie.ac.at
Tue, 16 Apr 2002 11:02:19 +0200

Hi, I am currently writing a genetic algorithm for the evolution of facial
expressions, and I need to load pictures into buttons - I do the following

        for s in self.buttons:

This gives me this error:
Exception in Tkinter callback
Traceback (innermost last):
  File "FEUERDRAHT-II:3-D:Poser=814:Runtime:Python:Lib:lib-tk:Tkinter.py",
line 764, in __call__
    return apply(self.func, args)
  File "<string>", line 342, in HandleGo
  File "FEUERDRAHT-II:3-D:Poser=814:Runtime:Python:Lib:lib-tk:Tkinter.py",
line 623, in configure
    self.tk.call((self._w, 'configure')
TclError: image "=9D=A1" doesn't exist

The error line is in s.configure - I wanted to do this rough and dirty, in
order to find out if it is feasible, but it looks like that I have to use
the sdk of the renderer directly.
Any help ?

Desperate Karl

------------------------------------- -------------------------------------=
Follow the duck, not the theory of the duck - WRC

Prof. Karl Grammer=20
Institute for Urban Ethology at the Institute for Anthropology
Althanstrasse 14
A-1090 Vienna/Austria
Tel: +43-1-4277-54766 Fax:  +43-1-4277-9547