相关文章推荐
发怒的红薯  ·  Mysql中case ...·  1 年前    · 
Running Calibre (currently 5.32.0) on Windows 10. As of several weeks ago Calibre became impossible to run. The program would start up (albite a little slow) and I could maybe get one function/option/mouse-click to respond (very slow) and at that point any further attempts to do anything result in Calibre hanging. This happens regardless of what I've attempted to do, everywhere from the open-file dialog to simply scrolling down a page.
I only have a little over 5k book entered and prior to some point in the recent past, everything was functioning normally. I've tried reverting to older versions but it doesn't seem to help which leads me to suspect some type of library issue, but I would have no idea where to even begin.
Any thoughts or suggestions? At this point the program is completely unusable. I'd hate to have to start over with something else.
calibre 5.32 [64bit] embedded-python: True is64bit: True
Windows-10-10.0.19041 Windows ('64bit', 'WindowsPE')
Spoiler :
('Windows', '10', '10.0.19041')
Python 3.8.5
Windows: ('10', '10.0.19041', '', 'Multiprocessor Free')
Interface language: None
Successfully initialized third party plugins: DeDRM (7, 1, 0) && CalibreSpy (1, 0, 84) && Count Pages (1, 11, 1) && Ex Libris (1, 0, 19) && Extract ISBN (1, 5, 0) && FanFicFare (4, 7, 0) && Find Duplicates (1, 8, 10) && Goodreads (1, 5, 1) && Goodreads Sync (1, 15, 1) && ISFDB (3, 0, 0) && Job Spy (1, 0, 190) && Kobo Utilities (2, 14, 1) && Library Codes (1, 0, 50) && LibraryThing Match (0, 2, 0) && Media File Importer (1, 0, 24) && Quality Check (1, 11, 4) && Search The Internet (1, 8, 1) && Standard Ebooks (1, 0, 0) && View Manager (1, 6, 0)
Turning on automatic hidpi scaling
devicePixelRatio: 2.0
logicalDpi: 96.0 x 96.0
physicalDpi: 54.45896147403684 x 54.42857142857142
Using calibre Qt style: True
[0.00] Starting up...
[0.00] Initializing db...
[0.25] db initialized
[0.25] Constructing main UI...
Traceback (most recent call last):
File "calibre\gui2\ui.py", line 136, in __init__
File "calibre\gui2\ui.py", line 154, in init_iaction
File "calibre\customize\__init__.py", line 624, in load_actual_plugin
File "importlib\__init__.py", line 127, in import_module
File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
File "<frozen importlib._bootstrap>", line 991, in _find_and_load
File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
File "calibre\customize\zipplugin.py", line 192, in exec_module
File "calibre_plugins.exlibris_plugin.ui", line 15, in <module>
File "<frozen importlib._bootstrap>", line 991, in _find_and_load
File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
File "calibre\customize\zipplugin.py", line 185, in exec_module
File "calibre\customize\zipplugin.py", line 181, in get_code
File "calibre_plugins.exlibris_plugin.main", line 179
self.include_spine.setText(str(newRow + 1))
TabError: inconsistent use of tabs and spaces in indentation
DEBUG: 0.0 Goodreads Sync::dialogs.py - loading translations
DEBUG: 0.0 GoodreadsSync::action.py - loading translations
DEBUG: 0.0 KoboUtilites::action.py - loading translations
DEBUG: 0.0 KoboUtilites::dialogs.py - loading translations
DEBUG: 0.0 KoboUtilites::action.py - loading translations
calibre_plugins.librarything_match.fuzzywuzzy.fuzz :11: UserWarning: Using slow pure-python SequenceMatcher. Install python-Levenshtein to remove this warning
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
Traceback (most recent call last):
File "calibre\utils\formatter.py", line 888, in do_node_field
File "calibre\ebooks\metadata\book\formatter.py", line 32, in get_value
ValueError: Value: unknown field #formats
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "calibre\utils\formatter.py", line 1457, in safe_format
File "calibre\utils\formatter.py", line 1351, in evaluate
File "calibre\utils\formatter.py", line 1259, in _eval_program
File "calibre\utils\formatter.py", line 714, in program
File "calibre\utils\formatter.py", line 728, in expression_list
File "calibre\utils\formatter.py", line 1153, in expr
File "calibre\utils\formatter.py", line 1151, in expr
File "calibre\utils\formatter.py", line 790, in do_node_if
File "calibre\utils\formatter.py", line 1153, in expr
File "calibre\utils\formatter.py", line 1151, in expr
File "calibre\utils\formatter.py", line 1029, in do_node_logop
File "calibre\utils\formatter.py", line 1024, in do_node_logop
File "calibre\utils\formatter.py", line 1018, in <lambda>
File "calibre\utils\formatter.py", line 1153, in expr
File "calibre\utils\formatter.py", line 1150, in expr
File "calibre\utils\formatter.py", line 728, in expression_list
File "calibre\utils\formatter.py", line 1153, in expr
File "calibre\utils\formatter.py", line 1151, in expr
File "calibre\utils\formatter.py", line 931, in do_node_assign
File "calibre\utils\formatter.py", line 1153, in expr
File "calibre\utils\formatter.py", line 1151, in expr
File "calibre\utils\formatter.py", line 1029, in do_node_logop
File "calibre\utils\formatter.py", line 1024, in do_node_logop
File "calibre\utils\formatter.py", line 1019, in <lambda>
File "calibre\utils\formatter.py", line 1153, in expr
File "calibre\utils\formatter.py", line 1151, in expr
File "calibre\utils\formatter.py", line 755, in do_node_string_infix
File "calibre\utils\formatter.py", line 749, in do_node_string_infix
File "calibre\utils\formatter.py", line 1153, in expr
File "calibre\utils\formatter.py", line 1151, in expr
File "calibre\utils\formatter.py", line 895, in do_node_field
File "calibre\utils\formatter.py", line 893, in do_node_field
File "calibre\utils\formatter.py", line 693, in error
ValueError: Interpreter: Unknown field '#formats' - line number 4
Error evaluating column named: #test1
CalibreSpy: initialization_complete
FFF: INFO: 2021-11-23 13:25:59,254: calibre_plugins.fanficfare_plugin.prefs(217): Attempting to read settings from predecessor--FFDL
INFO: calibre_plugins.fanficfare_plugin.prefs - Attempting to read settings from predecessor--FFDL
FFF: INFO: 2021-11-23 13:25:59,255: calibre_plugins.fanficfare_plugin.prefs(222): Using default settings
INFO: calibre_plugins.fanficfare_plugin.prefs - Using default settings
FFF: DEBUG: 2021-11-23 13:25:59,261: calibre_plugins.fanficfare_plugin.fff_plugin(221): Plugin FanFicFare macmenuhack file_path:C:\Users\apt\AppData\Roaming\calibre\plu gins\fanficfare_macmenuhack.txt
DEBUG: calibre_plugins.fanficfare_plugin.fff_plugin - Plugin FanFicFare macmenuhack file_path:C:\Users\apt\AppData\Roaming\calibre\plu gins\fanficfare_macmenuhack.txt
QLayout::addChildLayout: layout "" already has a parent
DEBUG: 4.3 HttpHelper::__init__: proxy=None
Job Spy has begun initialization...
Calibre, and hence Job Spy, was gracefully shut down last time? True
Last time daemon started: never
Last time daemon failed: never
Total daemon starts inception_to_date: 0
Total daemon failures inception-to-date: 0
libpng warning: iCCP: known incorrect sRGB profile
Job Spy has finished initialization...
DEBUG: 4.3 No Kobo Touch, Glo or Mini appears to be connected
DEBUG: 4.3 rebuild_menus - self.supports_ratings=None, self.supports_tiles=None
DEBUG: 4.3 KoboUtilities:set_toolbar_button_tooltip - start: text='None'
DEBUG: 4.3 device_driver_name - could not load extended driver. Exception= No module named 'calibre_plugins.kobotouch_extended'
DEBUG: 4.3 KoboUtilities:set_toolbar_button_tooltip - setting to text='Utilities to use with Kobo ereaders
Driver: KoboTouch'
DEBUG: 4.3 device_driver_name - could not load extended driver. Exception= No module named 'calibre_plugins.kobotouch_extended'
[5.59] main UI initialized...
[5.59] Started up in 5.59 seconds with 5279 books
Starting QuickView If running without plugins is still laggy, go to Library > Switch/Create Library and select the option to create a new library at the new location.
I've accidentally messed up the library a few times (e.g. accidental recursions or badly-coded composite columns) and caused Calibre to hang and/or outright crash. I've tried running without plugins. This helps. Calibre no long hangs so badly that it dies/has_to_be_killed, however it still runs horribly slow. Example, switching from highlighting one book to the next one down, it's about 2 seconds from the mouse-click to the entry being highlighted.
As I was able to get some responsiveness, I did a DB check under library maintenance and everything came back fine.
As for creating a new library, it does seem to improve responsiveness but hard to judge as there are no books to process to test more thoroughly.
I appreciate the suggestions so far, any other thoughts? Does that mean you have both versions, 32 and 64 bit, installed (which is legitimate) and you switch between them e.g via different shortcuts.
Or does it mean you uninstall the version that doesn't work and install the other one.
Does that mean you have both versions, 32 and 64 bit, installed (which is legitimate) and you switch between them e.g via different shortcuts.
Or does it mean you uninstall the version that doesn't work and install the other one.
That suggests that the glitch is in the registry, which calibre itself uses sparingly, 99% of its controls are in its %appdata% configuration folder and library databases which are shared between 32 bit and 64 bit installs.
The only things calibre puts into the registry, that I'm aware of, relate to file type handlers and the calibre:// url handler, and I would think they're common to both 32 bit and 64 bit versions.
I'm out of ideas, other than what's in and around this post
There are about 1 million users of calibre 5.3x on Windows, see ==>> https://calibre-ebook.com/dynamic/calibre-usage . There are less than a dozen reports of problems such as you are having, which leads me to think its something related to the platform.
Have you tried running in Windows Safe Mode, or re-installing a version earlier than 5.20, you'd need to uninstall what you have first. You can also lodge an 'official' bug report, see ==>> https://calibre-ebook.com/bugs
Years ago, WACOM graphics Tablets caused grief.
It sure would be nice if we could narrow this down, by figuring What is different (or changes from one use to another)
Most common is Multi Monitor rigs, with dialog opening off visible areas
Hi DPI graphics,
Aggressive A/V (defender seems solid, so why spend $). Calibre uses background 'worker' processes, so things don't go All Stop, while they grind away.
3rd party 'helper tools' can get in the way
Calibre works pretty much straight up on all my (mostly Vanilla) Windows systems.