![]() |
#16 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,452
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Calibre continues to think that either:
1) there is a file metadata.db in your library folder that calibre does not have permissions to open, or 2) that calibre cannot create the file. From the trace, I would guess #2, but it could be #1. At this point I have no idea what state your machine is in, so I can't give you any sure-fire directions. What I would do is: 1. Delete the calibre preferences folder. This will force calibre to ask where to put the library. The location of your preferences folder will depend on your OS. On Win7 it is in C:\Users\yourname\AppData\Roaming\calibre. I no longer remember where XP puts them, but it will be something like C:\documents and settings\yourname\Application Data\Roaming\calibre. A calibre preferences folder will contain, amongst other things, the files global.py, gui.py, and tweaks.py. If the folder doesn't contain those files, then don't delete it. Post back here with the path of the folder. 2. Start calibre. It will start the welcome wizard. Tell calibre to make a new library in a non-existent folder. Do not reuse any folder. At this point you should have a running version of calibre with an empty library. 3. If you think you have a library somewhere, click on the library toolbar button, enter the library's path into the box, select 'Use an existing library', and press OK. If the library is really there and valid, calibre will switch to it. |
![]() |
![]() |
![]() |
#17 |
Member
![]() Posts: 23
Karma: 10
Join Date: Jan 2011
Device: kindle
|
My path for the preferred library was C:\Users\yourname\AppData\Roaming\calibre. I was able to delete that file and restart calibre. Went thru all the start up then got the same error message about the data file being corrupt. Here's the details from the error
Traceback (most recent call last): File "site-packages\calibre\gui2\wizard\__init__.py", line 551, in move_library File "site-packages\calibre\library\database2.py", line 145, in __init__ File "site-packages\calibre\library\schema_upgrades.py", line 22, in __init__ File "site-packages\calibre\library\schema_upgrades.py", line 36, in upgrade_version_1 File "site-packages\calibre\library\sqlite.py", line 251, in run DatabaseException: unable to open database file RemoteTraceback (most recent call last): File "site-packages\calibre\library\sqlite.py", line 215, in run OperationalError: unable to open database file |
![]() |
![]() |
Advert | |
|
![]() |
#18 |
Member
![]() Posts: 23
Karma: 10
Join Date: Jan 2011
Device: kindle
|
This is what i got when i used a new folder. The error said
"disk I/O error remote traceback (most recent call last): File "site-packages\calibre\library\sqlite.py", line 215, in run Operational error: disk I/O error Traceback (most recent call last): File "site-packages\calibre\gui2\wizard\__init__.py", line 545, in move_library File "site-packages\calibre\library\database2.py", line 141, in __init__ File "site-packages\calibre\library\database2.py", line 104, in connect File "site-packages\calibre\library\database2.py", line 367, in initialize_database File "site-packages\calibre\library\sqlite.py", line 251, in run DatabaseException: disk I/O error RemoteTraceback (most recent call last): File "site-packages\calibre\library\sqlite.py", line 215, in run OperationalError: disk I/O error |
![]() |
![]() |
![]() |
#19 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,452
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Calibre is telling us that the disc where you are attempting to store the library is badly broken. Are you trying to put the library on a NAS or an external drive? On a drive with no space?
|
![]() |
![]() |
![]() |
#20 |
Member
![]() Posts: 23
Karma: 10
Join Date: Jan 2011
Device: kindle
|
no it's going on my C drive.
|
![]() |
![]() |
Advert | |
|
![]() |
#21 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,452
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
I am at a loss. What is clear is that Windows is refusing to let calibre create a database, saying that the disk cannot be written. My guess is that your C: drive is corrupted, but that is only a guess. It could be permissions or policies, neither of which can be debugged remotely.
At this point I bow out. Perhaps someone else will have better ideas about what to do. |
![]() |
![]() |
![]() |
#22 |
Member
![]() Posts: 23
Karma: 10
Join Date: Jan 2011
Device: kindle
|
thanks so much for all your help. Hopefully someone will have some other ideas
|
![]() |
![]() |
![]() |
#23 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,130
Karma: 91256
Join Date: Feb 2008
Location: Germany
Device: Cybook Gen3
|
You could try and run a disk check.
Also, and this is possibly very stupid, but I just thought of it: You do actually have write privileges in the folder you're creating the empty folder in that your Calibre library should reside in? |
![]() |
![]() |
![]() |
#24 | |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,095
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
Disk I/O error is bad hardware (drive,cable,PSU) or damaged file system ![]() If you have a UBUNTU Live CD handy, boot that and use "disk Utility" to view your drives "S.M.A.R.T. status (the hardware, not the file system) Using the Live CD does not require making any changes to your system (don't click Install, Nor change any drive partition while peeking) |
|
![]() |
![]() |
![]() |
#25 |
Member
![]() Posts: 23
Karma: 10
Join Date: Jan 2011
Device: kindle
|
Yes I do have privileges unless it's not automatic, meaning every time I create a folder do I have to give myself privileges? I'm going to run a disc check now and see what happens.
|
![]() |
![]() |
![]() |
#26 |
Member
![]() Posts: 23
Karma: 10
Join Date: Jan 2011
Device: kindle
|
update...
i did a disc check, deleted all the old files and reinstalled calibre and now everything works fine so it must have been a corrupted file. So far, everything is working without a problem. Thanks for all the help. |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Sigil/DRM Issues After Update? | twedigteam | Sigil | 11 | 11-07-2010 01:47 PM |
Calibre Conversion Errors | mrbillb | Calibre | 16 | 09-10-2010 11:21 PM |
Issues with my PRS-505 and Calibre, Errors communicating | Devz | Calibre | 2 | 04-04-2010 12:58 PM |
Calibre errors on one PC, not another | Katelyn | Calibre | 12 | 07-13-2009 09:09 PM |
Calibre conversion errors? | nick_f | Sony Reader | 2 | 03-03-2009 05:44 AM |