View Single Post
Old 01-02-2010, 02:31 PM   #44
peterloron
Member
peterloron began at the beginning.
 
Posts: 14
Karma: 10
Join Date: Dec 2009
Location: WA
Device: iPhone Stanza
When I try to run the tool, I get the following output. Any suggestions? Thanks!

Code:
peterl@myth:~/calibre2opds$ bin/calibre2opds /library/books/metadata.db 
calibre2opds v1.0.1

Please join us on MobileRead to discuss this tool !
(https://www.mobileread.com/forums/showthread.php?t=64095)

Based on Calibre2Web, a Visual Basic script written by itimpi for MobileRead users
(https://www.mobileread.com/forums/showthread.php?t=33388)
Thanks to him for the idea and the work he spared me !
Also, thanks go to Kovid Goyal for the excellent Calibre
(http://calibre-ebook.com/)
and to the Lexcycle people for Stanza
(http://www.lexcycle.com/)

01:26:15,169 INFO  [Catalog] database folder            : /library/books/metadata.db
01:26:15,170 INFO  [Catalog] catalog folder             : _catalog
01:26:15,171 INFO  [Catalog] catalog title              : Calibre library
01:26:15,178 INFO  [Catalog] elements before pagination : 25
01:26:15,179 INFO  [Catalog] elements before split      : 75
01:26:15,179 INFO  [Catalog] books in recent additions  : 100
01:26:15,179 INFO  [Catalog] wikipedia language         : en
01:26:15,179 INFO  [Catalog] included formats           : ALL
01:26:15,181 INFO  [Catalog] save bandwith              : yes
01:26:15,182 INFO  [Catalog] thumbnail height           : 90
01:26:15,182 INFO  [Catalog] generate HTML catalogs     : yes
01:26:15,182 INFO  [Catalog] generate HTML downloads    : yes
01:26:15,182 INFO  [Catalog] generate OPDS downloads    : yes
01:26:15,182 INFO  [Catalog] split tags using           : no split
01:26:15,182 INFO  [Catalog] mix books and containers   : yes
01:26:15,183 INFO  [Catalog] use author sort field      : no
01:26:15,183 INFO  [Catalog] loading and filtering database
01:26:15,408 ERROR [DatabaseRequest] java.sql.SQLException: no such table: books
Exception in thread "main" java.lang.NullPointerException
	at com.gmail.dpierron.calibre.database.Database.listBooks(Database.java:50)
	at com.gmail.dpierron.calibre.datamodel.DataModel.getListOfBooks(DataModel.java:78)
	at com.gmail.dpierron.calibre.opds.RemoveEmptyAndNotInIncludedFormats.runOnDataModel(RemoveEmptyAndNotInIncludedFormats.java:42)
	at com.gmail.dpierron.calibre.opds.Catalog.createMainCatalog(Catalog.java:1237)
	at Main.run(Main.java:26)
	at Main.main(Main.java:286)
peterloron is offline   Reply With Quote