![]() |
#1 |
Connoisseur
![]() Posts: 53
Karma: 10
Join Date: Jun 2021
Device: Onyx Boox Nova3
|
Help! Crash on launch with my library
Calibre started crashing on launch with my library. (I tried launching with a library at /tmp/empty and Calibre launched successfully.)
calibre-debug says: Code:
Failed to contact running instance of calibre Failed to connect to Listener at: /var/folders/y1/tlyysgm97jjg21yg4rx4hdt40000gp/T/tamara-calibre-gui.socket with error: QLocalSocket::connectToServer: Invalid name |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,355
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
reboot
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Connoisseur
![]() Posts: 53
Karma: 10
Join Date: Jun 2021
Device: Onyx Boox Nova3
|
|
![]() |
![]() |
![]() |
#4 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,355
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
does the file in that error message exist?
|
![]() |
![]() |
![]() |
#5 |
Connoisseur
![]() Posts: 53
Karma: 10
Join Date: Jun 2021
Device: Onyx Boox Nova3
|
It does not exist.
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,355
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Look for files whoose names start with calibre-singleinstance in the /Library/Caches folder and delete them.
|
![]() |
![]() |
![]() |
#7 |
Connoisseur
![]() Posts: 53
Karma: 10
Join Date: Jun 2021
Device: Onyx Boox Nova3
|
I found two files in /Library/Caches (calibre-singleinstance-502-GUI.lock and calibre-singleinstance-502-db.lock) and deleted them. But it still crashes on launch, and those files are once again in the cache. calibre-debug -s still reports the same error. If I delete the files then run the debug command before trying to launch calibre the usual way, it still reports the same error, but the lock files do not return until I try to launch calibre as usual.
|
![]() |
![]() |
![]() |
#8 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,355
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Post the full output of running
calibre-debug -g |
![]() |
![]() |
![]() |
#9 |
Connoisseur
![]() Posts: 53
Karma: 10
Join Date: Jun 2021
Device: Onyx Boox Nova3
|
Here's the output. I also attached it as a text file in case that's easier to read.
Thanks! Code:
calibre 6.9 embedded-python: True macOS-13.0.1-arm64-arm-64bit Darwin ('64bit', '') ('Darwin', '22.1.0', 'Darwin Kernel Version 22.1.0: Sun Oct 9 20:14:30 PDT 2022; root:xnu-8792.41.9~2/RELEASE_ARM64_T8103') Python 3.10.1 OSX: ('13.0.1', ('', '', ''), 'arm64') Interface language: None Successfully initialized third party plugins: Gather KFX-ZIP (from KFX Input) (1, 50, 0) && Package KFX (from KFX Input) (1, 50, 0) && ACE (1, 1, 5) && Access Aide (0, 1, 13) && Action Chains (1, 18, 0) && Audit Log (1, 0, 18) && Author Book Count (2, 2, 2) && Auto Datestamp and View (0, 0, 9) && BookFusion Plugin (0, 7, 0) && Calibre Power Search Plugin (2, 2, 0) && CalibreSpy (1, 0, 89) && Check Books (0, 1, 4) && Comicvine (0, 14, 1) && Consolidate All Library Metadata (2, 0, 43) && Count Pages (1, 12, 0) && Diaps Editing Toolbag (0, 4, 0) && Editor Chains (0, 5, 3) && Embed Comic Metadata (1, 6, 4) && Entities Manager (1, 0, 18) && EpubCheck (0, 2, 4) && EpubMerge (2, 15, 0) && EpubSplit (3, 5, 0) && Extract ISBN (1, 6, 0) && FBReader® Book Network (1, 0, 1) && FanFicFare (4, 18, 0) && Favourites Menu (1, 3, 0) && Find Duplicates (1, 10, 7) && Generate Cover (2, 3, 0) && Goodreads (1, 7, 1) && Goodreads Sync (1, 16, 2) && Goodreads_Rating (4, 0, 0) && Hyphenate This! (0, 1, 3) && Import List (1, 9, 0) && Job Spy (1, 0, 196) && KFX metadata reader (from KFX Input) (1, 50, 0) && KFX Input (1, 50, 0) && Kindle Collections (1, 7, 29) && Kindle hi-res covers (0, 5, 0) && KindleUnpack - The Plugin (0, 83, 1) && Kobo Books (1, 9, 2) && Last Modified (0, 8, 4) && Library Codes (1, 0, 53) && Library Splitter (1, 0, 6) && LibraryThing Match (0, 2, 1) && Manage Series (1, 5, 0) && Mass Search-Replace (1, 6, 1) && Modify ePub (1, 8, 1) && Obok DeDRM (7, 2, 1) && Open With (1, 8, 0) && Overdrive Link (2, 53, 0) && Prettify Cover (1, 6, 0) && Quality Check (1, 13, 3) && Quick Preferences (1, 7, 0) && Reading List (1, 14, 0) && Reformat plugin (2, 4, 0) && Save Composite Custom Columns (1, 1, 1) && View Manager (1, 10, 2) && Walk Search History (1, 5, 3) && ePub Extended Metadata {Writer} (0, 8, 1) && ePub Extended Metadata {Reader} (0, 8, 1) && ePub Extended Metadata (0, 8, 1) QPA platform: cocoa devicePixelRatio: 2.0 logicalDpi: 72.0 x 72.0 physicalDpi: 149.00000223775552 x 149.0000022377555 Using calibre Qt style: False [0.00] Starting up... [0.04] Showing splash screen... [0.24] splash screen shown [0.24] Initializing db... [0.46] db initialized [0.46] Constructing main UI... calibre_plugins.librarything_match.fuzzywuzzy.fuzz:11: UserWarning: Using slow pure-python SequenceMatcher. Install python-Levenshtein to remove this warning DEBUG: 0.0 obok::utilities.py - loading translations DEBUG: 0.0 obok::dialogs.py - loading translations DEBUG: 0.0 obok::config.py - loading translations DEBUG: 0.1 obok::action_err.py - loading translations Traceback (most recent call last): File "calibre/gui2/ui.py", line 178, in load_store_plugins File "calibre/gui2/ui.py", line 190, in init_istore File "calibre/customize/__init__.py", line 709, in load_actual_plugin File "importlib/__init__.py", line 126, in import_module File "<frozen importlib._bootstrap>", line 1050, in _gcd_import File "<frozen importlib._bootstrap>", line 1027, in _find_and_load File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 688, in _load_unlocked File "calibre/customize/zipplugin.py", line 206, in exec_module File "calibre_plugins.store_fbreader.fbreader", line 15, in <module> from cookielib import Cookie ModuleNotFoundError: No module named 'cookielib' qt.gui.imageio: libpng warning: iCCP: known incorrect sRGB profile qt.gui.imageio: libpng warning: iCCP: known incorrect sRGB profile qt.gui.imageio: libpng warning: iCCP: cHRM chunk does not match sRGB qt.gui.imageio: libpng warning: iCCP: known incorrect sRGB profile Screens currently in system: {'depth': 24, 'device_pixel_ratio': 2.0, 'geometry_in_logical_pixels': {'height': 1050, 'width': 1680, 'x': 0, 'y': 0}, 'index_in_screens_list': 0, 'manufacturer': '', 'model': '', 'name': '', 'serial': '', 'size_in_logical_pixels': {'height': 1050, 'width': 1680}, 'virtual_geometry': {'height': 1050, 'width': 1680, 'x': 0, 'y': 0}} Restoring geometry for: jobs_dialog_geometry {'frame_geometry': {'height': 696, 'width': 915, 'x': 537, 'y': 205}, 'full_screened': False, 'geometry': {'height': 668, 'width': 915, 'x': 537, 'y': 233}, 'maximized': False, 'normal_geometry': {'height': 668, 'width': 915, 'x': 537, 'y': 233}, 'screen': {'depth': 24, 'device_pixel_ratio': 2.0, 'geometry_in_logical_pixels': {'height': 1050, 'width': 1680, 'x': 0, 'y': 0}, 'index_in_screens_list': 0, 'manufacturer': '', 'model': '', 'name': '', 'serial': '', 'size_in_logical_pixels': {'height': 1050, 'width': 1680}, 'virtual_geometry': {'height': 1050, 'width': 1680, 'x': 0, 'y': 0}}} Matching screen: {'depth': 24, 'device_pixel_ratio': 2.0, 'geometry_in_logical_pixels': {'height': 1050, 'width': 1680, 'x': 0, 'y': 0}, 'index_in_screens_list': 0, 'manufacturer': '', 'model': '', 'name': '', 'serial': '', 'size_in_logical_pixels': {'height': 1050, 'width': 1680}, 'virtual_geometry': {'height': 1050, 'width': 1680, 'x': 0, 'y': 0}} Setting widget geometry to: {'height': 668, 'width': 915, 'x': 537, 'y': 233} Restoring geometry for: calibre_main_window_geometry {'frame_geometry': {'height': 927, 'width': 1618, 'x': 26, 'y': 56}, 'full_screened': False, 'geometry': {'height': 899, 'width': 1618, 'x': 26, 'y': 84}, 'maximized': False, 'normal_geometry': {'height': 899, 'width': 1618, 'x': 26, 'y': 84}, 'screen': {'depth': 24, 'device_pixel_ratio': 2.0, 'geometry_in_logical_pixels': {'height': 1050, 'width': 1680, 'x': 0, 'y': 0}, 'index_in_screens_list': 0, 'manufacturer': '', 'model': '', 'name': '', 'serial': '', 'size_in_logical_pixels': {'height': 1050, 'width': 1680}, 'virtual_geometry': {'height': 1050, 'width': 1680, 'x': 0, 'y': 0}}} Matching screen: {'depth': 24, 'device_pixel_ratio': 2.0, 'geometry_in_logical_pixels': {'height': 1050, 'width': 1680, 'x': 0, 'y': 0}, 'index_in_screens_list': 0, 'manufacturer': '', 'model': '', 'name': '', 'serial': '', 'size_in_logical_pixels': {'height': 1050, 'width': 1680}, 'virtual_geometry': {'height': 1050, 'width': 1680, 'x': 0, 'y': 0}} Setting widget geometry to: {'height': 899, 'width': 1618, 'x': 26, 'y': 84} CalibreSpy: initialization_complete CALM: initialization_complete............ EpubMerge: DEBUG: 2022-12-10 15:39:18,867: calibre_plugins.epubmerge.epubmerge_plugin(154): macmenuhack file_path:/Users/tamara/Library/Preferences/calibre/plugins/fanficfare_macmenuhack.txt DEBUG: calibre_plugins.epubmerge.epubmerge_plugin - macmenuhack file_path:/Users/tamara/Library/Preferences/calibre/plugins/fanficfare_macmenuhack.txt FFF: DEBUG: 2022-12-10 15:39:18,885: calibre_plugins.fanficfare_plugin.fff_plugin(215): Plugin FanFicFare macmenuhack file_path:/Users/tamara/Library/Preferences/calibre/plugins/fanficfare_macmenuhack.txt DEBUG: calibre_plugins.fanficfare_plugin.fff_plugin - Plugin FanFicFare macmenuhack file_path:/Users/tamara/Library/Preferences/calibre/plugins/fanficfare_macmenuhack.txt Job Spy has begun initialization... Calibre, and hence Job Spy, was gracefully shut down last time? False Last time daemon started: Sat Mar 12 12:10:51 2022 Last time daemon failed: never Total daemon starts inception_to_date: 1 Total daemon failures inception-to-date: 0 qt.gui.imageio: libpng warning: iCCP: known incorrect sRGB profile JS: ===>>> change_gui_alternating_row_colors() Job Spy has finished initialization... DEBUG MassSearchReplace: Rebuilding menu DEBUG MassSearchReplace: Rebuilding menu for: Set Series Name and Index from Title DEBUG MassSearchReplace: Rebuilding menu for: Remove Useless Title Bits qt.gui.imageio: libpng warning: iCCP: known incorrect sRGB profile qt.gui.imageio: libpng warning: iCCP: known incorrect sRGB profile [3.10] main UI initialized... [3.10] Hiding splash screen fish: Job 1, '/Applications/calibre.app/Conte…' terminated by signal SIGSEGV (Address boundary error) |
![]() |
![]() |
![]() |
#10 |
Connoisseur
![]() Posts: 53
Karma: 10
Join Date: Jun 2021
Device: Onyx Boox Nova3
|
I've also tried launching calibre with the --ignore-plugins flag, but it still crashes.
|
![]() |
![]() |
![]() |
#11 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,355
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
That's a segfault, post the apple crash report.
|
![]() |
![]() |
![]() |
#12 |
Connoisseur
![]() Posts: 53
Karma: 10
Join Date: Jun 2021
Device: Onyx Boox Nova3
|
See attached text file.
|
![]() |
![]() |
![]() |
#13 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,355
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
That looks like memory corruption somewhere inside PyQt. Can you attach the metadata.db file from this malfunctioning library.
|
![]() |
![]() |
![]() |
#14 |
Connoisseur
![]() Posts: 53
Karma: 10
Join Date: Jun 2021
Device: Onyx Boox Nova3
|
Here's the db.
|
![]() |
![]() |
![]() |
#15 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,355
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
I can reproduce with that, but its going to be difficult to track down I will update here when I find the issue.
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Library crash - unable to rebuild | Ellachanted | Calibre | 60 | 08-25-2015 07:43 AM |
Hard Drive crash, can't new library working | TheScribe56 | Library Management | 2 | 05-23-2015 10:04 PM |
Personal experience with restoring library after crash | MiniMouse | Calibre | 16 | 08-26-2014 04:57 AM |
[(My) Solution] Kobo Desktop crash on launch after 1.7.1 upgrade | FiZi | Kobo Reader | 4 | 02-02-2013 03:35 PM |
Retrieve Calibre library after Windows crash? | BikinOn | Calibre | 3 | 05-25-2009 02:45 PM |