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 03-16-2014, 09:54 PM   #1
oldronin
Junior Member
oldronin began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Mar 2014
Location: WA
Device: Kindle Paperwhite
Library Deletion with Calibre Error

Hey folks,

I should start by saying that I love Calibre. I've been using it for quite a while and it works fantastically well. I hit a horrible snag recently and it's most likely my fault, but I wanted to be sure.

My library is more than 23GB is size and I've been hosting the client on a Win 7 machine. I had a Windows Home Server hosting the calibre library with no problems (beyond slow processing). I moved my library to a Synology DS412+ last June and everything has been working fine. I'm just pointing the client to a library folder on the Synology drive.

As I said, it's all been working fine. However, twice in the past two weeks my entire library has been wiped out. I get the error below, have to close the client and when it's restarted the library is gone. When I look at the folder on the Synology server, the recycle folder doesn't have the the library files, just metadata files. Attempts at a library recovery are unsuccessful.

Since this happened again today, I did a search and found there are some known issues with Synology, although it was hard to understand if it was just with running the client from Synology and/or the library.

My questions:
1. It seems really odd, but should I just write off the successful run of hosting Synology as my library for the past eight months as dumb luck?

2. I update my Calibre client every week. Is it possible something changed in the recent updates to contribute to this problem?

3. I use the Synology as a library host due to the size of my library. Is that possible or does anyone know if it will be possible in a future update? Alternatively, can I host it on a USB drive to offset the space requirement from my main machine?


Calibre Error Output -----------------------------------------
calibre, version 1.28.0
ERROR: Unhandled exception: <b>CantOpenError</b>:CantOpenError: unable to open database file

calibre 1.28 [64bit] isfrozen: True is64bit: True
Windows-7-6.1.7601-SP1 Windows ('64bit', 'WindowsPE')
('Windows', '7', '6.1.7601')
Python 2.7.5
Windows: ('7', '6.1.7601', 'SP1', 'Multiprocessor Free')
Traceback (most recent call last):
File "site-packages\calibre\gui2\ui.py", line 905, in closeEvent
File "site-packages\calibre\gui2\ui.py", line 804, in write_settings
File "site-packages\calibre\gui2\init.py", line 497, in save_layout_state
File "site-packages\calibre\gui2\library\views.py", line 498, in save_state
File "site-packages\calibre\gui2\library\views.py", line 492, in write_state
File "site-packages\calibre\db\backend.py", line 115, in set
File "site-packages\calibre\db\backend.py", line 111, in __setitem__
File "site-packages\calibre\db\backend.py", line 791, in execute
File "c:\cygwin\home\kovid\sw\build\apsw-3.7.14.1-r1\src\cursor.c", line 231, in resetcursor
CantOpenError: CantOpenError: unable to open database file


Thanks in advance for any responses or help on this item.
oldronin is offline   Reply With Quote
Old 03-16-2014, 11:01 PM   #2
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: 20,675
Karma: 26966376
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by oldronin View Post
My questions:
1. It seems really odd, but should I just write off the successful run of hosting Synology as my library for the past eight months as dumb luck?
See ==>> http://manual.calibre-ebook.com/faq....rked-drive-nas

Essentially calibre is a single user system. Whilst it might work some of the time on a Server or NAS, there's no guarantee it will work all of the time or into the future. Some people get away with doing it, some don't.

Quote:
Originally Posted by oldronin View Post
2. I update my Calibre client every week. Is it possible something changed in the recent updates to contribute to this problem?
Possibly, although i doubt it. But as you've been getting away with running calibre in an unsupported environment then... you know the rest.

Quote:
Originally Posted by oldronin View Post
3. I use the Synology as a library host due to the size of my library. Is that possible or does anyone know if it will be possible in a future update?
Yes probably, but when isn't certain. Calibre is not developed to a calendar bound delivery schedule like commercial software. I imagine there'll be a beta release for the version that supports server hosted libraries.

Quote:
Originally Posted by oldronin View Post
Alternatively, can I host it on a USB drive to offset the space requirement from my main machine?
Absolutely you can. And if its thumb or 2.5" drive you might want to put calibre portable onto it so you can carry the the whole kit and caboodle around in your pocket/purse. I'd say this your best choice, especially if you can use a USB3.0 drive.

BR
BetterRed is online now   Reply With Quote
Advert
Old 03-16-2014, 11:01 PM   #3
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 44,015
Karma: 22669822
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Do not put your calibre library on a network drive: http://manual.calibre-ebook.com/faq....rked-drive-nas
kovidgoyal is offline   Reply With Quote
Old 03-16-2014, 11:31 PM   #4
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 9,865
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Nexus 7
Quote:
Originally Posted by oldronin View Post
As I said, it's all been working fine. However, twice in the past two weeks my entire library has been wiped out. I get the error below, have to close the client and when it's restarted the library is gone. When I look at the folder on the Synology server, the recycle folder doesn't have the the library files, just metadata files. Attempts at a library recovery are unsuccessful.
Just a FYI. Your "entire library" wasn't wiped out only the metadata.db file (was corrupted) which holds all of the info you see in the GUI about the library.

As others have pointed out it might be best to run calibre locally and sync it to your NAS.
DoctorOhh is offline   Reply With Quote
Old 03-16-2014, 11:59 PM   #5
oldronin
Junior Member
oldronin began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Mar 2014
Location: WA
Device: Kindle Paperwhite
Thanks for all of the quick replies! I'll give an attached USB drive a chance to see if that works. If not, I'll do it locally and just use the Synology as a backup copy.
oldronin is offline   Reply With Quote
Advert
Old 03-17-2014, 12:15 AM   #6
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: 29,969
Karma: 55705602
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 oldronin View Post
Thanks for all of the quick replies! I'll give an attached USB drive a chance to see if that works. If not, I'll do it locally and just use the Synology as a backup copy.
USB connected Hard Drives work quite well.
IMHO go for a Drive enclosure that has external power rather than powered from the USB port, Then you can install a higher performance drive. Many retail USB drives are fine for backups where speed is not normally an issue. OTOH putting a 10K RPM drive on a USB2 connection is overkill
theducks is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Error causing book deletion? wygit Conversion 3 06-05-2012 08:11 PM
Deletion from conversion list without deletion from directory. JayScore Calibre 4 06-28-2011 12:23 PM
Moving my library: calibre error dotancohen Library Management 4 02-10-2011 08:49 AM
library move error after first install of Calibre pes82 Calibre 6 12-02-2010 04:12 AM
Calibre - Invalid Library Error junkyardwillie Calibre 2 09-18-2010 12:02 AM


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


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