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.
|