06-08-2020, 07:51 PM | #1 |
Enthusiast
Posts: 36
Karma: 10
Join Date: Jan 2008
Location: Sunshine Coast BC, Canada
Device: Kindle Paperwhite, Kindle Keyboard
|
library won't import
My hard drive died and had to be replaced. In preparation for this I exported my library to an external drive. However, when trying to import from that file I get the following error:
G:\\calibre may 31 2020 is not valid:[Errno 22] invalid mode ('rb') or filename: u' G:\\calibre may 31 2020\\part-0025.calibre-data' So I tried copying the files to another folder on my D drive, and while doing that I got 'unknown error' on part-0025, part-0026, and part-0031. It wouldn't copy those files so I skipped them. However, then calibre would not import the files because those were missing. I have almost 7000 books in calibre, and recreating my library will be near to impossible. What can I do? Am I just SOL? |
06-08-2020, 09:03 PM | #2 |
Guru
Posts: 720
Karma: 228142
Join Date: Sep 2017
Location: Argentina
Device: moon+ reader, kindle paperwhite
|
From what he comments I export the library by files and not moving the library from place. If you have moved it, it is easier to just find the location.
Last edited by dunhill; 06-08-2020 at 09:18 PM. |
Advert | |
|
06-08-2020, 09:14 PM | #3 |
Enthusiast
Posts: 36
Karma: 10
Join Date: Jan 2008
Location: Sunshine Coast BC, Canada
Device: Kindle Paperwhite, Kindle Keyboard
|
I exported it to the external drive, so it should be ok - but it's not... What is a mobido?
|
06-08-2020, 09:16 PM | #4 |
null operator (he/him)
Posts: 20,543
Karma: 26944418
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Did you 'export' the library from the 'failed drive'?
BR |
06-08-2020, 09:21 PM | #5 |
Guru
Posts: 720
Karma: 228142
Join Date: Sep 2017
Location: Argentina
Device: moon+ reader, kindle paperwhite
|
In the library icon options:
Move the current library to the new location. That would have been the best option |
Advert | |
|
06-08-2020, 09:59 PM | #6 |
Enthusiast
Posts: 36
Karma: 10
Join Date: Jan 2008
Location: Sunshine Coast BC, Canada
Device: Kindle Paperwhite, Kindle Keyboard
|
|
06-08-2020, 10:05 PM | #7 |
Enthusiast
Posts: 36
Karma: 10
Join Date: Jan 2008
Location: Sunshine Coast BC, Canada
Device: Kindle Paperwhite, Kindle Keyboard
|
It says my library is in a place that it is not. Says it's on the D drive but it's on an external drive. I don't know how to get it to say where the library really is.
|
06-09-2020, 12:58 AM | #8 | |
null operator (he/him)
Posts: 20,543
Karma: 26944418
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
If you have it, try putting it in a usb caddy and copying the library to the new drive with Windows File Manager, with luck you'll get most of your library. And, you could copy the ?:\users\<username>\AppData\Roaming\calibre folder to the same location on the new drive. BR |
|
06-09-2020, 01:39 AM | #9 | |
Wizard
Posts: 3,305
Karma: 10259306
Join Date: May 2016
Device: kobo forma, Kobo Libra, Huawei media Tab, fire HD10, PW3 HDX8.9,
|
Quote:
1. check what is actually there on your external drive, is there a library folder that looks correctly structured and that included the file metadata.db if so try using the switch/create library commands ( under the calibre library icon) to switch to it or- if you no longer have a D drive, can you rename that external drive to D ( warning - that may confuse other programs). drive letters could have changed with your disc swappings and programs have not kept up with events ? 2. consider wiping the calibre config folder in app data and let calibre re-create it. maybe it got messed up somehow. that's where calibre keeps its record of where library is located |
|
06-09-2020, 01:50 AM | #10 | |
Bibliophagist
Posts: 35,270
Karma: 145435140
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Forma, Clara HD, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Quote:
When I did a test export/import, I got a popup asking where I should store each of the imported libraries. I had to create the base folder and the folders where the individual libaries would be stored before I could select them using the Select folder tool. Last edited by DNSB; 06-09-2020 at 02:00 AM. Reason: added test import bits and bobs |
|
06-09-2020, 04:59 PM | #11 |
Enthusiast
Posts: 36
Karma: 10
Join Date: Jan 2008
Location: Sunshine Coast BC, Canada
Device: Kindle Paperwhite, Kindle Keyboard
|
Thanks, everyone - I tried all your suggestions with no positive result. I think the 3 corrupt files in the backup have rendered it unusable. However - the good new is that I found another backup that was only 3 weeks old, and was able to use it to import my library. I've been able to replace the new books in Calibre from my Kindle account. So all is well!
|
06-09-2020, 05:16 PM | #12 | |
Bibliophagist
Posts: 35,270
Karma: 145435140
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Forma, Clara HD, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Quote:
|
|
06-09-2020, 07:58 PM | #13 | |
null operator (he/him)
Posts: 20,543
Karma: 26944418
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
FreeFileSynch, rsynch, SyncToys, and GoodSync products are some of products used by calibre users. BR |
|
06-10-2020, 07:50 PM | #14 | |
Enthusiast
Posts: 36
Karma: 10
Join Date: Jan 2008
Location: Sunshine Coast BC, Canada
Device: Kindle Paperwhite, Kindle Keyboard
|
Quote:
|
|
06-10-2020, 09:26 PM | #15 | |
Well trained by Cats
Posts: 29,768
Karma: 54401244
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
You also need to make a backup of your config folder. Export/Import jus mad a neat package of EVERYTHING Calibre knows about YOUR setup (you may have multiple Libraries configured). Maybe we need a PAR2 (Parchive) option the the Export-Import. |
|
Tags |
calibre, importing, library |
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Old Library won't import | putaimme | Library Management | 0 | 07-05-2019 09:53 PM |
Is there a way to Import Google Play Books Library into Calibre Library? | peterpandam | Calibre | 4 | 05-22-2018 01:15 AM |
calibre won't import library? | purrmonster | Calibre | 2 | 06-25-2016 11:38 AM |
[Old Thread] import library or export to single file add to existing library | PCreighton | Calibre | 4 | 04-10-2011 01:08 AM |
Calibre won't import any books! | sapereaudo | Calibre | 10 | 03-22-2010 08:55 PM |