![]() |
#1 |
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21
Karma: 12376
Join Date: Oct 2010
Device: kindle G3
|
What am I doing wrong (Re: moving the library to another computer).
I am trying to copy a working Calibre library onto another computer (which already has a smaller, working, Calibre library).
I burnt ALL folders and files (including metadata.db and metadata.opf) from the library to discs (2 dvds). I created a new folder (same name as from the 1st computer, and different to the receiving one) on the 2nd computer and copied ALL folders and files from the dvds into it. I used the Switch/Create library button to bring up the 'Choose your Calibre library' window. In the 'New Location' box, I browsed to the new folder and selected it. Calibre gives me an Unhandled exception error (full error message below), and the library wont open. I tried all 3 radio button options in this window with the same result. I even tried re-burning the library again, and re-copying across, but I got the same error message. Someone on here suggested that I ensure that the files are not 'Read only', after the copy from dvd, which I have done. The library is still working perfectly on the original machine. If someone can tell me what I'm doing wrong, I'd be eternally grateful. ![]() ------------------------------------------------------- ***Error Message*** calibre, version 0.8.18 ERROR: Unhandled exception: <b>DatabaseException</b>:file is encrypted or is not a database RemoteTraceback (most recent call last): File "site-packages\calibre\library\sqlite.py", line 248, in run File "site-packages\calibre\library\sqlite.py", line 226, in connect DatabaseError: file is encrypted or is not a database Traceback (most recent call last): File "site-packages\calibre\gui2\__init__.py", line 315, in dispatch File "site-packages\calibre\gui2\actions\choose_library.py", line 414, in switch_requested File "site-packages\calibre\gui2\ui.py", line 487, in library_moved File "site-packages\calibre\library\database2.py", line 193, in __init__ File "site-packages\calibre\library\database2.py", line 144, in connect File "site-packages\calibre\library\sqlite.py", line 366, in connect DatabaseException: file is encrypted or is not a database RemoteTraceback (most recent call last): File "site-packages\calibre\library\sqlite.py", line 248, in run File "site-packages\calibre\library\sqlite.py", line 226, in connect DatabaseError: file is encrypted or is not a database |
![]() |
![]() |
![]() |
#2 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 70
Karma: 22002
Join Date: Oct 2010
Device: Sony PRS-650
|
What OS are you using? In any case, you are not trying to move the directory from an encrypted drive to non-encrypted one? It's easy to forget that you might have encrypted your drive if it is automatically mounted on login.
Another thing I'd try is to just copy the old directories directly to Calibre's default location and see what happens then. |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
The Dank Side of the Moon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 35,891
Karma: 119230421
Join Date: Sep 2009
Location: Denver, CO
Device: Kindle2; Kindle Fire
|
Same O/S? Same version? 64/32 etc. Same version of Calibre?
|
![]() |
![]() |
![]() |
#4 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,912
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Burning to DVD makes all files read only. You need to clear that flag on the files, once you have copied to a new disk.
![]() The Read flag does not change for files inside an archive ![]() |
![]() |
![]() |
![]() |
#5 |
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21
Karma: 12376
Join Date: Oct 2010
Device: kindle G3
|
Thanks for the fast replies, people.
The drive I'm copying from is definitely not encrypted. Source and destination Calibre's are the same version. Copying from Windows 7 (64 bit) to Windows 7 (possibly 32 bit - not sure - it's not my computer). Could the (possible) 32 bit Windows be the issue here? |
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,309
Karma: 78876004
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
|
Check the read only attribute on the files... Open a command prompt, change to the directory where the metadata.db is and do a
Code:
attrib -r *.* /s |
![]() |
![]() |
![]() |
#7 |
The Dank Side of the Moon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 35,891
Karma: 119230421
Join Date: Sep 2009
Location: Denver, CO
Device: Kindle2; Kindle Fire
|
I don't know about the 32/64 thing, but I do know I've copied my calibre library from my win7-64 to and XP (acer netbook) without issues, but it was/is a direct copy via network.
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Moving Entire calibre Installation to a different computer | bcamp47 | Library Management | 4 | 08-09-2011 11:17 PM |
Moving Calibre from one computer to another? | Synful | Library Management | 7 | 04-16-2011 01:17 PM |
Moving ADE from one computer to another | JSWolf | ePub | 2 | 07-09-2009 04:08 PM |
moving purchased titles to a new computer | rcrh | Sony Reader | 3 | 03-17-2009 12:54 PM |
Moving Content to a New Computer | iBeth | Fictionwise eBookwise | 2 | 02-06-2009 10:54 AM |