Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Plugins

Notices

Reply
 
Thread Tools Search this Thread
Old 09-28-2025, 05:50 PM   #946
thiago.eec
Wizard
thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.
 
Posts: 1,287
Karma: 1428263
Join Date: Dec 2016
Location: Goiânia - Brazil
Device: iPad, Kindle Paperwhite, Kindle Oasis
Quote:
Originally Posted by mgiuntoni View Post
@tiago.eec
I sent you PM for the db. Here is the screen shot you requested
Thanks. I'll take a look as soon as possible.
thiago.eec is offline   Reply With Quote
Old 09-29-2025, 07:50 AM   #947
thiago.eec
Wizard
thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.
 
Posts: 1,287
Karma: 1428263
Join Date: Dec 2016
Location: Goiânia - Brazil
Device: iPad, Kindle Paperwhite, Kindle Oasis
Quote:
Originally Posted by mgiuntoni View Post
HI, I'm seeing the following issue. I' hope it's not in the previous 62 pages.
I have added several read books from year 2025 and 2024 and 2022.
If I select 2025 I see all of them
If I select 2024 I see both 2024 and 2025. Is this correct?
If I select 2022 I see only 2022 books.
Should I restart from scratch? I've tried to remove a book from 2025 and it disappeared in both lists (2025 and 2024) but when I added it again it appeared again in both.
I also see the Want to Read list of 2025 when I select 2024
Please help!
Hi, @mgiuntoni.

I looked at your database and it is really odd. I can't reproduce it here. Did you edited the JSON file manually? It's the only way I can imagine this.

I'm sorry to say, but my suggestion is for you to make a backup and start from scratch. Start from older years and make your way to 2025. Keep track of what happens all the time. If you identify exactly when the glitch happens, maybe we can find the bug, if it exists; then, tell me exact steps to create a record that appear in both years.
thiago.eec is offline   Reply With Quote
Old 09-29-2025, 12:37 PM   #948
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 11,329
Karma: 79528341
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Previous glitch, fixed now, that copied all the books from previous years into current year. Could that have occurred at some point?
ownedbycats is offline   Reply With Quote
Old 09-29-2025, 01:11 PM   #949
mgiuntoni
Junior Member
mgiuntoni began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Jun 2021
Device: ipad air 4g, kindle paperwhite
Quote:
Originally Posted by thiago.eec View Post
Hi, @mgiuntoni.

I looked at your database and it is really odd. I can't reproduce it here. Did you edited the JSON file manually? It's the only way I can imagine this.

I'm sorry to say, but my suggestion is for you to make a backup and start from scratch. Start from older years and make your way to 2025. Keep track of what happens all the time. If you identify exactly when the glitch happens, maybe we can find the bug, if it exists; then, tell me exact steps to create a record that appear in both years.
Hi Thiago,

Thanks for the investigation. I really appreciate it.
I still don't understand how it happened. Maybe I was half asleep and did something strange.
As a final solution I will start from scratch, but maybe could it be a way to clean it up editing the JSON and importing it again? Do you think it's possible?
mgiuntoni is offline   Reply With Quote
Old 09-29-2025, 04:01 PM   #950
thiago.eec
Wizard
thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.
 
Posts: 1,287
Karma: 1428263
Join Date: Dec 2016
Location: Goiânia - Brazil
Device: iPad, Kindle Paperwhite, Kindle Oasis
Quote:
Originally Posted by ownedbycats View Post
Previous glitch, fixed now, that copied all the books from previous years into current year. Could that have occurred at some point?
Maybe. I don't remember the specifics.

Quote:
Originally Posted by mgiuntoni View Post
Hi Thiago,

Thanks for the investigation. I really appreciate it.
I still don't understand how it happened. Maybe I was half asleep and did something strange.
As a final solution I will start from scratch, but maybe could it be a way to clean it up editing the JSON and importing it again? Do you think it's possible?
You could edit the JSON, but you can also just select all the books from 2024/2025 and delete via plugin. Then, start adding again.
thiago.eec is offline   Reply With Quote
Old 09-30-2025, 10:10 AM   #951
mgiuntoni
Junior Member
mgiuntoni began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Jun 2021
Device: ipad air 4g, kindle paperwhite
Quote:
Originally Posted by thiago.eec View Post
You could edit the JSON, but you can also just select all the books from 2024/2025 and delete via plugin. Then, start adding again.
I cleared all and started again from scratch. Now everything works fine.
Not so much work, anyway.
Thanks a lot for all the support
mgiuntoni is offline   Reply With Quote
Old 09-30-2025, 12:51 PM   #952
Feoras
Member
Feoras began at the beginning.
 
Posts: 16
Karma: 10
Join Date: May 2023
Device: Kobo Glo
Quote:
Originally Posted by thiago.eec View Post
Hi, @Feoras.

The config option is definitely needed.

I like to keep my statistcs window as narrow as possible (that's just my preference, but others might like it too). The daily graph adapts well for the screen width, while each bar need some fixed space, so for 30 bars, we need a lot more space then for 12 (months).

But I'll look into it.
Thank you! I would love to have the bars in there if you figure out a way to properly implement it.
Feoras is offline   Reply With Quote
Old 10-14-2025, 01:57 PM   #953
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 11,329
Karma: 79528341
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Code:
calibre, version 8.12.100
ERROR: Unhandled exception: <b>KeyError</b>:'jan'

calibre 8.12.100  embedded-python: True
Windows-10-10.0.19045-SP0 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.19045')
Python 3.11.13
Windows: ('10', '10.0.19045', 'SP0', 'Multiprocessor Free')
Interface language: None
EXE path: C:\Program Files\Calibre2\calibre.exe
Successfully initialized third party plugins: ...
Traceback (most recent call last):
  File "calibre_plugins.Reading_Goal.main", line 4039, in update_year
  File "calibre_plugins.Reading_Goal.main", line 4193, in get_month_html
KeyError: 'jan'
I get this when I go to different year in statistics, except 2020 (I started logging readdates in April).
ownedbycats is offline   Reply With Quote
Old 10-14-2025, 06:20 PM   #954
thiago.eec
Wizard
thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.
 
Posts: 1,287
Karma: 1428263
Join Date: Dec 2016
Location: Goiânia - Brazil
Device: iPad, Kindle Paperwhite, Kindle Oasis
Quote:
Originally Posted by ownedbycats View Post
Code:
calibre, version 8.12.100
ERROR: Unhandled exception: <b>KeyError</b>:'jan'

calibre 8.12.100  embedded-python: True
Windows-10-10.0.19045-SP0 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.19045')
Python 3.11.13
Windows: ('10', '10.0.19045', 'SP0', 'Multiprocessor Free')
Interface language: None
EXE path: C:\Program Files\Calibre2\calibre.exe
Successfully initialized third party plugins: ...
Traceback (most recent call last):
  File "calibre_plugins.Reading_Goal.main", line 4039, in update_year
  File "calibre_plugins.Reading_Goal.main", line 4193, in get_month_html
KeyError: 'jan'
I get this when I go to different year in statistics, except 2020 (I started logging readdates in April).
I thought this was solved during the test phase. This is caused by python chaging case in the 'calendar.month_abbr' method for certain languages. In english, it uses capital case, while in portuguese (my system's language) it uses lower case. I think this makes no sense, but who knows, there might be a reason for that.

Since past years are not updated, this might be what is causing the error.

Anyway, test the version attached. I made a quick fix.

Last edited by thiago.eec; 10-15-2025 at 06:04 AM. Reason: Removed test version.
thiago.eec is offline   Reply With Quote
Old 10-15-2025, 12:34 AM   #955
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 11,329
Karma: 79528341
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
I get the same error, except with 'Jan'.
ownedbycats is offline   Reply With Quote
Old 10-15-2025, 06:04 AM   #956
thiago.eec
Wizard
thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.
 
Posts: 1,287
Karma: 1428263
Join Date: Dec 2016
Location: Goiânia - Brazil
Device: iPad, Kindle Paperwhite, Kindle Oasis
Quote:
Originally Posted by ownedbycats View Post
I get the same error, except with 'Jan'.
Please PM me your database, so I can have a look.
thiago.eec is offline   Reply With Quote
Old 10-16-2025, 09:26 AM   #957
thiago.eec
Wizard
thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.
 
Posts: 1,287
Karma: 1428263
Join Date: Dec 2016
Location: Goiânia - Brazil
Device: iPad, Kindle Paperwhite, Kindle Oasis
Version 2.0.1 - 16 Oct 2025

- Bug fix: Ensure month abbreviation is always used in lowercase
thiago.eec is offline   Reply With Quote
Old 10-16-2025, 09:27 AM   #958
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 11,329
Karma: 79528341
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Quote:
Originally Posted by thiago.eec View Post
Version 2.0.1 - 16 Oct 2025

- Bug fix: Ensure month abbreviation is always used in lowercase
ownedbycats is offline   Reply With Quote
Old 10-20-2025, 04:55 AM   #959
un_pogaz
Chalut o/
un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.
 
un_pogaz's Avatar
 
Posts: 486
Karma: 678910
Join Date: Dec 2017
Device: Kobo
Hey, I don't know if their a Github where I can proprely sudmit this, but here a version to fix a annoying behavior of Reading Goal.

Currently, each time you start Calibre, Reading Goal extrat all their assets. The issue is that it overwrite the previous files, every time, even if the file are identical (what happens pretty much all the time) unnecessarily updating the file at each startup.

In this patch version, Reading Goal check the file on the system and extracting and updating it only if their different.
(file changed: "ui.py")

Last edited by un_pogaz; 10-20-2025 at 12:44 PM.
un_pogaz is offline   Reply With Quote
Old 10-20-2025, 07:03 AM   #960
thiago.eec
Wizard
thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.
 
Posts: 1,287
Karma: 1428263
Join Date: Dec 2016
Location: Goiânia - Brazil
Device: iPad, Kindle Paperwhite, Kindle Oasis
Thanks for the fix. I'll release it right now.
thiago.eec is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[GUI Plugin] Reading List kiwidude Plugins 1430 09-03-2025 05:14 AM
[GUI Plugin] Save Virtual Libraries To Column (GUI) chaley Plugins 14 04-04-2021 05:25 AM
Reading Goal KyBunnies Audiobook Discussions 12 10-25-2017 05:29 PM


All times are GMT -4. The time now is 01:38 PM.


MobileRead.com is a privately owned, operated and funded community.