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 01-13-2015, 09:58 PM   #1
ngux
Junior Member
ngux began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Jan 2015
Device: Kindle, iPad, Android
[Solved] Calibre issue with Ubuntu 14.04

after loading a bunch of books i got Calibre issue
This is the message I get :
Code:
calibre, version 2.16.0

Traceback (most recent call last):
  File "site-packages/calibre/gui2/main.py", line 245, in initialize_db_stage2
  File "site-packages/calibre/gui2/main.py", line 182, in start_gui
  File "site-packages/calibre/gui2/ui.py", line 361, in initialize
  File "site-packages/calibre/gui2/tag_browser/ui.py", line 33, in init_tag_browser_mixin
  File "site-packages/calibre/gui2/tag_browser/view.py", line 181, in set_database
  File "site-packages/calibre/gui2/tag_browser/model.py", line 282, in set_database
  File "site-packages/calibre/db/backend.py", line 116, in set
  File "site-packages/calibre/db/backend.py", line 112, in __setitem__
  File "site-packages/calibre/db/backend.py", line 793, in execute
  File "src/cursor.c", line 231, in resetcursor
CantOpenError: CantOpenError: unable to open database file
someone would know how to fix this ? Thanx

Last edited by ngux; 01-14-2015 at 08:09 AM.
ngux is offline   Reply With Quote
Old 01-13-2015, 10:09 PM   #2
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: 45,170
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
That's an error trying to open the database file. Make sure your calibre library is on a proper native filesystem, not a networked filesystem, not a folder shared by some file syncing program, not a filesystem that has buggy linux drivers, not a disk that is failing, etc.
kovidgoyal is offline   Reply With Quote
Old 01-14-2015, 08:08 AM   #3
ngux
Junior Member
ngux began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Jan 2015
Device: Kindle, iPad, Android
Thanx Kovidgoyal for putting me on the right track.
I solved the problem deleting the file : metadata_db_prefs_backup.json in my Calibre Library folder.
ngux is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Ubuntu 12.04 launching issue weidbrewer Devices 8 11-05-2013 08:38 PM
calibre 0.8.51 for ubuntu 10.04 anishtain4 Calibre 26 05-28-2012 08:43 AM
Calibre 0.8.8 in Ubuntu? anfisco Calibre 12 11-29-2011 06:19 AM
Updating Issue on Ubuntu FrankNBeans Calibre 6 06-06-2009 03:14 PM
Calibre under Ubuntu 9.04 ebeckhusen Calibre 4 04-10-2009 04:22 PM


All times are GMT -4. The time now is 08:55 PM.


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