Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Devices

Notices

Reply
 
Thread Tools Search this Thread
Old 09-06-2017, 09:20 AM   #1
rsummerr
Junior Member
rsummerr began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Sep 2017
Device: Nook glowlight
Question Database corrupted message...Can anyone help?

Hello ...Love Calibre but cant open it...

Trying to open.....Calibre, version 3.7.0

I get the following message


Corrupted database: The library database at C:\Users\......\Calibre Library appears to be corrupted. Do you want calibre to try and rebuild it automatically? The rebuild may not be completely successful. If you say No, a new empty calibre library will be created.

Traceback (most recent call last):
File "site-packages\calibre\gui2\main.py", line 303, in initialize_db
File "site-packages\calibre\db\legacy.py", line 81, in __init__
File "site-packages\calibre\db\legacy.py", line 48, in create_backend
File "site-packages\calibre\db\backend.py", line 384, in __init__
File "site-packages\calibre\db\schema_upgrades.py", line 19, in __init__
File "site-packages\calibre\db\backend.py", line 843, in execute
File "c:\t\t\apsw-9hooel\apsw-3.13.0-r1\src\cursor.c", line 236, in resetcursor
ReadOnlyError: ReadOnlyError: attempt to write a readonly database


I am running Windows 10....the folders are always default 'Read Only'...and are not changeable in folder properties - attributes...system permissions means this is not a problem...it 'applies' but does not does not save with 'read only' attribute unchecked...

I have tried option "yes" but that does not succeed
I have tried option 'No" but fails to create a new database ...get message below


calibre, version 3.7.0
ERROR: Bad database location: Bad database location u'C:\\Users\\Robyn\\Desktop\\Kindle Library\\Calibre Library rebuild'. calibre will now quit.

Traceback (most recent call last):
File "site-packages\calibre\gui2\main.py", line 284, in initialize_db_stage2
File "site-packages\calibre\db\legacy.py", line 81, in __init__
File "site-packages\calibre\db\legacy.py", line 48, in create_backend
File "site-packages\calibre\db\backend.py", line 377, in __init__
File "site-packages\calibre\db\backend.py", line 1121, in fget
File "site-packages\calibre\db\backend.py", line 834, in conn
File "site-packages\calibre\db\backend.py", line 266, in __init__
CantOpenError: CantOpenError: unable to open database file


I have uninstalled and reinstalled Calibre software

I have restored the database using the command prompt from Windows powershell (option 'yes") this appeared to be successful... but the database
created does not open.

In Windows 10 I have Restored the database from a back up... known working point pre problem ...no go..same messages


I already have excluded the database and Calibre from Anti-virus
scanning...I am using.Bitdefender total Security 2017

Could anyone please help....

Thank you
loyal Calibre fan Robyn



I did contact the bug guys at Calibre... got the reply below...I think they did not even read my email as I said that I had already tried their suggestions.... and not running dropbox...or new software.....but they did suggest posting here!!

Something on your computer is preventing calibre from opening the database file (the metadata.db file in the calibre library folder). The most common culprits are:

1) Anti-virus programs
2) File permissions
3) Some sync software tlike DropBox that accesses files in the calibre library folder at the same time as calibre.

You will need to figure out what it is on your computer that is blocking calibre. If you need help doing that, you can post in the calibre forums at mobileread.com. Start by disabling your antivirus program.
rsummerr is offline   Reply With Quote
Old 09-06-2017, 12:14 PM   #2
itimpi
Wizard
itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.
 
Posts: 4,553
Karma: 950151
Join Date: Nov 2008
Device: Sony PRS-950, iphone/ipad (Marvin/iBooks/QuickReader)
The error message implies that the permissions are set to read-only. Calibre REQUIRES that the Calibre library folder and all its contents have full access enabled.
itimpi is offline   Reply With Quote
Old 09-10-2017, 11:56 PM   #3
rsummerr
Junior Member
rsummerr began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Sep 2017
Device: Nook glowlight
Talking

Quote:
Originally Posted by itimpi View Post
The error message implies that the permissions are set to read-only. Calibre REQUIRES that the Calibre library folder and all its contents have full access enabled.
Thanks for trying itimpi.....do you have a method on changing this?

as per my post ...

I am running Windows 10....the folders are always default 'Read Only'...and are not changeable in folder properties - attributes...system permissions means this is not a problem...it 'applies' but does not does not save with 'read only' attribute unchecked...

any help appreciated
rsummerr is offline   Reply With Quote
Old 09-11-2017, 05:43 AM   #4
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,660
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
If its a corporate computer you may need to discuss with your iT support personnel

If its your personal computer you'll probably need to be logged on as an administrator to change permissions

BR
BetterRed is offline   Reply With Quote
Old 09-19-2017, 08:42 AM   #5
rsummerr
Junior Member
rsummerr began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Sep 2017
Device: Nook glowlight
Fixed...!!!!

Quote:
Originally Posted by BetterRed View Post
If its a corporate computer you may need to discuss with your iT support personnel

If its your personal computer you'll probably need to be logged on as an administrator to change permissions

BR
Thanks for trying....simpler to just uninstall Calibre 3.7.4 and reinstalled with an earlier version....running Calibre 3.4 and it is all back to normal...my database is not corrupted!! this was a tip from another forum....
thanks for trying though!

Maybe it was a big bug with the updated software after all!!!!
(rolling eyes and sounding a bit sarcastic!!)......
rsummerr is offline   Reply With Quote
Reply

Tags
corrupted, database problems


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Corrupted database Ktz Library Management 3 08-30-2016 09:22 AM
And..... Again my database is corrupted Mondriaan Devices 15 01-16-2016 12:05 AM
Corrupted database Qylie Calibre 8 08-28-2014 02:02 AM
Database Corrupted karimnaguib Calibre 2 05-12-2014 09:19 AM
Corrupted database garyft Calibre 3 05-13-2011 02:10 PM


All times are GMT -4. The time now is 04:27 AM.


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