Print

Print


Hello,

Right, I think I have fixed both those problems now.  (We don't generally 
muck around with window groups so never noticed these issues.  We delete 
the associated popup when a window is made not active, which led 
indirectly to both problems.)

Wayne

On Tue, 13 Oct 2009, Tolga Helmbrecht wrote:

> Hi,
>
> a window with horizontal strips shows the wrong (vertical) arrow icons after
> being turned off and on again.
>
> Good news is, a disabled windows destroys all the widgets it created but
> switching a window off and on again is now a way to reproduce this:
>
> Exception in Tkinter callback
> Traceback (most recent call last):
>  File "/opt/ccpnmr_v2/rtl/lib/python2.6/lib-tk/Tkinter.py", line 1410, in
> __call__
>    return self.func(*args)
>
> File "/opt/ccpnmr_v2/ccpnmr2.1/python/ccpnmr/analysis/popups/WindowPopup.py",
> line 714, in getWindowLocation
>    self.window.location = (x, y)
>  File "/opt/ccpnmr_v2/ccpnmr2.1/python/ccpnmr/api/Analysis.py", line 31951,
> in setLocation
>    notify(self)
>
> File "/opt/ccpnmr_v2/ccpnmr2.1/python/ccpnmr/analysis/popups/WindowPopup.py",
> line 689, in setWindowLocation
>    self.geometry(location)
>  File "/opt/ccpnmr_v2/ccpnmr2.1/python/memops/gui/BasePopup.py", line 305, in
> geometry
>    Tkinter.Toplevel.geometry(self, location)
>  File "/opt/ccpnmr_v2/rtl/lib/python2.6/lib-tk/Tkinter.py", line 1492, in
> wm_geometry
>    return self.tk.call('wm', 'geometry', self._w, newGeometry)
> TclError: bad window path name ".82946600.101908704"
>
>
> bye
> Tolga
>
>
> Am Mittwoch, 7. Oktober 2009 schrieb Tolga Helmbrecht:
>> I forgot to mention, it's random, after some time of usage. In general it
>> works fine with the big windows, turning them on and off for some time. So
>> will not be easy to reproduce. I saw the traceback once before but had no
>> clue where it came from. it was possible to resize the windows to span the
>> screens afterward again. So no obvious malfunction directly after this
>> sudden resize event.
>>
>> Tolga
>>
>> Am Mittwoch, 7. Oktober 2009 schrieb Wayne Boucher:
>>> Hello,
>>>
>>> I haven't a clue what this one is about, although the bad path messages
>>> mean that there is a widget that Analysis is trying to deal with (quite
>>> probably a canvas for the contours) that no longer exists as far as the
>>> Tcl/Tk world is concerned.  I'll see if I can find a dual screen tomorrow
>>> and reproduce.
>>>
>>> Wayne
>>>
>>> On Wed, 7 Oct 2009, Tolga Helmbrecht wrote:
>>>> Hello,
>>>>
>>>> clicking the Peaks button in a sprectum window just caused strange
>>>> behaviour. The window position and size got reset. I'm working with a
>>>> dual screen TwinView setup and two windows spanned more than one
>>>> monitor screen before. They were positioned and resized to fit one.
>>>> This printed the first traceback.
>>>> Afterwards everything looked fine but the the two windows caused the
>>>> other two errors every time while moving them around. There where two
>>>> other windows active, they did not print a traceback while moving.
>>>> After restarting analysis the tracebacks are gone.
>>>> This is tcl/tk 8.5.7.
>>>>
>>>> Bye
>>>> Tolga
>
>
>
> -- 
> Tolga Helmbrecht
>
> Leibniz-Institut für Molekulare Pharmakologie (FMP)
> Abt. NMR-unterstützte Strukturforschung
> AG Solution NMR
> Robert-Roessle-Str. 10
> 13125 Berlin
> Germany
>
> Tel.   +49-30-94793-279
> Fax    +49-30-94793-230
> Web    http://www.fmp-berlin.de/solutionnmr.html
> E-Mail [log in to unmask]
>