Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 03-04-2010, 12:45 PM   #1
spullar
Junior Member
spullar began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Mar 2010
Device: nook
Calibredb add after ebook-convert fails

I am converting a recipe to epub using ebook-convert. When it is finished I am trying to add the epub to the database but I keep getting errors


Code:
Output saved to   /home/scott/calibre/star.epub
scott@ubuntu:~/calibre$ calibredb add -d star.epub
Traceback (most recent call last):
  File "/tmp/init.py", line 48, in <module>
  File "/home/kovid/build/calibre/src/calibre/library/cli.py", line 729, in main
  File "/home/kovid/build/calibre/src/calibre/library/cli.py", line 364, in command_add
  File "/home/kovid/build/calibre/src/calibre/library/cli.py", line 129, in get_db
  File "/home/kovid/build/calibre/src/calibre/startup.py", line 81, in my_abspath
  File "/usr/lib/python2.6/posixpath.py", line 337, in abspath
    if not isabs(path):
  File "/usr/lib/python2.6/posixpath.py", line 52, in isabs
    return s.startswith('/')
AttributeError: 'NoneType' object has no attribute 'startswith'
spullar is offline   Reply With Quote
Old 03-04-2010, 12:49 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: 43,858
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Use calibredb --library-path
kovidgoyal is offline   Reply With Quote
Advert
Old 03-04-2010, 12:57 PM   #3
spullar
Junior Member
spullar began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Mar 2010
Device: nook
is there a config file that can be edited so that the path doesn't need to be entered in every time? Also the --library-path option is not listed in the --help.
spullar is offline   Reply With Quote
Old 03-04-2010, 01:04 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: 43,858
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Run the GUI once and the library path will be set.
kovidgoyal is offline   Reply With Quote
Old 03-04-2010, 01:09 PM   #5
spullar
Junior Member
spullar began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Mar 2010
Device: nook
the computer I am running on doesn't have the X server running on it. everything I do is through SSH or web interface
spullar is offline   Reply With Quote
Advert
Old 03-04-2010, 01:14 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: 43,858
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
well run the gui on a another computer and copy over the config files. You can see them via preferences->advanced
kovidgoyal is offline   Reply With Quote
Reply

Tags
calibredb, command line


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Defining Metadata with "calibredb add" command line function. macr0t0r Calibre 3 03-01-2012 07:36 PM
Can't convert MOBI to EPUB.. conversion FAILS wallace.webmail Calibre 5 07-16-2010 12:45 AM
Mobi (no DRM) fails to convert to epub richmgray Calibre 1 04-11-2010 07:11 PM
Attempt to add 1187 ebooks in one folder fails silently earthq Calibre 1 06-12-2009 12:20 AM
ConvertLit fails to convert pclady LRF 8 02-28-2009 03:39 PM


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


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