![]() |
#1 |
Junior Member
![]() 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' |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 44,296
Karma: 23661992
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Use calibredb --library-path
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Junior Member
![]() 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.
|
![]() |
![]() |
![]() |
#4 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 44,296
Karma: 23661992
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Run the GUI once and the library path will be set.
|
![]() |
![]() |
![]() |
#5 |
Junior Member
![]() 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
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 44,296
Karma: 23661992
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
|
![]() |
![]() |
![]() |
Tags |
calibredb, command line |
|
![]() |
||||
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 |