![]() |
#1 |
Junior Member
![]() Posts: 5
Karma: 10
Join Date: May 2018
Device: none
|
![]()
Using calibre 3.23 (linux 32bit) I successfully exported all calibre data.
I try to import that data in the new installation (linux 64bit). Unfortunately the process stops 2/3 way. In the gui mode the progress window just freezes at some percentage and book title. I also tried: Code:
calibre-debug -c "from calibre.utils.exim import test_import; test_import('/backup-path', '/calibre-library-path')" Is there a way to import all the data into calibre or at least unpack the whole archieve to get hold of the missing books? Because otherwise I'd lose 6000+ of them ![]() Last edited by raafal; 05-12-2018 at 05:25 AM. |
![]() |
![]() |
![]() |
#2 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,166
Karma: 1410083
Join Date: Nov 2010
Location: Germany
Device: Sony PRS-650
|
Mass import a complete library isn't a good solution. Use instead the calibre export/import functionality
https://manual.calibre-ebook.com/faq...ter-to-another Or, if you like to do it manually, copy the complete library folder to the new place and tell calibre where to find the library. Same for the configuration directory if you want to have your old configuration setup too. https://manual.calibre-ebook.com/faq...backup-calibre |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Junior Member
![]() Posts: 5
Karma: 10
Join Date: May 2018
Device: none
|
Maybe I wasn't clear
![]() The problem I described is with calibre export/import functionality
my question is: what can I do to import library successfully, or, if this is not possible, how can I unpack the exported data (those part-xxxx.calibre-data files) to retrieve books manually? |
![]() |
![]() |
![]() |
#4 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,725
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
@raafal - I'm pretty sure the spanned archive (part-0001.calibre-data etc) can be unpacked using the calibre-debug command, but it doesn't seem to be documented - something like '--unpack-calibre-data' I imagine. Hopefully someone will chime in with the right answer.
If you have the library and configuration directories on the 32bit linux system you could probably just copy them to your 64bit linux system - file systems permitting of course. BR |
![]() |
![]() |
![]() |
#5 |
Junior Member
![]() Posts: 5
Karma: 10
Join Date: May 2018
Device: none
|
If I had the original installation, there would be no problem... but I'm just stuck with this archive I can not import
![]() so I hope you are right there's an undocumented way to just unpack it |
![]() |
![]() |
Advert | |
|
![]() |
#6 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,725
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
I'm 80% sure Kovid has posted a command, or a script, that will decompress an export/import spanned archive. I've done a couple of searches but failed to find anything.
Kovid's taking a holiday right now, but his holidays are usually short. BR |
![]() |
![]() |
![]() |
#7 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,166
Karma: 1410083
Join Date: Nov 2010
Location: Germany
Device: Sony PRS-650
|
Quote:
I did a little check today in two VM's. It seems that the import via GUI is working (as well across Windows/Linux with a smaller 3k and a bit bigger 50k library). But I had a problem to do this via command line tools with Windows where I am not sure if this is a problem with my installation. It will not accept an export folder via cmd. Anyway, that won't really help you. |
|
![]() |
![]() |
![]() |
#8 |
Junior Member
![]() Posts: 5
Karma: 10
Join Date: May 2018
Device: none
|
@Divingduck no problem
![]() your tests in VM's, 3k and 50k lib, you mean number of books or size of archives? my case: 304GB, 35k books |
![]() |
![]() |
![]() |
#9 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,166
Karma: 1410083
Join Date: Nov 2010
Location: Germany
Device: Sony PRS-650
|
Number of books
|
![]() |
![]() |
![]() |
#10 |
Junior Member
![]() Posts: 5
Karma: 10
Join Date: May 2018
Device: none
|
@Divingduck I see, maybe the sheer size of it makes it a problem somehow, I don't know
@BetterRed, thanks ![]() long story short, I managed to import the library ![]() longer version:
![]() |
![]() |
![]() |
![]() |
#11 | ||
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,725
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
Perhaps Kovid or one of the other Linux guru's can shed some light. Quote:
BR Last edited by BetterRed; 05-13-2018 at 07:09 PM. |
||
![]() |
![]() |
![]() |
#12 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,347
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
The correct way to import using the command line is
calibre-debug --import-calibre-data As for why it failed, it sounds like the OOM killer (out of memory) Try increasing swap. |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Problem with TTS on OnyxBoox M92 "invalid TTS data" | Marion Juin | Onyx Boox | 1 | 03-27-2013 05:56 PM |
No data in "In Library" and "On Device" columns after upgrade | ily426 | Library Management | 8 | 04-03-2011 02:53 PM |
"cannot import name JSONConfig" on launching calibre .42 | hakan42 | Calibre | 4 | 02-27-2010 03:37 AM |