Re: Tkinter: Exception RuntimeError: 'maximum recursion depth exceeded'

2010-10-13 Thread Jeff Hobbs
On Oct 13, 2:18 am, o...@dtrx.de (Olaf Dietrich) wrote: > Jeff  Hobbs : > > > > > > > On Oct 12, 9:43 am, o...@dtrx.de (Olaf Dietrich) wrote: > > >> After some somewhat heavy mouse action inside the > >> canvas (with the left button pressed), the application throws: > > >> | Exception RuntimeError:

Re: Tkinter: Exception RuntimeError: 'maximum recursion depth exceeded'

2010-10-13 Thread Olaf Dietrich
Lawrence D'Oliveiro : > In message , Olaf Dietrich wrote: > >> If I replace update() by update_idletasks(), the problem >> disappears, but unfortunately, considerably fewer events >> are recorded on the canvas (when connecting the pixels with >> lines, the lines become much longer with update_idle

Re: Tkinter: Exception RuntimeError: 'maximum recursion depth exceeded'

2010-10-13 Thread Lawrence D'Oliveiro
In message , Olaf Dietrich wrote: > If I replace update() by update_idletasks(), the problem > disappears, but unfortunately, considerably fewer events > are recorded on the canvas (when connecting the pixels with > lines, the lines become much longer with update_idletasks() > than with update()).

Re: Tkinter: Exception RuntimeError: 'maximum recursion depth exceeded'

2010-10-13 Thread Olaf Dietrich
Jeff Hobbs : > On Oct 12, 9:43 am, o...@dtrx.de (Olaf Dietrich) wrote: >> >> After some somewhat heavy mouse action inside the >> canvas (with the left button pressed), the application throws: >> >> | Exception RuntimeError: 'maximum recursion depth exceeded' in > method PhotoImage.__del__ of > >

Re: Tkinter: Exception RuntimeError: 'maximum recursion depth exceeded'

2010-10-12 Thread Jeff Hobbs
On Oct 12, 9:43 am, o...@dtrx.de (Olaf Dietrich) wrote: > I have the following (now extremely minimalistic) Tkinter > application: > > --- START > > #! /usr/bin/python2.6 > > import sys > import Tkinter > import numpy > from PIL import Image,

Tkinter: Exception RuntimeError: 'maximum recursion depth exceeded'

2010-10-12 Thread Olaf Dietrich
I have the following (now extremely minimalistic) Tkinter application: --- START #! /usr/bin/python2.6 import sys import Tkinter import numpy from PIL import Image, ImageTk class Viewer(object): def __init__(self, tk_root): '