![]() |
#1 |
Junior Member
![]() Posts: 4
Karma: 10
Join Date: Jan 2019
Location: Boise, Idaho USA
Device: Kindle Paperwhite
|
calibre won't start after editing tweak
I've been using calibre on Windows for a few years to manage a 500+ book library for my Kindle. Today I was editing the tweak to change the initial sort order displayed and I apparently specified an invalid sort key name (series_sort). It saved my change with no error, but when I restarted calibre it died. It displays the splash screen and then shuts down. I'm running version 3.35. I ran a calibre-debug -g and the output is in the attached file.
How do I fix this? The traceback looks like it's failing with a key error in a function called sort_key_func. I can't fix the sort key because I can't get calibre to run so I can edit the tweak. Is there another way to edit it or to reset it? |
![]() |
![]() |
![]() |
#2 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,725
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Try this
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Junior Member
![]() Posts: 4
Karma: 10
Join Date: Jan 2019
Location: Boise, Idaho USA
Device: Kindle Paperwhite
|
I couldn't open the config folder the way you suggested because I couldn't start calibre, but I was able to do a file search and found the tweaks.py file (in \AppData\Roaming\calibre\). I edited it as you suggested and calibre is now running again - THANKS!!!
At one point in my struggles last night I removed & reinstalled calibre and it didn't fix my problem, so apparently the Remove option in the installation msi removes the application but doesn't clean out the calibre stuff from the AppData areas. I'm guessing that's intentional to save a user's settings, customizations, etc so they're not starting over from scratch if they re-install. For files like this tweaks file that can crash the app if they're corrupted, it might be better to rename & replace them with the standard files on either the removal or re-installation of the app. Thanks again for the help! Mark |
![]() |
![]() |
![]() |
#4 | ||
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,725
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
![]() Quote:
This is the bug tracking site ==>> Bugs : calibre BR |
||
![]() |
![]() |
![]() |
#5 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,354
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
its already fixed.
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,725
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
|
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Calibre Won't Start | Spydarr | Calibre | 0 | 06-23-2015 09:14 PM |
Calibre won't start | Odyssee | Calibre | 24 | 05-01-2015 01:27 AM |
Calibre 0.7.9 won't start | HarryC | Calibre | 4 | 07-20-2010 04:45 PM |
Calibre won't start | nathancabopino | Calibre | 14 | 06-30-2009 11:40 AM |
Calibre 0.4.89 won't start | ould | Calibre | 3 | 10-02-2008 09:21 PM |