![]() |
#481 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,108
Karma: 62844063
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Also, just for futureproofing: When 2025-01-01 rolls around, what will happen to any migrated unreads that have a 2024 #lastread? Will they also error?
For reference, I'm adding the current datetime to #lastread before adding it to the goal. for sorting purposes, mostly. Last edited by ownedbycats; 07-28-2024 at 12:35 AM. |
![]() |
![]() |
![]() |
#482 | |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 965
Karma: 1183425
Join Date: Dec 2016
Location: Goiânia - Brazil
Device: iPad, Kindle Paperwhite
|
Quote:
1) 2024-01-01 works just fine here, so 2025-01-01 will work too. Like I said, maybe the problem is how the date was set (via Action Chains). When you set a datetime via python, you can choose to use a naive datetime or a timezone aware. My guess is that Action Chains uses a naive datetime object, but calibre adds the offset, putting it in the wrong year. 2) If you use the RG auto migrate feature, the books in your 'want to read' and 'reading' shelves will be moved to your 2025 goal in 2025-01-01. But you'll still need to change your #lastread date to 2025, since the plugin never touches your calibre library. |
|
![]() |
![]() |
![]() |
#483 |
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 179
Karma: 131606
Join Date: Oct 2011
Location: Germany (south-west)
Device: Kobo Libra 2 & Clara 2E, Tolino shine 5th Gen
|
I'm currently testing the plugin and have noticed that the genre column keeps getting forgotten. I can select "tags" as the genre column in the settings, but the next time I open the settings it has disappeared again. Have I perhaps missed something?
|
![]() |
![]() |
![]() |
#484 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 965
Karma: 1183425
Join Date: Dec 2016
Location: Goiânia - Brazil
Device: iPad, Kindle Paperwhite
|
That's a bug. Thanks for reporting it. I'll investigate.
|
![]() |
![]() |
![]() |
#485 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 965
Karma: 1183425
Join Date: Dec 2016
Location: Goiânia - Brazil
Device: iPad, Kindle Paperwhite
|
Version 1.6.0 - 06 Aug 2024
- Bug fix: avoid the genre column being cleared when using a standard field (tags) |
![]() |
![]() |
![]() |
#486 |
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 179
Karma: 131606
Join Date: Oct 2011
Location: Germany (south-west)
Device: Kobo Libra 2 & Clara 2E, Tolino shine 5th Gen
|
Thanks a lot. I can confirm that the problem has been fixed.
|
![]() |
![]() |
![]() |
#487 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,108
Karma: 62844063
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Enhancement, if feasible: An option to further group books in Edit Reading Goal per month.
|
![]() |
![]() |
![]() |
#488 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 965
Karma: 1183425
Join Date: Dec 2016
Location: Goiânia - Brazil
Device: iPad, Kindle Paperwhite
|
We would need another column just for that, taking space of other columns. You can already sort it by date, so I don't think it is worth to compromise the current layout.
|
![]() |
![]() |
![]() |
#489 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,108
Karma: 62844063
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Here's an odd behaviour I was able to replicate:
1. Have a goal book with a null date and a progress of 0. 2. Change date to the current date. This now results in two entries in the reading goal. 3. Then update progress. Unless the undated 0% entry is deleted, the dated 0% entry disappears. Is this intended? |
![]() |
![]() |
![]() |
#490 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 965
Karma: 1183425
Join Date: Dec 2016
Location: Goiânia - Brazil
Device: iPad, Kindle Paperwhite
|
1) When you add a book to your goal, the current date/progress will be registered as you your first record
2) A new record is created only when you change the progress. If you check your json, at this point, you will see this: Code:
"records": { "0": { "date": null, "read_pages": 0, "status": 0 } }, 3) Here you updated the progress, hence got a new record. Now you json looks similar to this: Code:
"records": { "0": { "date": null, "read_pages": 0, "status": 0 }, "1": { "date": { "__class__": "datetime.datetime", "__value__": "2024-08-15T10:23:50.830000+00:00" }, "read_pages": 3, "status": 1 } }, P.S.: When delete your only record, then the plugin creates a new record based on you current data, because there must be at least one record all the time. |
![]() |
![]() |
![]() |
#491 |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Aug 2024
Location: Germany
Device: Pocketbook Touch Lux 3
|
Thank you for this plugin. It's really awesome! I just found it about two weeks ago and want to keep reading so I can enter more data
![]() If I go to the Genre view in edit reading goal and click on the date column in order to sort by date I get the following error: Code:
calibre, version 7.16.0 FEHLER: Unbehandelter Ausnahmefehler: <b>TypeError</b>:'<' not supported between instances of 'QDateTime' and 'NoneType' calibre 7.16 embedded-python: True Linux-5.15.0-116-generic-x86_64-with-glibc2.38 Linux ('64bit', 'ELF') ('Linux', '5.15.0-116-generic', '#126-Ubuntu SMP Mon Jul 1 10:14:24 UTC 2024') Python 3.11.5 Interface language: de EXE path: /app/lib/calibre/bin/calibre Traceback (most recent call last): File "calibre_plugins.Reading_Goal.main", line 3337, in __lt__ return first < second ^^^^^^^^^^^^^^ TypeError: '<' not supported between instances of 'QDateTime' and 'NoneType' Thank you for your great work! |
![]() |
![]() |
![]() |
#492 | |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,108
Karma: 62844063
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Quote:
|
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[GUI Plugin] Reading List | kiwidude | Plugins | 1350 | Today 11:03 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 |