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 05-06-2025, 09:08 AM   #856
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,195
Karma: 1355861
Join Date: Dec 2016
Location: Goiânia - Brazil
Device: iPad, Kindle Paperwhite, Kindle Oasis
Quote:
Originally Posted by Reader4106 View Post
• (read 35% ≙ Percentage of the read portion of the book
This is the info you need to fill in the reading progress column. It seems you are adding it to the comments section right now.

Last edited by thiago.eec; 05-06-2025 at 09:11 AM.
thiago.eec is offline   Reply With Quote
Old 05-07-2025, 09:55 AM   #857
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: 10,756
Karma: 74203799
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
PSA: Apply NTFS compression to the backup folder (if applicable). Compare Size and Size on Disk for comparison:

Click image for larger version

Name:	2025-05-07 10_56_50-Reading Goal Properties.png
Views:	59
Size:	13.0 KB
ID:	215542

Last edited by ownedbycats; 05-07-2025 at 09:58 AM.
ownedbycats is offline   Reply With Quote
Old 05-08-2025, 05:41 AM   #858
Comfy.n
want to learn what I want
Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.
 
Posts: 1,604
Karma: 7511185
Join Date: Sep 2020
Device: none
Quote:
Originally Posted by ownedbycats View Post
PSA: Apply NTFS compression to the backup folder (if applicable). Compare Size and Size on Disk for comparison:

Attachment 215542


Screenshot reminds me of giving another chance to eXtra buttons, thanks. (I'd have it crashing now and then the first time I tried)
Comfy.n is offline   Reply With Quote
Old 05-10-2025, 06:29 AM   #859
Reader4106
Member
Reader4106 began at the beginning.
 
Posts: 17
Karma: 10
Join Date: Oct 2014
Location: Schweiz [Switzerland]
Device: Pocketbook Verse Pro
@thiago.eec

Thanks for the reply.
I'll try to get the plug-in up and running. We'll see if I can manage it.
After that, it will be a huge task to re-enter the required data from the 850 books I've already entered. Fingers crossed that it works.

(Translated from German using Google Translate)
Reader4106 is offline   Reply With Quote
Old 05-13-2025, 06:08 AM   #860
Reader4106
Member
Reader4106 began at the beginning.
 
Posts: 17
Karma: 10
Join Date: Oct 2014
Location: Schweiz [Switzerland]
Device: Pocketbook Verse Pro
(Translated from German using Google Translate)

Thanks to your help, I was able to install the plugin and get it working.
After entering the current year's data, everything worked perfectly.
I then started entering data from previous years. I also added some custom columns to Calibre.
Of course, I don't fully understand ReadingGoal yet. Besides data entry, I'm still exploring other features. For example, I still don't understand the purpose and functionality of "Challenges." More on that below.

I've skimmed through the many pages of this thread, but haven't found any answers.
I hope I'm not causing too much trouble.

Then, after entering more data, I receive the following error message when calling the "Statistics" function:
Quote:
calibre, version 6.29.0
FEHLER: Unbehandelter Ausnahmefehler: <b>ValueError</b>:invalid literal for int() with base 10: 'Alle'

calibre 6.29 embedded-python: True
macOS-12.7.6-x86_64-i386-64bit Darwin ('64bit', '')
('Darwin', '21.6.0', 'Darwin Kernel Version 21.6.0: Mon Jun 24 00:56:10 PDT 2024; root:xnu-8020.240.18.709.2~1/RELEASE_X86_64')
Python 3.10.1
OSX: ('12.7.6', ('', '', ''), 'x86_64')
Interface language: de
Successfully initialized third party plugins: DeDRM (10, 0, 3) && Action Chains (1, 20, 10) && Annotations (1, 17, 13) && Count Pages (1, 13, 6) && Extract ISBN (1, 6, 5) && Favourites Menu (1, 3, 1) && Find Duplicates (1, 10, 9) && Import List (1, 9, 8) && Job Spy (1, 0, 239) && Library Codes (2, 0, 1) && Library Codes - SRU (2, 0, 4) && Manage Series (1, 5, 2) && Mass Search-Replace (1, 8, 2) && OverDrive Libby (0, 2, 3) && Pocketbook Tools (0, 10, 0) && Reading Goal (1, 9, 2) && Reading List (1, 15, 4) && Save To Format (0, 0, 6) && View Manager (1, 10, 3)
Traceback (most recent call last):
File "calibre_plugins.Reading_Goal.main", line 279, in manage_reading_goal
self.statistics_main(data)
File "calibre_plugins.Reading_Goal.main", line 3480, in statistics_main
ReadingGoalTools.show_statistics(self, tree, args)
File "calibre_plugins.Reading_Goal.main", line 3972, in show_statistics
d = ReadingGoalStatisticsDialog()
File "calibre_plugins.Reading_Goal.main", line 3493, in __init__
Dialog.__init__(self, _('Reading goal statistics'), 'plugin-reading-goal-stats-dialog', parent=tool.gui)
File "calibre/gui2/widgets2.py", line 225, in __init__
File "calibre_plugins.Reading_Goal.main", line 3560, in setup_ui
available_years = [year for year in available_years
File "calibre_plugins.Reading_Goal.main", line 3561, in <listcomp>
if int(year) <= datetime.datetime.now().astimezone().year]
ValueError: invalid literal for int() with base 10: 'Alle'
Calling the “Custom challenges” function results in the following error message:
Quote:
„KeyError“:’summary’“
The detailed error message contains the following content:
Quote:
calibre, version 6.29.0
FEHLER: Unbehandelter Ausnahmefehler: <b>KeyError</b>:'summary'

calibre 6.29 embedded-python: True
macOS-12.7.6-x86_64-i386-64bit Darwin ('64bit', '')
('Darwin', '21.6.0', 'Darwin Kernel Version 21.6.0: Mon Jun 24 00:56:10 PDT 2024; root:xnu-8020.240.18.709.2~1/RELEASE_X86_64')
Python 3.10.1
OSX: ('12.7.6', ('', '', ''), 'x86_64')
Interface language: de
Successfully initialized third party plugins: DeDRM (10, 0, 3) && Action Chains (1, 20, 10) && Annotations (1, 17, 13) && Count Pages (1, 13, 6) && Extract ISBN (1, 6, 5) && Favourites Menu (1, 3, 1) && Find Duplicates (1, 10, 9) && Import List (1, 9, 8) && Job Spy (1, 0, 239) && Library Codes (2, 0, 1) && Library Codes - SRU (2, 0, 4) && Manage Series (1, 5, 2) && Mass Search-Replace (1, 8, 2) && OverDrive Libby (0, 2, 3) && Pocketbook Tools (0, 10, 0) && Reading Goal (1, 9, 2) && Reading List (1, 15, 4) && Save To Format (0, 0, 6) && View Manager (1, 10, 3)
Traceback (most recent call last):
File "calibre_plugins.Reading_Goal.main", line 291, in manage_reading_goal
self.custom_challenges(db, data)
File "calibre_plugins.Reading_Goal.main", line 1845, in custom_challenges
d = CustomChallengesDialog()
File "calibre_plugins.Reading_Goal.main", line 1477, in __init__
Dialog.__init__(self, _('Custom challenges'), 'plugin-reading-goal-challenges-dialog', parent=tool.gui)
File "calibre/gui2/widgets2.py", line 225, in __init__
File "calibre_plugins.Reading_Goal.main", line 1521, in setup_ui
if 'challenges_dict' in goal_data[year]['summary']:
KeyError: 'summary'
I then took the following steps:
  • Deleted all zero values ​​(0)
  • Checked whether I had entered any other characters in columns where numbers were expected (exception: spaces, etc.)
  • Even when entering the values, I noticed something strange. My PC's decimal separator is "." It requires the input as ",". Could this be the cause?
  • The formatting of the required column "percentage_rg" has the following value: "{:.0f}%." Or is this the cause?

For the sake of completeness, there are screenshots of the other definitions.
Attached Thumbnails
Click image for larger version

Name:	ReadingGoal_Error_Statistics.png
Views:	29
Size:	59.8 KB
ID:	215635   Click image for larger version

Name:	ReadingGoal_Error_Custom challenges.png
Views:	27
Size:	56.9 KB
ID:	215636   Click image for larger version

Name:	ReadingGoal_Screenshot_Mainmenu_Main.png
Views:	29
Size:	166.4 KB
ID:	215637   Click image for larger version

Name:	ReadingGoal_Screenshot_Mainmenu_Columns_.png
Views:	28
Size:	180.8 KB
ID:	215638   Click image for larger version

Name:	ReadingGoal_Screenshot_definition_percentage.png
Views:	30
Size:	142.8 KB
ID:	215639   Click image for larger version

Name:	ReadingGoal_Screenshot_definition_pages.png
Views:	28
Size:	112.0 KB
ID:	215640   Click image for larger version

Name:	ReadingGoal_Screenshot_definition_reading_dates.png
Views:	29
Size:	90.9 KB
ID:	215641   Click image for larger version

Name:	ReadingGoal_Screenshot_definition_genre.png
Views:	27
Size:	86.0 KB
ID:	215642  
Reader4106 is offline   Reply With Quote
Old 05-13-2025, 03:36 PM   #861
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,195
Karma: 1355861
Join Date: Dec 2016
Location: Goiânia - Brazil
Device: iPad, Kindle Paperwhite, Kindle Oasis
Quote:
Originally Posted by Reader4106 View Post
Thanks to your help, I was able to install the plugin and get it working.
After entering the current year's data, everything worked perfectly.
Glad to hear you got it working.

Quote:
Originally Posted by Reader4106 View Post
Of course, I don't fully understand ReadingGoal yet. Besides data entry, I'm still exploring other features. For example, I still don't understand the purpose and functionality of "Challenges." More on that below.
The Custom Challenges are meant to create a subset of your annual reading goal. You could create a "Fiction challenge", for instance; a "Sci-fi challenge", etc. Also, you can define a restricted time window (let's say three months for a certain challenge).

Quote:
Originally Posted by Reader4106 View Post
I've skimmed through the many pages of this thread, but haven't found any answers.
I hope I'm not causing too much trouble.
No trouble at all. We all help each other here.

Quote:
Originally Posted by Reader4106 View Post
Then, after entering more data, I receive the following error message when calling the "Statistics" function:
Code:
FEHLER: Unbehandelter Ausnahmefehler: <b>ValueError</b>:invalid literal for int() with base 10: 'Alle'
I can't reproduce that. And, to be honest, I don't understand how this is possible at all. Anyway, test the version attatched. It might solve the problem.


Quote:
Originally Posted by Reader4106 View Post
Calling the “Custom challenges” function results in the following error message:
Code:
FEHLER: Unbehandelter Ausnahmefehler: <b>KeyError</b>:'summary'
Try the attatched version to see if this is fixed.

Quote:
Originally Posted by Reader4106 View Post
I then took the following steps:
  • Even when entering the values, I noticed something strange. My PC's decimal separator is "." It requires the input as ",". Could this be the cause?
  • The formatting of the required column "percentage_rg" has the following value: "{:.0f}%." Or is this the cause?
This is just presentational. It makes no difference for the plugin.
Attached Files
File Type: zip Reading_Goal_test_version.zip (423.3 KB, 31 views)
thiago.eec is offline   Reply With Quote
Old 05-14-2025, 08:16 AM   #862
Reader4106
Member
Reader4106 began at the beginning.
 
Posts: 17
Karma: 10
Join Date: Oct 2014
Location: Schweiz [Switzerland]
Device: Pocketbook Verse Pro
Thanks thiago.eec for this quick reply.

Quote:
Try the attatched version to see if this is fixed.
After installing the new version, I can access the statistics again. Thanks.

However, I can no longer access "Custom Challenges."

Attached is a screenshot of the error message.
And here is the detailed text of the error message:
Quote:
calibre, version 6.29.0
FEHLER: Unbehandelter Ausnahmefehler: <b>KeyError</b>:'summary'

calibre 6.29 embedded-python: True
macOS-12.7.6-x86_64-i386-64bit Darwin ('64bit', '')
('Darwin', '21.6.0', 'Darwin Kernel Version 21.6.0: Mon Jun 24 00:56:10 PDT 2024; root:xnu-8020.240.18.709.2~1/RELEASE_X86_64')
Python 3.10.1
OSX: ('12.7.6', ('', '', ''), 'x86_64')
Interface language: de
Successfully initialized third party plugins: DeDRM (10, 0, 3) && Action Chains (1, 20, 10) && Annotations (1, 17, 13) && Count Pages (1, 13, 6) && Extract ISBN (1, 6, 5) && Favourites Menu (1, 3, 1) && Find Duplicates (1, 10, 9) && Import List (1, 9, 8) && Job Spy (1, 0, 239) && Library Codes (2, 0, 1) && Library Codes - SRU (2, 0, 4) && Manage Series (1, 5, 2) && Mass Search-Replace (1, 8, 2) && OverDrive Libby (0, 2, 3) && Pocketbook Tools (0, 10, 0) && Reading Goal (1, 9, 2) && Reading List (1, 15, 4) && Save To Format (0, 0, 6) && View Manager (1, 10, 3)
Traceback (most recent call last):
File "calibre_plugins.Reading_Goal.main", line 291, in manage_reading_goal
self.custom_challenges(db, data)
File "calibre_plugins.Reading_Goal.main", line 1845, in custom_challenges
d = CustomChallengesDialog()
File "calibre_plugins.Reading_Goal.main", line 1477, in __init__
Dialog.__init__(self, _('Custom challenges'), 'plugin-reading-goal-challenges-dialog', parent=tool.gui)
File "calibre/gui2/widgets2.py", line 225, in __init__
File "calibre_plugins.Reading_Goal.main", line 1521, in setup_ui
if 'challenges_dict' in goal_data[year]['summary']:
KeyError: 'summary'

When I tried to import more data, a message appeared stating that there were still records with empty fields.

I have empty fields for two groups of "books."

One group consists of reference books, dictionaries, atlases, guides, etc., which I started but never finished and therefore cannot specify a page number or percentage of the portion read.

I could simply move these books to the abandoned books. However, this doesn't seem correct to me, as they would be included in the statistics, which I don't think is right.
Here's a suggestion: What do you think about a new category for books like the ones mentioned above? I would also appreciate being able to specify which of the groups is used for which type of statistics calculation.

The second group consists of audiobooks.
As already mentioned in another post, I consider books I've listened to as read and don't differentiate between books I've read and books I've read. I often enjoy having books read to me while driving, doing gardening, or housework.

I'd like to ask you how you convert the "duration" (I store the value in whole minutes) into a page number. With e-books, the device's page count depends on various factors such as device type, font, font size, and other influences.

A conversion from the page count in the publisher's information for the paper editions might be possible. But even though I don't expect a particularly high level of accuracy from a conversion factor, I can only see a very complex way to calculate one. A factor would have to be calculated from the page count in the publisher's information and the reading time of the audiobook. Especially with nonfiction books with appendices such as glossaries, bibliographies, image sections, graphics, etc., these greatly distort the result. In German publishing, there's another issue. Many books have advertising sections for other books at the end, which are often more than 30 pages long and can further degrade the results.

I would be very grateful for any tips.

This question should probably be discussed elsewhere. Sorry.

In any case, I'm looking forward to your answers. Thank you.

(Translated from German using Google Translate)
Attached Thumbnails
Click image for larger version

Name:	ReadingGoal_Error_Custom challenges2.png
Views:	26
Size:	55.2 KB
ID:	215671  
Reader4106 is offline   Reply With Quote
Old 05-14-2025, 08:48 AM   #863
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,195
Karma: 1355861
Join Date: Dec 2016
Location: Goiânia - Brazil
Device: iPad, Kindle Paperwhite, Kindle Oasis
Quote:
Originally Posted by Reader4106 View Post
However, I can no longer access "Custom Challenges."
Please send me the database file so I can better understand what's going on. You can send it here with a .txt extension or via private message.

Quote:
Originally Posted by Reader4106 View Post
When I tried to import more data, a message appeared stating that there were still records with empty fields.
You can have empty fields, as long as the reading percentage is less than 100%. If a book is 100% read, then you must inform the page count and the finish date.

Quote:
Originally Posted by Reader4106 View Post
I'd like to ask you how you convert the "duration" (I store the value in whole minutes) into a page number.
I have a column with the average reading time for all my books based on the word count / page count. It uses the word count (generated by the Page Count plugin) to calculate the reading time. In case there is no word count, it uses the page count. I use an average reading speed of 260 words/min (or 50 pages/hour).

So, if you have the duration and want to convert to a page count, you could just multiply the duration by your reading speed (in pages/hour).
thiago.eec is offline   Reply With Quote
Old 05-14-2025, 10:19 AM   #864
Reader4106
Member
Reader4106 began at the beginning.
 
Posts: 17
Karma: 10
Join Date: Oct 2014
Location: Schweiz [Switzerland]
Device: Pocketbook Verse Pro
Reply to the post from 12:48 PM

That was quick. Thanks.

I hope I found the right file. The .Jason file is attached and in the desired txt format.
While formatting the file, I came across two entries that seem very strange to me. In the database, they have the entries "9307": { and "9308": {.
These are two copies of the same issue of a magazine in PDF format. I made annotations in one of them. Invisible characters are appended or inserted to the title of both issues. I can't figure out where these characters come from.

That's why I'm sending two screenshots of the book information for both copies.
Could these two entries be causing the problem?

Thanks also for the other information. They explain a lot.
I'll look into the missing entries where necessary.
I'll also take care of the audiobooks at a later date.

I considered removing the two journal entries from ReadingGoal. When I tried, I was asked if I really wanted to do that, as it couldn't be undone. I then abandoned the attempt.
What would I have lost if I had deleted them?
And couldn't I have simply added them back later?
Another thought: What would happen if I first cleaned up all Calibre entries and completed them as much as possible. Then removed and reinstalled the ReadingGoal plugin?
Would that work, and would there be any benefit?
Attached Thumbnails
Click image for larger version

Name:	Author_Spiegel-Verlag_Int#_9307.jpg
Views:	29
Size:	459.1 KB
ID:	215676   Click image for larger version

Name:	Author_Spiegel-Verlag_Int#_9308.jpg
Views:	31
Size:	498.3 KB
ID:	215677  
Attached Files
File Type: txt Reading_Goal_mbr.txt (505.3 KB, 26 views)
Reader4106 is offline   Reply With Quote
Old 05-14-2025, 01:20 PM   #865
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,195
Karma: 1355861
Join Date: Dec 2016
Location: Goiânia - Brazil
Device: iPad, Kindle Paperwhite, Kindle Oasis
Quote:
Originally Posted by Reader4106 View Post
While formatting the file, I came across two entries that seem very strange to me.
When you say you were formatting the file, do you mean you manually edited the file? That is not advised. Most of the time it leads to database corruption.

I see your database has an 'Alle' (german for 'All') key. I don't see how this is possible except for manual edit. But if you didn't edit the file, it may be a bug that only happens under very specific circustances, as others never came across it. In the JSON database, the main keys should be years (... 2023, 2024, 2025, and a 'general_info' key at the end).

Quote:
Originally Posted by Reader4106 View Post
In the database, they have the entries "9307": { and "9308": {.
These are two copies of the same issue of a magazine in PDF format. I made annotations in one of them. Invisible characters are appended or inserted to the title of both issues. I can't figure out where these characters come from.
That's why I'm sending two screenshots of the book information for both copies.
Could these two entries be causing the problem?
No. Each ID is considered a diferent book by calibre and by the plugin. If you see both 9307 and 9308, then you added both to your reading goal. Reading Goal makes no change to your calibre library. The plugin only edit its own database.

Quote:
Originally Posted by Reader4106 View Post
I considered removing the two journal entries from ReadingGoal. When I tried, I was asked if I really wanted to do that, as it couldn't be undone. I then abandoned the attempt.
What would I have lost if I had deleted them?
And couldn't I have simply added them back later?
When you add a book you want to read, it has a initial date and a 0% status. Then, as you keep reading, every time you update the reading percentage, a new record is created inside that book. You can see them by selecting the book and clicking in the far inline right buttom. So, if you delete a book that has records, they will be lost forever. If the book has no record, then you could just add it back, and no harm would be done.

Quote:
Originally Posted by Reader4106 View Post
Another thought: What would happen if I first cleaned up all Calibre entries and completed them as much as possible. Then removed and reinstalled the ReadingGoal plugin?
Would that work, and would there be any benefit?
Unless you think your data is severely wrong, I wouldn't recommed that. It's a lot of work. I edited your JSON file removing the 'Alle' key. Now it should work normally and you can continue adding books.

*PS.: Just rename the file from 'Reading_Goal_mbr.txt' to 'Reading_Goal_mbr.json', then import via 'Database > Import' button.
Attached Files
File Type: txt Reading_Goal_mbr.txt (195.0 KB, 24 views)

Last edited by thiago.eec; 05-14-2025 at 01:23 PM.
thiago.eec is offline   Reply With Quote
Old 05-16-2025, 07:36 AM   #866
Reader4106
Member
Reader4106 began at the beginning.
 
Posts: 17
Karma: 10
Join Date: Oct 2014
Location: Schweiz [Switzerland]
Device: Pocketbook Verse Pro
Thanks for the answers.
I haven't understood everything yet, but that's not due to my lack of English.
I'll be working with the plug-in for a while now; hopefully, it will explain a few things to me.

Quote:
When you say you were formatting the file, do you mean you manually edited the file? That is not advised. Most of the time it leads to database corruption.
I haven't changed anything in the JSON database. I noticed the oddity when I converted it from JSON to TXT.

Quote:
I see your database has an 'Alle' (german for 'All') key. I don't see how this is possible except for manual edit. But if you didn't edit the file, it may be a bug that only happens under very specific circustances, as others never came across it. In the JSON database, the main keys should be years (... 2023, 2024, 2025, and a 'general_info' key at the end).
I can't say where the "All" option comes from. But I really appreciate it.

Now, one last question (for now): How can I enter the data for a book for rereading? And as a follow-up question, can the rereading function also be applied to unfinished books?

Despite my many questions, I would like to mention how much I like the plug-in and thank you for your work.
Reader4106 is offline   Reply With Quote
Old 05-16-2025, 09:15 AM   #867
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,195
Karma: 1355861
Join Date: Dec 2016
Location: Goiânia - Brazil
Device: iPad, Kindle Paperwhite, Kindle Oasis
Quote:
Originally Posted by Reader4106 View Post
I haven't changed anything in the JSON database. I noticed the oddity when I converted it from JSON to TXT.
Then it must be a bug, but I don't know how it happened. I'll investigate to see if I can reproduce. It must happen with a new database, under certain conditions.

Quote:
Originally Posted by Reader4106 View Post
I can't say where the "All" option comes from. But I really appreciate it.
When you choose 'All' in the dropdown menu, the plugin gathers all the years' information and present it to the user. But, there is no 'All' entry in the JSON, it's created at execution time, internally.

Quote:
Originally Posted by Reader4106 View Post
Now, one last question (for now): How can I enter the data for a book for rereading? And as a follow-up question, can the rereading function also be applied to unfinished books?
After you finish a book, if your start reading it again the plugin will mark it as 'Rereading' automatically. You don't have to do anything special, except start reading it.

Quote:
Originally Posted by Reader4106 View Post
Despite my many questions, I would like to mention how much I like the plug-in and thank you for your work.
Thanks.
thiago.eec is offline   Reply With Quote
Old 05-16-2025, 08:36 PM   #868
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: 10,756
Karma: 74203799
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
I used my "mark as read" chain (sets date + 100%) on the wrong book. I cleared the date and set back to 0% and then removed the record. Now I have two undated 0% records and neither can be removed.

Code:
    "9292": {
      "authors": [
        "AstroGold"
      ],
      "challenges": [
        "Annual"
      ],
      "date": null,
      "genre": [
        "Fanfiction.Star Trek"
      ],
      "last_year_pages": 0,
      "page_count": 30,
      "read_pages": 0,
      "records": {
        "0": {
          "date": null,
          "read_pages": 0,
          "status": 0
        },
        "2": {
          "date": null,
          "read_pages": 0,
          "status": 0
        }
      },
      "reread_count": -1,
      "series": null,
      "shelf": "Want to read",
      "status": 0,
      "title": "The Great Irish Penny-Farthing Bike Race: Delta Quadrant Edition",
      "title_sort": "Great Irish Penny-Farthing Bike Race: Delta Quadrant Edition, The"
    },
I was able to just remove + re-add the book, but seems a bug.

Last edited by ownedbycats; 05-16-2025 at 08:39 PM.
ownedbycats is offline   Reply With Quote
Old 05-16-2025, 10:15 PM   #869
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,195
Karma: 1355861
Join Date: Dec 2016
Location: Goiânia - Brazil
Device: iPad, Kindle Paperwhite, Kindle Oasis
Quote:
Originally Posted by ownedbycats View Post
Now I have two undated 0% records and neither can be removed.
The last record can't be removed. And since those two records are identical (null date and 0%), then neither can be removed. After you add a new record, those can be deleted.
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 1421 05-29-2025 11:57 PM
[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:13 AM.


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