Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 01-17-2011, 06:04 AM   #16
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
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.
chaley is offline   Reply With Quote
Old 01-17-2011, 09:17 AM   #17
mted558
Member
mted558 began at the beginning.
 
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
mted558 is offline   Reply With Quote
Advert
Old 01-17-2011, 09:23 AM   #18
mted558
Member
mted558 began at the beginning.
 
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
mted558 is offline   Reply With Quote
Old 01-17-2011, 09:35 AM   #19
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
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?
chaley is offline   Reply With Quote
Old 01-17-2011, 09:57 AM   #20
mted558
Member
mted558 began at the beginning.
 
Posts: 23
Karma: 10
Join Date: Jan 2011
Device: kindle
no it's going on my C drive.
mted558 is offline   Reply With Quote
Advert
Old 01-17-2011, 10:05 AM   #21
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
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.
chaley is offline   Reply With Quote
Old 01-17-2011, 10:09 AM   #22
mted558
Member
mted558 began at the beginning.
 
Posts: 23
Karma: 10
Join Date: Jan 2011
Device: kindle
thanks so much for all your help. Hopefully someone will have some other ideas
mted558 is offline   Reply With Quote
Old 01-17-2011, 11:21 AM   #23
Manichean
Wizard
Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.
 
Manichean's Avatar
 
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?
Manichean is offline   Reply With Quote
Old 01-17-2011, 11:42 AM   #24
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
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:
Originally Posted by Manichean View Post
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?
I agree.
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)
theducks is offline   Reply With Quote
Old 01-17-2011, 01:50 PM   #25
mted558
Member
mted558 began at the beginning.
 
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.
mted558 is offline   Reply With Quote
Old 01-20-2011, 03:42 PM   #26
mted558
Member
mted558 began at the beginning.
 
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.
mted558 is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
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


All times are GMT -4. The time now is 12:28 AM.


MobileRead.com is a privately owned, operated and funded community.