|
|
#976 |
|
Member
![]() Posts: 19
Karma: 10
Join Date: May 2023
Device: Kobo Glo
|
Hey there,
it's been awhile but thank you so much for all the improvements for this plugin and adding the bar/column daily chart! Finally had some time to add all the books from previous years to the plugin too. I just have one tiny issue ... that calibre closes without any error when I click on a month to open the daily chart. I'm not quite sure why this happens. It happens with a dummy library with just one entry, column or line, no matter what calibre just closes. To test if it is the daily html/code causing this, I replaced the starting monthly view with the daily view and this works - no crash. Every other view works (genre, month, different year, all years). So I am not sure what could cause this crash, especially since others do not seem to have this issue. I am using calibre on Linux, so it might very well be an OS specific issue too ... |
|
|
|
|
|
#977 | |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,303
Karma: 1436993
Join Date: Dec 2016
Location: Goiânia - Brazil
Device: iPad, Kindle Paperwhite, Kindle Oasis
|
Quote:
|
|
|
|
|
|
|
#978 | |
|
Member
![]() Posts: 19
Karma: 10
Join Date: May 2023
Device: Kobo Glo
|
Quote:
Code:
self.browser.page().navigationRequested.connect(self.daily_pages_columns) Code:
class ReadingGoalStatisticsDialog(Dialog):
def setup_ui(self) -> None:
# ...
self.change_view_menu.addItem(get_icon('genre_view.png'), _('By genre'))
self.daily_button_jan = QPushButton(_('Jan'))
self.h_layout.addWidget(self.daily_button_jan, 0, Qt.AlignRight)
self.daily_button_jan.clicked.connect(lambda: self.on_daily_button('jan'))
self.h_layout.addWidget(self.change_view_menu, 0, Qt.AlignRight)
# ...
# ...
def on_daily_button(self, month) -> None:
# this is basically daily_pages_columns with only the part in len(url) == 3 and url replaced with month
daily_page_count = self.daily_page_count()
daily_data = [[_('Days'), _('Pages')]]
temp_daily_data = []
for day in daily_page_count[month]:
temp_daily_data.append([str(day), daily_page_count[month][day]])
for item in temp_daily_data:
daily_data.append(item)
h_axis_title = _('Days')
v_axis_title = _('Pages')
previous_button = _('Previous')
next_button = _('Next')
main_title = month.upper()
background_color = '#121212' if is_dark_theme() else '#ffffff'
text_color = '#ddd' if is_dark_theme() else '#000000'
_daily_html_column = daily_html_column
formated_daily_html_column = _daily_html_column.format(daily_data, background_color, text_color,
h_axis_title, v_axis_title, main_title,
previous_button, next_button)
self.browser.page().setHtml(formated_daily_html_column)
self.month_name = deepcopy(month).lower()
self.months = [x.lower() for x in daily_page_count.keys()]
self.year_menu.setFocus()
Any idea? |
|
|
|
|
|
|
#979 | |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,303
Karma: 1436993
Join Date: Dec 2016
Location: Goiânia - Brazil
Device: iPad, Kindle Paperwhite, Kindle Oasis
|
Quote:
* sudo -v && wget -nv -O- https://download.calibre-ebook.com/linux-installer.sh | sudo sh /dev/stdin |
|
|
|
|
|
|
#980 | |
|
Member
![]() Posts: 19
Karma: 10
Join Date: May 2023
Device: Kobo Glo
|
Quote:
Thank you again for all the work you have done. Loving the column daily view! Have a lovely start into 2026 |
|
|
|
|
|
|
#981 | |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,303
Karma: 1436993
Join Date: Dec 2016
Location: Goiânia - Brazil
Device: iPad, Kindle Paperwhite, Kindle Oasis
|
Quote:
|
|
|
|
|
|
|
#982 | |
|
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 81,512
Karma: 150265339
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
The latest version of calibre is 8.16.2. |
|
|
|
|
|
|
#983 |
|
Weirdo
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 996
Karma: 12502580
Join Date: Nov 2019
Location: Wuppertal, Germany
Device: Kobo Sage, Kobo Libra 2, Kindle Paperwhite 2021, Kindle Scribe 2022
|
The AUR automatically updates every 24h. So in worst case, the version from that AUR is one day out of date. I think Arch users will be fine, but with the benefit of proper autoupdates.
|
|
|
|
|
|
#984 | |
|
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,407
Karma: 62500208
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
You only get update notifications if the version.release is lower than installed. the .2 (hot fix) was 2 (emergency?) patches above the original 8.16.0. If that was installed... YOU DO NOT GET A NOTICE until 8.17 |
|
|
|
|
|
|
#985 |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,303
Karma: 1436993
Join Date: Dec 2016
Location: Goiânia - Brazil
Device: iPad, Kindle Paperwhite, Kindle Oasis
|
He is talking about the Arch Linux AUR repository update, not calibre itself.
|
|
|
|
|
|
#986 |
|
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 81,512
Karma: 150265339
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
That's not fully correct. You do get a notice for 8.16.2 when you are using 8,15 or earlier. I was using 8.15 and got notified of 8.16.2. But if you use 8.16 then you won't get notified of 8.16.2.
Last edited by JSWolf; 01-07-2026 at 12:54 PM. |
|
|
|
|
|
#987 |
|
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Jan 2026
Device: Samsung Galaxy Tab S10 Lite
|
AttributeError: 'int' object has no attribute 'items'
Hello, I am experiencing this error after installing the plugin: AttributeError: 'int' object has no attribute 'items'.
The error pops up when navigating the plugin menu, and many times while doing other things in Calibre unrelated to Reading Goal (eg, editing books). I managed to add the custom columns in the plugin, but clicking all other areas in the menu results in the above error. I tried uninstalling and reinstalling the plugin but get the same error. Info is shown below. Thanks for the help. Spoiler:
Last edited by theducks; 01-08-2026 at 08:44 AM. Reason: SPOILER LOG files |
|
|
|
|
|
#988 | |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,303
Karma: 1436993
Join Date: Dec 2016
Location: Goiânia - Brazil
Device: iPad, Kindle Paperwhite, Kindle Oasis
|
Quote:
|
|
|
|
|
|
|
#989 | |
|
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Jan 2026
Device: Samsung Galaxy Tab S10 Lite
|
Quote:
Thanks very much. This fix worked. Thanks again for this feature. I was pleased to find a plugin that would give reading statistics like StoryGraph or Goodreads. |
|
|
|
|
|
|
#990 | ||
|
Member
![]() Posts: 21
Karma: 10
Join Date: Oct 2014
Location: Schweiz [Switzerland]
Device: Pocketbook Verse Pro
|
Reading Goal is no longer working for me.
Hello everyone
For some time now, the plugin hasn't been working for me. I've included the error message at the end. At first, I thought it was related to the new year, since I hadn't added any books for 2026 yet. But I can't add any more books or edit existing ones. I've gone through my data to check for incorrect or missing values. I found one incorrect value (1000%) and corrected it, but that didn't work. Then I tried removing books with incomplete information, such as unfinished books or audiobooks, from the database. But none of the books were added. I also tried the suggestion from "Yesterday 07:27 PM by thiago.eec: Quote:
What am I doing wrong? PS My English isn't very good, and I also have no programming knowledge. So please excuse my clumsy description. Translated by Google Translate Quote:
|
||
|
|
|
![]() |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [GUI Plugin] Reading List | kiwidude | Plugins | 1430 | 09-03-2025 06:14 AM |
| [GUI Plugin] Save Virtual Libraries To Column (GUI) | chaley | Plugins | 14 | 04-04-2021 06:25 AM |
| Reading Goal | KyBunnies | Audiobook Discussions | 12 | 10-25-2017 06:29 PM |