Crash when adding a custom (built) column
I've not had this happen before, and I'm not sure if it's a limitation with the program or my system/setup.
I wanted to add a new custom column (built from other columns and behaves like tags) that would tell me what virtual library each entry is in. I was able to add the column fine (with {:'virtual_libraries()'} as the template code - thanks chaley!), but when I tried to restart Calibre it locked up. Eventually Windows broke in after an hour and fifteen minutes (or so) and told me that the program had crashed and would I like to look for a fix, etc. The only way I could open Calibre at that point (since I hadn't backed up the metadata file like an idiot) was to run a command line to remove the new column - Calibre started right up with no problems then. I repeated this a few different times (after first backing up the db), but got the same result each time.
I know it's not how I'm adding the column because I CAN add it to an empty copy of this same library (and copying books over makes the column fill in appropriately).
I do have a fairly large library - 11,819 entries as of writing this - so I did expect the addition to take awhile (especially considering that it's building the information) - but with it actually crashing it's hard to know what else I can do to troubleshoot it.
As a 'slow' workaround (because this isn't really quick) I'm going to copy books over to the new library that I've already added the field to, but I guess I need to know if this is something that is fixable in the future - or should I sit down and think really hard about any other custom built columns before I migrate everything so that I don't have to do this again? Or is there a faster way to move things that I haven't seen (I'm using the basic copy to another library feature).
---
I'm running Calibre (32bit) v2.7 on a Win7 (64bit) computer with 4GB RAM and 4 - 2.4GHz i5 processors. The calibre.exe installation and both libraries are all on the same hard drive with plenty of room. The metadata.db file is 48,597kb and I have 5 virtual libraries in addition to the default that contains everything. I can't recall any other custom columns that are building off of others. I have no issue upgrading to the 64bit version of Calibre, I just started with this version and haven't bothered to change it. I do not have any crash reports, but I'll happily go digging for them if you tell me where to look.
Thanks in advance for any advice!
Last edited by MidwestJen; 10-28-2014 at 01:07 PM.
Reason: More information that might be helpful
|