04-30-2021, 04:55 PM | #1 |
Enthusiast
Posts: 42
Karma: 18198
Join Date: Nov 2017
Device: none
|
Calibre fails to open after rebooting Macbook
I rebooted my Macbook today and after restarting, I can't get Calibre to open. I've tried from the Applications folder, from the dock icon, from Terminal, and by using the "open with..." command on a file. I get the splash screen which tells me that it's Loading books, then that it's Initializing user interface, then the splash screen disappears and Calibre...does nothing. It's not in the Activity Monitor and there's no dot beside the dock icon as there would be if the app was running.
All other apps seem to be working fine. I've tried rebooting several times, running Disk Utility, updating Calibre (I was running a version from earlier this year but now, running the latest version, the result is the same - splash screens, then nothing). I've had a look through the forums and tried various things that have been suggested to others with similar problems, but none of it has made a difference. Help please? |
04-30-2021, 11:57 PM | #2 |
creator of calibre
Posts: 44,563
Karma: 24495948
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Run
/Applications/calibre.app/Contents/MacOS/calibre-debug -g in a terminal and post the output. |
Advert | |
|
05-01-2021, 02:05 AM | #3 |
Enthusiast
Posts: 42
Karma: 18198
Join Date: Nov 2017
Device: none
|
From Terminal:
Spoiler:
|
05-01-2021, 02:17 AM | #4 |
creator of calibre
Posts: 44,563
Karma: 24495948
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
according to that it started up fine. Did you enable the system tray icon? Check in your system tray area at the top right of the screen for the calibre icon
|
05-01-2021, 02:28 AM | #5 |
Enthusiast
Posts: 42
Karma: 18198
Join Date: Nov 2017
Device: none
|
There's nothing in the menu bar (is that what you mean? - I don't think Calibre ever shows up there) and the dock icon doesn't show the dot that indicates an app is running (and either clicking or right-clicking on it brings up the menu you'd expect for an app that isn't running). Also, nothing in Activity Monitor, or Expose View.
In case it's relevant (and I should have said earlier), I'm running Catalina on a 2020 Macbook Air. |
Advert | |
|
05-01-2021, 02:31 AM | #6 |
creator of calibre
Posts: 44,563
Karma: 24495948
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
yes the system tray on macs is the in the global menu bar, typically the top right area of the screen.
And after you run that calibre debug command does the terminal return to a prompt? If so what does echo $? output |
05-01-2021, 02:32 AM | #7 |
Enthusiast
Posts: 42
Karma: 18198
Join Date: Nov 2017
Device: none
|
|
05-01-2021, 02:34 AM | #8 |
creator of calibre
Posts: 44,563
Karma: 24495948
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
the output has to be a number echo $? means print the return code of the last process that exited.
|
05-01-2021, 02:41 AM | #9 |
Enthusiast
Posts: 42
Karma: 18198
Join Date: Nov 2017
Device: none
|
|
05-01-2021, 03:12 AM | #10 |
creator of calibre
Posts: 44,563
Karma: 24495948
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
It means that calibre-debug exit without any errors, which is pretty strange.
Try running /Applications/calibre.app/Contents/MacOS/calibre --ignore-plugins and if that also fails try CALIBRE_CONFIG_DIRECTORY=/tmp/cal /Applications/calibre.app/Contents/MacOS/calibre-debug -g which will run calibre with an empty configuration and no plugins |
05-01-2021, 03:22 AM | #11 |
Enthusiast
Posts: 42
Karma: 18198
Join Date: Nov 2017
Device: none
|
/Applications/calibre.app/Contents/MacOS/calibre --ignore-plugins
gives: Spoiler:
CALIBRE_CONFIG_DIRECTORY=/tmp/cal /Applications/calibre.app/Contents/MacOS/calibre-debug -g does open Calibre, though obviously without the configuration changes I've made. So what do I do next? (This is where I'm hoping you give me a magic key to fix my own installation/configuration!) Thank you so much for all your help so far, by the way. |
05-01-2021, 04:15 AM | #12 |
creator of calibre
Posts: 44,563
Karma: 24495948
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Sadly there is no magic bullet. First remove the plugins sub directory from the config directory and see if that works, if not then try removing the files gui.py.json and gui.json and dynamic.pickle.json
|
05-01-2021, 05:08 AM | #13 | |
Enthusiast
Posts: 42
Karma: 18198
Join Date: Nov 2017
Device: none
|
Quote:
*There might well be other changes that I'll come across as I work - it's only been five minutes! - but all the things that would have taken a long time to re-do - plugins and their configurations, general preferences, conversion options, toolbars, etc - seem to be back in place as they were before. If you've any ideas about what might have caused the problem to happen (and thus what I or others might need to be cautious about in future), I'd be happy to hear them. But even if not, I want to express that I'm hugely grateful for your help here (on this thread and on the forums overall and more generally as the developer). I would not have been able to work through this on my own, and google wasn't really helping - and I use Calibre a *lot*, so, again, thank you! |
|
05-01-2021, 05:16 AM | #14 |
creator of calibre
Posts: 44,563
Karma: 24495948
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
You are welcome and no I dont have any ideas what could have caused it, sorry. never actually heard of this happening, i.e. calibre exiting with no errors by itself. If you are willing you can post the gui.py.json file and I will see if I can find anything suspicuous in it, but be aware it has possibly sensitive data.
|
05-01-2021, 07:20 AM | #15 |
Wizard
Posts: 1,346
Karma: 29573004
Join Date: Mar 2010
Location: UK
Device: Kobo Forma, Icarus, iPad Mini 2, Kobo Touch, Google Nexus 7
|
I was getting a similar issue with Calibre on my Macbook (3.48 on High Sierra), and I found it was an issue if I tried starting up Calibre with other volumes attached. Another issue was if I had ADE 2.0 running at the same time.
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
I Downloaded The Latest Edition of Calibre And I Can't Get It Open (MacBook) | MrSlow&Steady | Calibre | 50 | 10-30-2020 06:51 PM |
Calibre Version 4.0 Fails to Open Books | zkhcohen | Calibre | 3 | 10-05-2019 09:04 PM |
PRS-950 Fails to open fb2 | avresbo | Sony Reader Dev Corner | 3 | 03-16-2012 08:33 PM |
PRS-500 Help, keeps rebooting when I open an ebook! | Siavahda | Sony Reader | 0 | 08-11-2010 10:47 PM |