This is a python implementation of a famous time management technique. CTimer helps you keep track of your productivity during the day, and help you set realistic goals for your day.
Apache License 2.0
0
stars
1
forks
source link
[Tkinter] While double clicking start (due to delay) cause exception #31
Exception in Tkinter callback
Traceback (most recent call last):
File "/Users/Alice/anaconda3/envs/ctimer/lib/python3.8/tkinter/init.py", line 1883, in call
return self.func(*args)
File "/Users/Alice/current_projects/ctimer/concentratetimer/concentratetimer.py", line 187, in start_pause
self.get_goal()
File "/Users/Alice/current_projects/ctimer/concentratetimer/concentratetimer.py", line 91, in get_goal
self.clock_details.task_description = simpledialog.askstring(title="Set your goals",
File "/Users/Alice/anaconda3/envs/ctimer/lib/python3.8/tkinter/simpledialog.py", line 399, in askstring
d = _QueryString(title, prompt, *kw)
File "/Users/Alice/anaconda3/envs/ctimer/lib/python3.8/tkinter/simpledialog.py", line 376, in init
_QueryDialog.init(self, args, **kw)
File "/Users/Alice/anaconda3/envs/ctimer/lib/python3.8/tkinter/simpledialog.py", line 271, in init
Dialog.init(self, parent, title)
File "/Users/Alice/anaconda3/envs/ctimer/lib/python3.8/tkinter/simpledialog.py", line 167, in init
self.wait_visibility()
File "/Users/Alice/anaconda3/envs/ctimer/lib/python3.8/tkinter/init.py", line 695, in wait_visibility
self.tk.call('tkwait', 'visibility', window._w)
_tkinter.TclError: window ".!_querystring2" was deleted before its visibility changed
Description
Exception in Tkinter callback Traceback (most recent call last): File "/Users/Alice/anaconda3/envs/ctimer/lib/python3.8/tkinter/init.py", line 1883, in call return self.func(*args) File "/Users/Alice/current_projects/ctimer/concentratetimer/concentratetimer.py", line 187, in start_pause self.get_goal() File "/Users/Alice/current_projects/ctimer/concentratetimer/concentratetimer.py", line 91, in get_goal self.clock_details.task_description = simpledialog.askstring(title="Set your goals", File "/Users/Alice/anaconda3/envs/ctimer/lib/python3.8/tkinter/simpledialog.py", line 399, in askstring d = _QueryString(title, prompt, *kw) File "/Users/Alice/anaconda3/envs/ctimer/lib/python3.8/tkinter/simpledialog.py", line 376, in init _QueryDialog.init(self, args, **kw) File "/Users/Alice/anaconda3/envs/ctimer/lib/python3.8/tkinter/simpledialog.py", line 271, in init Dialog.init(self, parent, title) File "/Users/Alice/anaconda3/envs/ctimer/lib/python3.8/tkinter/simpledialog.py", line 167, in init self.wait_visibility() File "/Users/Alice/anaconda3/envs/ctimer/lib/python3.8/tkinter/init.py", line 695, in wait_visibility self.tk.call('tkwait', 'visibility', window._w) _tkinter.TclError: window ".!_querystring2" was deleted before its visibility changed
System
Steps to Reproduce
Steps to reproduce the behavior:
Expected Behavior
A clear and concise description of what you expected to happen.
Screenshots If applicable, add screenshots to help explain your problem.
Actual Behavior
What happens actually so you think this is a bug.
More Information
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
Add any other context about the problem here.