Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 03-14-2009, 06:35 PM   #1
angevin
Et In Arcadia Ego
angevin began at the beginning.
 
angevin's Avatar
 
Posts: 18
Karma: 10
Join Date: Dec 2007
Location: NewYork
Device: Sony prs-505
Calibre 0.51 won't load books or download news

I get this error when I try to download and store news from websites on my prs-505 reader (I compiled calibre from source on a slackware clone for 64 bit processors i.e bluewhite64 12.2 :


Quote:
unable to open database file RemoteTraceback (most recent call last): File "build/bdist.linux-x86_64/egg/calibre/library/sqlite.py", line 119, in run OperationalError: unable to open database file
Detailed traceback:
Traceback (most recent call last):
File "build/bdist.linux-x86_64/egg/calibre/gui2/__init__.py", line 153, in dispatch
File "build/bdist.linux-x86_64/egg/calibre/gui2/main.py", line 1039, in scheduled_recipe_fetched
File "build/bdist.linux-x86_64/egg/calibre/gui2/library.py", line 195, in add_news
File "build/bdist.linux-x86_64/egg/calibre/library/database2.py", line 1137, in add_news
File "build/bdist.linux-x86_64/egg/calibre/library/sqlite.py", line 146, in run
DatabaseException: unable to open database file
RemoteTraceback (most recent call last):
File "build/bdist.linux-x86_64/egg/calibre/library/sqlite.py", line 119, in run
OperationalError: unable to open database file

I get this error when I try to load books into the library :

Quote:
unable to open database file RemoteTraceback (most recent call last): File "build/bdist.linux-x86_64/egg/calibre/library/sqlite.py", line 119, in run OperationalError: unable to open database file
Detailed traceback:
Traceback (most recent call last):
File "build/bdist.linux-x86_64/egg/calibre/gui2/add.py", line 62, in metadata_delivered
File "build/bdist.linux-x86_64/egg/calibre/library/database2.py", line 1189, in add_books
File "build/bdist.linux-x86_64/egg/calibre/library/sqlite.py", line 146, in run
DatabaseException: unable to open database file
RemoteTraceback (most recent call last):
File "build/bdist.linux-x86_64/egg/calibre/library/sqlite.py", line 119, in run
OperationalError: unable to open database file
angevin is offline   Reply With Quote
Old 03-14-2009, 06:50 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: 25,617
Karma: 4998447
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Where is your calibre library located?
kovidgoyal is offline   Reply With Quote
Old 03-14-2009, 07:42 PM   #3
angevin
Et In Arcadia Ego
angevin began at the beginning.
 
angevin's Avatar
 
Posts: 18
Karma: 10
Join Date: Dec 2007
Location: NewYork
Device: Sony prs-505
Quote:
Originally Posted by kovidgoyal View Post
Where is your calibre library located?
Kovid if I get 0.5.1 working I'll make a donation to the calibre project. I think my calibre library is located at this location :

/usr/lib/python2.5/site-packages/calibre-0.5.1-py2.5-linux-x86_64.egg/calibre/library

I think it compiled here originally :

/usr/local/src/calibre-0.5.1/build/lib.linux-x86_64-2.5

Last edited by angevin; 03-14-2009 at 08:03 PM.
angevin is offline   Reply With Quote
Old 03-14-2009, 07:43 PM   #4
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: 25,617
Karma: 4998447
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
mkdir ~/library
calibre --with-library ~/library
kovidgoyal is offline   Reply With Quote
Old 03-14-2009, 08:35 PM   #5
angevin
Et In Arcadia Ego
angevin began at the beginning.
 
angevin's Avatar
 
Posts: 18
Karma: 10
Join Date: Dec 2007
Location: NewYork
Device: Sony prs-505
Wink

Quote:
Originally Posted by kovidgoyal View Post
mkdir ~/library
calibre --with-library ~/library
Thanks a lot Kovid that seems to have worked. I tested both a news downloading recipe and uploaded four books to my device and it all worked just fine. I am going to now make a donation

Last edited by angevin; 03-14-2009 at 08:42 PM.
angevin is offline   Reply With Quote
Old 03-14-2009, 08:46 PM   #6
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: 25,617
Karma: 4998447
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
glad it worked and thanks for the donation
kovidgoyal is offline   Reply With Quote
Reply

Tags
calibre, errors, linux

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Frequent News Download when calibre is not running Moik Calibre 4 10-14-2010 12:16 PM
Scheduled news download to specific Calibre library? Nadrek Calibre 10 10-13-2010 12:34 PM
Stanza Crashes when trying to Download multiple books using Calibre tochill Calibre 7 08-20-2009 06:20 PM
Calibre crashing when I load my books to the SD card Timber Calibre 3 07-03-2009 02:37 PM
Any reason to load books using Calibre instead of copying to filesystem? radius Calibre 4 08-07-2008 03:05 AM


All times are GMT -4. The time now is 07:18 AM.


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