05-01-2020, 12:09 AM | #61 | ||
Enthusiast
Posts: 27
Karma: 10
Join Date: Dec 2011
Device: Sony PRS-T1
|
Quote:
" Crash@2020-04-30 21:55:59 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' " Katalib 2.23.6 works without issues. Quote:
And thanks to all of you for your help. |
||
05-01-2020, 09:34 PM | #62 | |
Fanatic
Posts: 520
Karma: 64554
Join Date: Aug 2013
Device: Kobo Glo, GloHD
|
Quote:
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? |
|
Advert | |
|
05-02-2020, 12:14 AM | #63 | |
Enthusiast
Posts: 27
Karma: 10
Join Date: Dec 2011
Device: Sony PRS-T1
|
Quote:
" 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. |
|
05-02-2020, 07:53 AM | #64 |
Fanatic
Posts: 520
Karma: 64554
Join Date: Aug 2013
Device: Kobo Glo, GloHD
|
Well, this is really strange.
KOHighlights can't find the data.db file. The weird part is that if there is no such file, it creates one. The only way I could replicate this, was to create a directory named "data.db" inside "C:\Users\USER NAME\AppData\Roaming\KoHighlights\", so that it could not create a file with the same name. I've attached a zip file that contains an empty data.db file. Try to copy it to you directory, to see how it behaves. |
05-02-2020, 10:33 PM | #65 | |
Enthusiast
Posts: 27
Karma: 10
Join Date: Dec 2011
Device: Sony PRS-T1
|
Quote:
Crash@2020-05-02 20:09:34 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-02 20:10:04 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_' This time I closed any other programm but the result was the same, process running but with no UI display. Now, even if you can not figure out what the solution is or maybe you are too busy with other tasks, I want to thank you for your help. The older version still works without issues. I'm thinking the problem is my PC and not your software. Anyway, if you come across with another possible solution I will be ready to try it. Until then, have a nice weekend. |
|
Advert | |
|
05-03-2020, 09:45 PM | #66 |
Fanatic
Posts: 520
Karma: 64554
Join Date: Aug 2013
Device: Kobo Glo, GloHD
|
Hm, its the same problem.
Is the data.db file where you copied or it disappeared again? If its not there, something is deleting it.. You must find the culprit. If its there, well..., it shouldn't give you this errors... I'm really curious.. |
05-04-2020, 05:07 PM | #67 |
Enthusiast
Posts: 27
Karma: 10
Join Date: Dec 2011
Device: Sony PRS-T1
|
Hi, I copied de data.db and it didn't dissapeared. First I copy the data.db and proceeded to start the process, it didn't dissapeared. Then I added the data.zip, both in the same directory (C:\Users\Usuario\AppData\Roaming\KoHighlights), and again neither dissapeared. Thanks for the help.
|
05-04-2020, 09:42 PM | #68 |
Fanatic
Posts: 520
Karma: 64554
Join Date: Aug 2013
Device: Kobo Glo, GloHD
|
Its getting stranger and stranger...
No need for the zip in the folder. The data.db is the file that the app is looking for. Since it can't find nor create a database, maybe there is a problem with SQlite. One thing you can try is to re-install the app but after you have disabled any antivirus or anti-spyware or whatever might block some files from getting installed right. I'm sorry I can't propose anything else, but I'm out of ideas.. |
05-07-2020, 08:04 PM | #69 |
Enthusiast
Posts: 27
Karma: 10
Join Date: Dec 2011
Device: Sony PRS-T1
|
I think I already did that but I will try again later today and give you my report. Thanks.
|
05-08-2020, 02:37 AM | #70 | |
Enthusiast
Posts: 27
Karma: 10
Join Date: Dec 2011
Device: Sony PRS-T1
|
Quote:
Now I'm not sure if the first time I installed version 1.1.0 (days ago after 1.2.2 had the "no display" issue) I disabled the antivirus before downloading the setup.exe or after it. But I am sure I installed version 1.1.0 with the antivirus disabled and it still had the issue. In any case the antivirus failed to warn me about any modifcation it did to the file. To be honest I was giving to the idea of using the older python version but your last suggestion did the trick. Hope this helps to anybody that come across the same issue. Finally I want to thank you for your patience and disposition to help me. Now I can enjoy my readings even more. |
|
05-08-2020, 10:33 PM | #71 |
Fanatic
Posts: 520
Karma: 64554
Join Date: Aug 2013
Device: Kobo Glo, GloHD
|
Great news!
That means that I don't have to use my Voodoo dolls and pins for this.. Glad you made it.. |
05-16-2020, 04:04 PM | #72 |
Fanatic
Posts: 520
Karma: 64554
Join Date: Aug 2013
Device: Kobo Glo, GloHD
|
|
06-02-2020, 10:40 PM | #73 |
Member
Posts: 14
Karma: 10
Join Date: May 2020
Device: Kobo Libra H2O, Remarkable 2, Android, Linux
|
Because of the different page formats and sizes, some page numbers in KOHighlights might be inaccurate.
Is this warning still accurate? I've only tried syncing highlights for one book so far, but that one it worked as expected, even though KOHighlights detected a different number of pages for the two copies of the book. |
06-04-2020, 08:32 PM | #74 |
Fanatic
Posts: 520
Karma: 64554
Join Date: Aug 2013
Device: Kobo Glo, GloHD
|
AFAIK KOReaders stores the current page number as key for every highlight it creates.
The page number can change even inside the same book if the font size changes. Between different devices, it must be close to imposible to keep the same page count. If this is still the case, then yes, I think the warning is still accurate. |
12-14-2020, 08:48 AM | #75 |
Member
Posts: 11
Karma: 10
Join Date: Dec 2020
Device: Kobo Aura 2 | Kobo Glo Hd
|
Hello everybody ! I’m very new in this forum but I’m a big fan of KOreader. As a phd student, I’m using it every day to read and highlight all my little stuffs. I must say, it’s a very very usefull tool ! Recently I discovered KoHighlights. I wanted to ask a small question to @embryo (because so far as I understand, you developed the new version of KoHighlights). I hope this is the right place : Have you plane to develop an another export possibility in KoHighlights ? I mean CSV for instance. I am managing until now with excel functions to convert the txt file to an xlsx file but maybe it could be not so complicated to ad CSV as an opportunity. Maybe it is possible to do it in command line but I unfortunately absolutely don’t know anything about Python...
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
PRS-T1 T1Mizer(Utility app for T1) | fairworld | Sony Reader Dev Corner | 9 | 11-16-2017 09:26 AM |
PDF: Highlights in images correct, copied text from highlights truncated | wonderose | Android Devices | 0 | 08-02-2015 12:25 PM |
Kindle Previewer (a must have utility) | townsend | Sigil | 3 | 05-03-2013 01:13 AM |
Need unzip utility on iLiad | nekokami | iRex | 5 | 04-20-2009 04:18 PM |
ePub Creation Utility | KoopaOne | ePub | 13 | 04-30-2008 11:38 AM |