Member
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:
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.
|