Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 11-23-2021, 02:23 PM   #1
taurins
Junior Member
taurins began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Feb 2018
Device: none
Exclamation Calibre hangs

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.

taurins is offline   Reply With Quote
Old 11-23-2021, 02:28 PM   #2
taurins
Junior Member
taurins began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Feb 2018
Device: none
Output from calibre-debug -g

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

Last edited by BetterRed; 11-23-2021 at 03:05 PM. Reason: hide some details
taurins is offline   Reply With Quote
Advert
Old 11-23-2021, 03:07 PM   #3
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,717
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Try running with no plugins, see ==>> calibre — command line

BR
BetterRed is offline   Reply With Quote
Old 11-23-2021, 03:10 PM   #4
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 46,149
Karma: 168983734
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Does calibre run happily if you start it without plugins ( calibre --ignore-plugins )?
DNSB is offline   Reply With Quote
Old 11-23-2021, 07:44 PM   #5
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 10,968
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
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.

Last edited by ownedbycats; 11-23-2021 at 07:58 PM.
ownedbycats is offline   Reply With Quote
Advert
Old 11-26-2021, 09:51 AM   #6
taurins
Junior Member
taurins began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Feb 2018
Device: none
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?
taurins is offline   Reply With Quote
Old 11-26-2021, 10:25 AM   #7
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,342
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
reboot in safe mode and see if it goes back to normal speed.
kovidgoyal is offline   Reply With Quote
Old 11-27-2021, 10:54 AM   #8
McStubb
Connoisseur
McStubb began at the beginning.
 
Posts: 52
Karma: 10
Join Date: May 2014
Device: None
Ive seen this a couple times, switching between the 32 and x64 versions fixes it, every couple releases I have to swap.
McStubb is offline   Reply With Quote
Old 11-27-2021, 03:44 PM   #9
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,717
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by McStubb View Post
Ive seen this a couple times, switching between the 32 and x64 versions fixes it, every couple releases I have to swap.


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.

BR
BetterRed is offline   Reply With Quote
Old 11-28-2021, 11:32 AM   #10
McStubb
Connoisseur
McStubb began at the beginning.
 
Posts: 52
Karma: 10
Join Date: May 2014
Device: None
Quote:
Originally Posted by BetterRed View Post


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.

BR
different shortcuts
McStubb is offline   Reply With Quote
Old 11-28-2021, 04:30 PM   #11
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,717
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by McStubb View Post
different shortcuts
Hmmm

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

BR
BetterRed is offline   Reply With Quote
Old 11-29-2021, 06:55 PM   #12
McStubb
Connoisseur
McStubb began at the beginning.
 
Posts: 52
Karma: 10
Join Date: May 2014
Device: None
You could also be missing the obvious. Issues with the actual exe. (I only started noticing it around 5.20 or so)
McStubb is offline   Reply With Quote
Old 11-30-2021, 05:05 AM   #13
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,717
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
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

BR
BetterRed is offline   Reply With Quote
Old 11-30-2021, 01:12 PM   #14
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,047
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
↑ ↑ ↑ ✔

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.
theducks is offline   Reply With Quote
Reply

Tags
bug?, hanging


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Calibre Hangs on Convert. Samien Conversion 4 07-27-2011 05:18 PM
Calibre v. 0.7.34 hangs on ubuntu 10.04.1 sol_barbez Calibre 2 12-20-2010 07:12 PM
Calibre just hangs mentz Calibre 9 10-07-2010 11:26 PM
Calibre hangs and can't do anything vincentnoiseux Calibre 17 04-30-2010 09:13 AM
Calibre hangs now coase Calibre 5 07-14-2009 07:12 PM


All times are GMT -4. The time now is 09:00 PM.


MobileRead.com is a privately owned, operated and funded community.