I'm not positive, but my guess here is that it received an event that did
not originate in the canvas (or one of the canvases, if you are using
strips/tiles) but in one of the other widgets in that window (e.g. the
separator bar or the scrollbars or ...). The Tcl/Tk "bind" command for
this scrolling was setup on the entire popup rather than on the canvases
specifically. (Slighty naughty for reasons you have seen.)
Wayne
On Thu, 8 Mar 2007, Vicky Higman wrote:
> Hi,
>
> I've just had the traceback below. I was doing the mouse wheel scroll
> through z-planes when it appeared. I think for a moment it may not have
> wanted to scroll properly, but it immediately recovered, and seems to be
> perfectly happy again. I think I have occasionally had similar
> tracebacks before, but I hadn't previously noticed at what point they
> actually appeared. In any case it doesn't appear to be anything serious,
> but I thought you might like to know.
>
> Vicky
>
>
> Traceback (most recent call last):
> File "/usr/lib64/python2.4/lib-tk/Tkinter.py", line 1345, in __call__
> return self.func(*args)
> File "/opt/ccpnmr/ccpnmr1.0/python/ccpnmr/analysis/WindowPopup.py",
> line 1960, in zoomOut
> self.scrollZPlane(canvas, 'z1', 1)
> File "/opt/ccpnmr/ccpnmr1.0/python/ccpnmr/analysis/WindowPopup.py",
> line 1973, in scrollZPlane
> (row, col) = self.scrolled_window.getCanvasRowCol(canvas)
> File "/opt/ccpnmr/ccpnmr1.0/python/memops/gui/ScrolledWindow.py", line
> 1584, in getCanvasRowCol
> raise ValueError, 'canvas not in list' # should never be here
> ValueError: canvas not in list
> Exception in Tkinter callback
> Traceback (most recent call last):
> File "/usr/lib64/python2.4/lib-tk/Tkinter.py", line 1345, in __call__
> return self.func(*args)
> File "/opt/ccpnmr/ccpnmr1.0/python/ccpnmr/analysis/WindowPopup.py",
> line 1960, in zoomOut
> self.scrollZPlane(canvas, 'z1', 1)
> File "/opt/ccpnmr/ccpnmr1.0/python/ccpnmr/analysis/WindowPopup.py",
> line 1973, in scrollZPlane
> (row, col) = self.scrolled_window.getCanvasRowCol(canvas)
> File "/opt/ccpnmr/ccpnmr1.0/python/memops/gui/ScrolledWindow.py", line
> 1584, in getCanvasRowCol
> raise ValueError, 'canvas not in list' # should never be here
> ValueError: canvas not in list
> Exception in Tkinter callback
> Traceback (most recent call last):
> File "/usr/lib64/python2.4/lib-tk/Tkinter.py", line 1345, in __call__
> return self.func(*args)
> File "/opt/ccpnmr/ccpnmr1.0/python/ccpnmr/analysis/WindowPopup.py",
> line 1960, in zoomOut
> self.scrollZPlane(canvas, 'z1', 1)
> File "/opt/ccpnmr/ccpnmr1.0/python/ccpnmr/analysis/WindowPopup.py",
> line 1973, in scrollZPlane
> (row, col) = self.scrolled_window.getCanvasRowCol(canvas)
> File "/opt/ccpnmr/ccpnmr1.0/python/memops/gui/ScrolledWindow.py", line
> 1584, in getCanvasRowCol
> raise ValueError, 'canvas not in list' # should never be here
> ValueError: canvas not in list
>
>
> --
> ****************************************************
> Dr. Victoria A. Higman
> Leibniz-Institut fuer Molekulare Pharmakologie (FMP)
> Robert-Roessle-Str. 10
> 13125 Berlin
> Germany
> Phone: +49-30-94793 223
> E-mail: [log in to unmask]
> ****************************************************
>
|