View Single Post
Old 10-11-2022, 03:53 PM   #1653
bdeshi
Junior Member
bdeshi began at the beginning.
 
Posts: 4
Karma: 10
Join Date: May 2022
Device: android
Exclamation

Hi, i've been adding books to a Goodreads list; after a few successful batch additions, suddenly this error message is popping up for most books:
Code:
calibre, version 6.5.0
ERROR: Unhandled exception: <b>ValueError</b>:invalid literal for int() with base 10: ''

calibre 6.5  embedded-python: False
Linux-5.19.9-arch1-1-x86_64-with-glibc2.36 Linux ('64bit', 'ELF')
('Linux', '5.19.9-arch1-1', '#1 SMP PREEMPT_DYNAMIC Thu, 15 Sep 2022 16:08:26 +0000')
Python 3.10.7
Interface language: None
Successfully initialized third party plugins: DeACSM (0, 0, 16) && Action Chains (1, 17, 5) && Annotations (1, 17, 13) && Audit Log (1, 0, 18) && Comicvine (0, 14, 1) && Count Pages (1, 11, 3) && Entities Manager (1, 0, 18) && FanFicFare (4, 16, 0) && Fantastic Fiction (1, 5, 1) && Favourites Menu (1, 2, 0) && Find Duplicates (1, 9, 7) && Goodreads (1, 7, 0) && Goodreads Sync (1, 15, 6) && ISFDB3 (1, 1, 1) && Import List (1, 8, 4) && Job Spy (1, 0, 192) && KOReader Sync (0, 3, 2) && Kobo Books (1, 9, 2) && Library Codes (1, 0, 53) && Manage Series (1, 4, 0) && Media File Importer (1, 0, 26) && MultiColumnSearch (1, 0, 89) && Quality Check (1, 12, 0) && Reading List (1, 14, 0) && Save Composite Custom Columns (1, 1, 1) && Search The Internet (1, 8, 1) && SmartEject (2, 5, 0) && Standard Ebooks (1, 0, 0) && Unplugged (1, 0, 0) && User Category (1, 5, 6) && View Manager (1, 9, 0) && Walk Search History (1, 4, 0)
Traceback (most recent call last):
  File "calibre_plugins.goodreads_sync.dialogs", line 1781, in action_button_clicked
    review_id = self.grhttp.add_remove_book_to_shelf(client, shelf_name, goodreads_id, self.action)
  File "calibre_plugins.goodreads_sync.core", line 327, in add_remove_book_to_shelf
    return int(root.findtext('review-id'))
ValueError: invalid literal for int() with base 10: ''
the "Shelf Add' action for this list only adds the shelf's name to a custom text column, syncing review texts is disabled here,so not sure why review-id related error is popping up. i've also attached my config for this plugin.

sharing details here to get help, meanwhile i'm attempting to troubleshoot this myself.
Attached Thumbnails
Click image for larger version

Name:	2022-10-12.01-39-18.871112437.png
Views:	185
Size:	62.0 KB
ID:	197104  
bdeshi is offline   Reply With Quote