Quote:
Originally Posted by embryo
It looks like there is a problem with the creation/accessing of the database file.
Is there a data.db file next to this error_log.txt?
If not, it means that something (an antivirus, Windows[?]) is preventing the program from creating one.
If there is, try to delete it and rerun the app. Maybe it is corrupted somehow.
Are all the messages in the error_logs the same?
|
Hi, there isn't data.db file, not even hidden. This time I turned my antivirus off and run the program, I checked the error_log.txt file twice, the first time it looked same as before but the second time it looked like this:
"
Crash@2020-05-01 21:58:46
Traceback (most recent call last):
File "main.py", line 265, in on_load
File "main.py", line 419, in read_books_from_db
AttributeError: 'NoneType' object has no attribute 'setForwardOnly'
Crash@2020-05-01 21:59:16
Traceback (most recent call last):
File "main.py", line 2363, in auto_check4update
File "main.py", line 466, in get_db_book_count
AttributeError: 'NoneType' object has no attribute 'exec_'
"
The third, fourth, etc time it looked same as above.
Then I turned the program off and proceed to open it again and the log looked like this:
"
Crash@2020-05-01 21:58:46
Traceback (most recent call last):
File "main.py", line 265, in on_load
File "main.py", line 419, in read_books_from_db
AttributeError: 'NoneType' object has no attribute 'setForwardOnly'
Crash@2020-05-01 21:59:16
Traceback (most recent call last):
File "main.py", line 2363, in auto_check4update
File "main.py", line 466, in get_db_book_count
AttributeError: 'NoneType' object has no attribute 'exec_'
Crash@2020-05-01 22:08:40
Traceback (most recent call last):
File "main.py", line 265, in on_load
File "main.py", line 419, in read_books_from_db
AttributeError: 'NoneType' object has no attribute 'setForwardOnly'
Crash@2020-05-01 22:09:10
Traceback (most recent call last):
File "main.py", line 2363, in auto_check4update
File "main.py", line 466, in get_db_book_count
AttributeError: 'NoneType' object has no attribute 'exec_'
"
I hope this give you more inside about my issue. Thanks again for the help.