View Single Post
Old 12-28-2021, 05:22 AM   #261
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,486
Karma: 8025704
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by ownedbycats View Post
Hmm, data.refresh gave me the same error:

Code:
calibre, version 5.34.0
ERROR: Unhandled exception: <b>TypeError</b>:'LibraryDatabase' object is not callable

calibre 5.34 [64bit]  embedded-python: True is64bit: True
Windows-10-10.0.19041 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.19041')
Python 3.8.5
Windows: ('10', '10.0.19041', '', 'Multiprocessor Free')
Interface language: None
Successfully initialized third party plugins: DeACSM (0, 0, 15) && DeDRM (7, 2, 1) && Action Chains (1, 14, 0) && Barnes & Noble (1, 2, 16) && Calibre Power Search Plugin (2, 1, 1) && Comments Cleaner (1, 5, 0) && Count Pages (1, 11, 1) && Embed Comic Metadata (1, 6, 1) && EpubCheck (0, 2, 3) && EpubMerge (2, 11, 0) && Extract ISBN (1, 5, 0) && FanFicFare (4, 8, 4) && Fantastic Fiction (1, 5, 0) && Favourites Menu (1, 0, 5) && Find Duplicates (1, 8, 10) && Generate Cover (2, 0, 2) && GetFileName (0, 1, 1) && Goodreads (1, 5, 1) && Import List (1, 5, 6) && Job Spy (1, 0, 190) && Kindle hi-res covers (0, 5, 0) && Kobo Books (1, 8, 3) && Kobo Utilities (2, 14, 1) && KoboTouchExtended (3, 5, 4) && Last Modified (0, 7, 1) && Library Codes (1, 0, 50) && Manage Series (1, 2, 11) && Modify ePub (1, 6, 3) && MultiColumnSearch (1, 0, 87) && Obok DeDRM (7, 2, 1) && Open With (1, 5, 13) && Overdrive Link (2, 49, 0) && Quality Check (1, 11, 4) && Reading List (1, 7, 7) && Search The Internet (1, 8, 1) && SmartEject (2, 3, 0) && Standard Ebooks (1, 0, 0) && Sum Column (0, 3, 1) && View Manager (1, 6, 1) && Walk Search History (1, 3, 2) && Overdrive Link* (2, 49, 0)
Traceback (most recent call last):
  File "calibre_plugins.action_chains.action", line 454, in run_chain
  File "calibre_plugins.action_chains.chains", line 396, in run
  File "calibre_plugins.action_chains.chains", line 211, in _run_loop
  File "calibre_plugins.action_chains.chains", line 188, in _run_loop
  File "Refresh GUI", line 8, in run
TypeError: 'LibraryDatabase' object is not callable
refresh_all doesn't error, but it didn't refresh the column (it does resort books though)
Darn. It should be
Code:
gui.current_db.data.refresh()
I looked at refresh_all() again. It doesn't clear the caches. data.refresh() does.

Last edited by chaley; 12-28-2021 at 05:26 AM.
chaley is offline   Reply With Quote