I got the following error by moving and resizing the aria GUI window.
Exception in Tkinter callback
Traceback (most recent call last):
File
"/home/xhliu/programs/ccpnmr/python2.7/lib/python2.7/lib-tk/Tkinter.py",
line 1532, in __call__
return self.func(*args)
File "/home/xhliu/programs/aria2.3/src/py/aria/gui/gui.py", line
1287, in <lambda>
command = lambda s = self: s.exit())
File "/home/xhliu/programs/aria2.3/src/py/aria/gui/gui.py", line 997,
in exit
s['geometry'] = self.root.winfo_geometry()
File "/home/xhliu/programs/aria2.3/src/py/aria/Settings.py", line
682, in __setitem__
entity_type, err_msg))
File "/home/xhliu/programs/aria2.3/src/py/aria/ariabase.py", line
211, in error
raise exception, msg
EntityValueError: USER ERROR <aria.gui.gui.GUISettings> File
"/home/xhliu/programs/aria2.3/src/py/aria/gui/gui.py", line 997 in exit
GUISettings: Value "897x540+3+42" for entity "geometry" (String) is invalid.
String excepted.
"Always send" option
Still cannot get it closed.
XH
On 06/05/2017 04:37 PM, Wayne Boucher wrote:
> OK, it looks like the y is ok now so hopefully it’s just the width (1311) that you need to reduce. Likely Tkinter doesn’t like anything more than three digits in any of width / height / x / y.
>
> Wayne
>
>> On 5 Jun 2017, at 09:31, Xuehui Liu <[log in to unmask]> wrote:
>>
>> Hi Wayne,
>> Thank you very much for the prompt reply. I've tried your suggestion and got the same error, some think like:
>>
>> Traceback (most recent call last):
>> File "/home/xhliu/programs/ccpnmr/python2.7/lib/python2.7/lib-tk/Tkinter.py", line 1532, in __call__
>> return self.func(*args)
>> File "/home/xhliu/programs/aria2.3/src/py/aria/gui/gui.py", line 1287, in <lambda>
>> command = lambda s = self: s.exit())
>> File "/home/xhliu/programs/aria2.3/src/py/aria/gui/gui.py", line 997, in exit
>> s['geometry'] = self.root.winfo_geometry()
>> File "/home/xhliu/programs/aria2.3/src/py/aria/Settings.py", line 682, in __setitem__
>> entity_type, err_msg))
>> File "/home/xhliu/programs/aria2.3/src/py/aria/ariabase.py", line 211, in error
>> raise exception, msg
>> EntityValueError: USER ERROR <aria.gui.gui.GUISettings> File "/home/xhliu/programs/aria2.3/src/py/aria/gui/gui.py", line 997 in exit
>> GUISettings: Value "1311x853+450+188" for entity "geometry" (String) is invalid.
>> String excepted.
>>
>> "Always send" option
>>
>>
>>
>> I noticed that the geometry values changed, but I still cannot close the GUI.
>>
>> I do have two screens, one on the top of the other. How could I deal with this problem if I still want to use two screens?
>>
>> Thank you!
>>
>>
>> Best regards,
>>
>> XH
>>
>>
>> On 06/05/2017 03:26 PM, Wayne Boucher wrote:
>>> At a guess, Tkinter is unhappy with one or more of the geometry values being so large (screens are a lot bigger than they used to be), I’m not sure if it’s the width or the y location (or both) that is triggering this. Try moving the window to the first screen (if you have more than one screen) or towards the top (if only one screen) and maybe make it a bit less wide, and see if that helps.
>>>
>>> Wayne
>>>
>>>> On 5 Jun 2017, at 08:16, Xuehui Liu <[log in to unmask]> wrote:
>>>>
>>>> Hi,
>>>>
>>>> I am using CCPNmr 2.4.2 and aria2.3.1 on a CentOS 7.
>>>>
>>>> When I was setting up a calculation in the ccpnmr, I opened a aria GUI. After I checked the parameters, I could not close the GUI. When I did so, I got the following message:
>>>>
>>>> Exception in Tkinter callback
>>>> Traceback (most recent call last):
>>>> File "/home/xhliu/programs/ccpnmr/python2.7/lib/python2.7/lib-tk/Tkinter.py", line 1532, in __call__
>>>> return self.func(*args)
>>>> File "/home/xhliu/programs/aria2.3/src/py/aria/gui/gui.py", line 1287, in <lambda>
>>>> command = lambda s = self: s.exit())
>>>> File "/home/xhliu/programs/aria2.3/src/py/aria/gui/gui.py", line 997, in exit
>>>> s['geometry'] = self.root.winfo_geometry()
>>>> File "/home/xhliu/programs/aria2.3/src/py/aria/Settings.py", line 682, in __setitem__
>>>> entity_type, err_msg))
>>>> File "/home/xhliu/programs/aria2.3/src/py/aria/ariabase.py", line 211, in error
>>>> raise exception, msg
>>>> EntityValueError: USER ERROR <aria.gui.gui.GUISettings> File "/home/xhliu/programs/aria2.3/src/py/aria/gui/gui.py", line 997 in exit
>>>> GUISettings: Value "1311x853+202+1199" for entity "geometry" (String) is invalid.
>>>> String excepted.
>>>>
>>>> Any idea? Thank you very much!
>>>>
>>>>
>>>> Best regards,
>>>>
>>>> XH
|