PhotoImage

Hans Gubitz gubitz at netcologne.de
Tue Jun 22 15:39:07 CEST 1999


Python 1.5.1 (#1, Apr  5 1999, 00:08:45)  [GCC egcs-2.91.66 19990314 (e on linux2
Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam
>>> import Tkinter
>>> tk=Tkinter.Tk()
>>> image1=Tkinter.PhotoImage(width=2,height=2)
Traceback (innermost last):
  File "<stdin>", line 1, in ?
  File "/usr/lib/python1.5/lib-tk/Tkinter.py", line 1768, in __init__
    apply(Image.__init__, (self, 'photo', name, cnf, master), kw)
  File "/usr/lib/python1.5/lib-tk/Tkinter.py", line 1736, in __init__
    apply(self.tk.call,
TclError: unknown floating-point error, errno = 84
>>> 

What's wrong?

--
Hans Gubitz
email: gubitz at netcologne.de




More information about the Python-list mailing list