Closed zztin closed 4 years ago
Right after complete step#6 I got
unable to open database file
Welcome
2020-07-09 21:56:14.019 GSSpeechServer[10597:10597] No handle for event rport on descriptor 13
2020-07-09 21:56:17.412 GSSpeechServer[10597:10597] No handle for event rport on descriptor 13
2020-07-09 21:56:49.704 GSSpeechServer[10597:10597] No handle for event rport on descriptor 13
unable to open database file
Exception in Tkinter callback
Traceback (most recent call last):
File "/home/tai271828/.pyenv/versions/3.8.3/lib/python3.8/tkinter/__init__.py", line 1883, in __call__
return self.func(*args)
File "/home/tai271828/.pyenv/versions/3.8.3/lib/python3.8/tkinter/__init__.py", line 804, in callit
func(*args)
File "/home/tai271828/work-my-projects/ctimer/ctimer/concentratetimer/concentratetimer.py", line 117, in countdown
db.db_add_clock_details(self.db_file, self.clock_details)
File "/home/tai271828/work-my-projects/ctimer/ctimer/concentratetimer/ctimer_db.py", line 24, in db_add_clock_details
with conn:
AttributeError: __enter__
By manually creating a folder data
under the project root, we could workaround this issue.
Data path Issue fixed. Ready for pull review.
Hi, you pushed your db binary to the repository.
Testing looks good. Thanks for the effort!
(Thanks for sending a pull request! Please fill in the following content to let us know better about this change.)
Types of changes
Please put an
x
in the box that appliesDescription
The messages after a clock finishes are now prompt with tikinter default messagebox and simpledialog, solving the problem previously which the main window keep going while not waiting for response from subwindows.
Steps to Test This Pull Request
Steps to reproduce the behavior:
Expected behavior
Related Issue
12 #6